diff --git a/.browserslistrc b/.browserslistrc new file mode 100644 index 0000000..f42fae3 --- /dev/null +++ b/.browserslistrc @@ -0,0 +1,5 @@ +# Browsers that we support + +last 3 version +> 0.3% +not dead # no browsers without security updates diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..fac5ce7 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +.git +*.md diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..2e1b261 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,21 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_size = 4 +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true + +[*.md] +trim_trailing_whitespace = false + +[*.{yml,yaml}] +indent_size = 2 + +[docker-compose.yml] +indent_size = 4 + +[*.vue] +indent_size = 2 diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..5ca6394 --- /dev/null +++ b/.env.example @@ -0,0 +1,66 @@ +APP_NAME=Laravel +APP_ENV=local +APP_KEY= +APP_DEBUG=true +APP_URL=http://localhost + +LOG_CHANNEL=stack +LOG_DEPRECATIONS_CHANNEL=null +LOG_LEVEL=debug + +DB_CONNECTION=mysql +DB_HOST=127.0.0.1 +DB_PORT=3306 +DB_DATABASE=laravel +DB_USERNAME=root +DB_PASSWORD= + +BROADCAST_DRIVER=log +CACHE_DRIVER=file +FILESYSTEM_DISK=local +QUEUE_CONNECTION=sync +SESSION_DRIVER=file +SESSION_LIFETIME=120 + +MAIL_MAILER=smtp +MAIL_HOST=mailpit +MAIL_PORT=1025 +MAIL_USERNAME=null +MAIL_PASSWORD=null +MAIL_ENCRYPTION=null +MAIL_FROM_ADDRESS="hello@example.com" +MAIL_FROM_NAME="${APP_NAME}" + +#CRM +CRM_ENDPOINT= +CRM_TOKEN= +CRM_PASSWORD= + +#MESBR +MESBR_REF_SITE= +MESBR_REF_CAMP= +MESBR_ENDPOINT= + +# SENTRY +SENTRY_LARAVEL_DSN= + +# CONTACT MAILS +MAIL_CONTACT_RECLAIM= +MAIL_CONTACT_INFO= +MAIL_CONTACT_ASSOCIATIVE= +MAIL_CONTACT_PARTNERSHIP= +MAIL_CONTACT_COMMERCIAL= +MAIL_CONTACT_VARIOUS= + +# MATOMO +MATOMO_SITE_ID= + +# GOOGLE +# - RECAPTCHA +GOOGLE_RECAPTCHA_PUBLIC= +GOOGLE_RECAPTCHA_PRIVATE= +GOOGLE_RECAPTCHA_VERSION= + +# ADMIN SECURE +# - API KEY +LDC_WEB_API_KEY="" diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..42a2da7 --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,62 @@ +{ + "env": { + "browser": true, + "es2021": true + }, + "extends": [ + "eslint:recommended", + "plugin:vue/vue3-strongly-recommended", + "@vue/eslint-config-typescript" + ], + "overrides": [ + { + "files": ["*.ts", "*.vue"], + "rules": { + "no-undef": "off" + } + }, + { + "files": ["*.vue"], + "rules": { + "indent": "off" + } + } + ], + "parser": "vue-eslint-parser", + "parserOptions": { + "parser": "@typescript-eslint/parser", + "ecmaVersion": "latest", + "sourceType": "module" + }, + "plugins": ["vue", "@typescript-eslint"], + "ignorePatterns": [ + "webpack.mix.js", + "**/*.php", + "**/*.svg", + "**/vendor/*.js", + "**/vendor/**/*.js", + "**/vendor/**/*.scss" + ], + "rules": { + "indent": ["error", 4, { "SwitchCase": 1 }], + "linebreak-style": ["error", "unix"], + "quotes": ["error", "double"], + "semi": ["error", "always"], + "vue/script-indent": ["error", 2, { "baseIndent": 0, "switchCase": 1 }], + "vue/one-component-per-file": "off" + }, + "settings": { + "import/resolver": { + "node": { + "extensions": [".js", ".vue", ".ts", ".d.ts"] + }, + "alias": { + "extensions": [".vue", ".js", ".ts", ".scss", ".d.ts"], + "map": [ + ["~", "./resources/assets"], + ["@", "./node_modules"] + ] + } + } + } +} diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fcb21d3 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,11 @@ +* text=auto eol=lf + +*.blade.php diff=html +*.css diff=css +*.html diff=html +*.md diff=markdown +*.php diff=php + +/.github export-ignore +CHANGELOG.md export-ignore +.styleci.yml export-ignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e00c845 --- /dev/null +++ b/.gitignore @@ -0,0 +1,38 @@ +.env +.env.backup +.env.production +.phpunit.result.cache +.stylelintcache +/.fleet +/.idea +/.phpunit.cache +/.vscode +/node_modules +/bootstrap +/public/build +/public/cache +/public/hot +/public/sitemap.xml +/public/storage +/storage/*.key +/vendor +auth.json +docker-compose.override.yml +Homestead.json +Homestead.yaml +npm-debug.log +yarn-error.log +.npmrc + +# Ignore public favicon +/public/android-chrome-192x192.png +/public/android-chrome-512x512.png +/public/apple-touch-icon.png +/public/browserconfig.xml +/public/browserconfig.xml +/public/favicon-16x16.png +/public/favicon-32x32.png +/public/favicon.ico +/public/mstile-150x150.png +/public/safari-pinned-tab.svg +/public/site.webmanifest diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..219a6c1 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,24 @@ +include: + - project: 'ldc-web/shared-ci' + ref: 'main' + file: 'lint/lint.yml' + - project: 'ldc-web/shared-ci' + ref: 'main' + file: 'security/security.yml' + - project: 'ldc-web/shared-ci' + ref: 'main' + file: 'build/build.yml' + - project: 'ldc-web/shared-ci' + ref: 'main' + file: 'test/test.yml' + - project: 'ldc-web/shared-ci' + ref: 'main' + file: 'deploy/deploy.yml' + + +stages: + - lint + - security + - build + - test + - deploy diff --git a/.gitlab/issue_templates/bug.md b/.gitlab/issue_templates/bug.md new file mode 100644 index 0000000..242ebe7 --- /dev/null +++ b/.gitlab/issue_templates/bug.md @@ -0,0 +1,11 @@ +## Comportement constaté + + +## Comportement attendu + + +## Solution envisagée + + +## Étapes pour la reproduction du bug +* \ No newline at end of file diff --git a/.gitlab/issue_templates/feature.md b/.gitlab/issue_templates/feature.md new file mode 100644 index 0000000..6074090 --- /dev/null +++ b/.gitlab/issue_templates/feature.md @@ -0,0 +1,7 @@ +## Présentation du besoin + + +## Implémentation + + +## Maquettes, documentations... \ No newline at end of file diff --git a/.stylelintrc.json b/.stylelintrc.json new file mode 100644 index 0000000..dc30b0b --- /dev/null +++ b/.stylelintrc.json @@ -0,0 +1,45 @@ +{ + "extends": [ + "stylelint-config-standard-scss", + "stylelint-config-sass-guidelines", + "stylelint-config-idiomatic-order" + ], + "plugins": [ + "stylelint-scss" + ], + "files": [ + "**/*.css", + "**/*.scss" + ], + "ignoreFiles": [ + "**/vendor/*.css", + "**/vendor/**/*.css", + "**/vendor/*.scss", + "**/vendor/**/*.scss", + "**/vendor/*.sass", + "**/vendor/**/*.sass", + "**/vendor/*.less", + "**/vendor/**/*.less" + ], + "customSyntax": "postcss-scss", + "rules": { + "declaration-property-value-no-unknown": true, + "selector-max-id": null, + "color-no-invalid-hex": true, + "order/properties-alphabetical-order": null, + "max-nesting-depth": 5, + "selector-max-compound-selectors": 5, + "declaration-colon-newline-after": null, + "value-list-comma-newline-after": null, + "scss/double-slash-comment-empty-line-before": [ + "always", + { + "ignore": [ + "between-comments", + "stylelint-commands", + "inside-block" + ] + } + ] + } +} diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..7e26790 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,20 @@ +{ + "recommendations": [ + "esbenp.prettier-vscode", + "rvest.vs-code-prettier-eslint", + "onecentlin.laravel-extension-pack", + "johnpapa.vscode-peacock", + "xdebug.php-debug", + "neilbrayfield.php-docblocker", + "bmewburn.vscode-intelephense-client", + "valeryanm.vscode-phpsab", + "syler.sass-indented", + "sibiraj-s.vscode-scss-formatter", + "mrmlnc.vscode-scss", + "stylelint.vscode-stylelint", + "vue.vscode-typescript-vue-plugin", + "wscats.vue", + "vue.volar", + "misterj.vue-volar-extention-pack" + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..b3931ff --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,25 @@ +{ + "workbench.colorCustomizations": { + "activityBar.activeBackground": "#8149de", + "activityBar.background": "#8149de", + "activityBar.foreground": "#e7e7e7", + "activityBar.inactiveForeground": "#e7e7e799", + "activityBarBadge.background": "#e28f5d", + "activityBarBadge.foreground": "#15202b", + "commandCenter.border": "#e7e7e799", + "sash.hoverBorder": "#8149de", + "statusBar.background": "#6526ce", + "statusBar.foreground": "#e7e7e7", + "statusBarItem.hoverBackground": "#8149de", + "statusBarItem.remoteBackground": "#6526ce", + "statusBarItem.remoteForeground": "#e7e7e7", + "titleBar.activeBackground": "#6526ce", + "titleBar.activeForeground": "#e7e7e7", + "titleBar.inactiveBackground": "#6526ce99", + "titleBar.inactiveForeground": "#e7e7e799" + }, + "peacock.remoteColor": "#6526ce", + "intelephense.environment.phpVersion": "8.2.0", + "intelephense.completion.fullyQualifyGlobalConstantsAndFunctions": true, + "intelephense.phpdoc.useFullyQualifiedNames": true +} diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a836b6e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM registry.s-web.fr/ldc-web/projets/ldc-web-images-docker/ldcweb-production-8.2:latest +COPY --chown=www-data:www-data . /app/srcs +USER root +RUN chmod -R 755 /app/srcs/storage +USER www-data \ No newline at end of file diff --git a/app/Auth/CrmUserProvider.php b/app/Auth/CrmUserProvider.php new file mode 100644 index 0000000..9eee664 --- /dev/null +++ b/app/Auth/CrmUserProvider.php @@ -0,0 +1,179 @@ +getCustomer($credentials['email']); + + if (!$crmCustomer) { + // * Customer is not found on CRM. + return null; + } + $model = $this->createLocalCustomer($crmCustomer); + } + + return $model; + } catch (ApiErrorException $e) { + // * Customer is not found. + if ($e->getApiError()->equals(ApiError::modelNotFound())) { + return null; + } + report($e); + Log::error('Unhandled response ' . $e->getApiError()->label); + } catch (CrmException | \Exception $e) { + report($e); + // Une erreur critique est survenue avec la CRM. + return null; + } //end try + Log::error(__CLASS__ . '::retrieveByCredentials reached end of possibilities.'); + return null; + } + + /** + * Validate a user against the given credentials. + * + * @param UserContract $model + * @param array $credentials + * @return boolean + * @throws \RuntimeException If model provided is not a Customer or connection to server fails. + * @throws \LDC\LDCCRM\Exceptions\CrmException On CRM call error. + * @throws \Exception On CRM call error. + */ + public function validateCredentials(UserContract $model, array $credentials) + { + /** @var \Illuminate\Database\Eloquent\Model $model */ + if (\get_class($model) !== $this->usedModel) { + throw new \RuntimeException('Cannot authenticate any thing else than ' . $this->usedModel); + } + + try { + /** @var \LDC\LDCCRM\CrmApiV2 */ + $crm = app('crmAPI'); + + // * If has trait soft delete and customer trashed, then restore customer. + if ( + \in_array(\Illuminate\Database\Eloquent\SoftDeletes::class, \class_uses_recursive($model)) and + $model->trashed() + ) { + $model->restore(); + } + + // * Ne devrait pas survenir, $crm->login throws ApiError::authFailed() + return $crm->login($credentials['email'], $credentials['password']); + } catch (ApiErrorException $e) { + if (!$model->hashcode or !CrmCustomer::find($model->hashcode)) { + $model->forceDelete(); + return false; + } + if ($e->getApiError()->equals(ApiError::authFailed())) { + return false; + } + // ! Assert Authenticable model must be valided (MustValidate trait). + if ($e->getApiError()->equals(ApiError::customerNotActivated())) { + Session::flash('warning', \trans('Vous devez activer votre compte')); + return true; + } + } catch (CrmException | \Exception $e) { + report($e); + if (config('app.debug')) { + throw $e; + } + return false; + } //end try + + Log::error(__CLASS__ . '::validateCredentials reached end of possibilities.'); + return null; + } + + /** + * Create a local customer + * + * @param \LDC\LDCCRM\Models\Customer $crmCustomer + * @return \Illuminate\Database\Eloquent\Model + * @throws \Throwable If saving to DB failed. + */ + private function createLocalCustomer(\LDC\LDCCRM\Models\Customer $crmCustomer): Model + { + /** @var \Illuminate\Database\Eloquent\Model $model */ + $model = $this->usedModel::firstOrNew([ + 'email' => $crmCustomer->email + ]); + $model->hashcode = $crmCustomer->hashcode; + $model->email_verified_at = $crmCustomer->status ? now() : null; + $model->saveOrFail(); + + return $model; + } + + /** + * Retrieve a trashed customer by the given credentials. + * + * @param array $credentials + * @return \Illuminate\Contracts\Auth\Authenticatable|null + * @throws \ErrorException If cannot connect to LDAP. + */ + private function retrieveTrashed(array $credentials): ?Authenticatable + { + // * Make changes + if (empty($credentials)) { + return null; + } + + // First we will add each credential element to the query as a where clause. + // Then we can execute the query and, if we found a customer, return it in a + // Eloquent User "model" that will be utilized by the Guard instances. + $query = $this->createModel()->newQuery(); + + foreach ($credentials as $key => $value) { + if (!Str::contains($key, 'password')) { + $query->where($key, $value); + } + } + + /** @var \App\Models\Customer|null $customer */ + return $query->withTrashed()->first(); + } +} diff --git a/app/Auth/ReactivateCustomerProvider.php b/app/Auth/ReactivateCustomerProvider.php new file mode 100644 index 0000000..4bfa1df --- /dev/null +++ b/app/Auth/ReactivateCustomerProvider.php @@ -0,0 +1,71 @@ +createModel()->newQuery(); + + foreach ($credentials as $key => $value) { + if (!Str::contains($key, 'password')) { + $query->where($key, $value); + } + } + + /** @var \App\Models\Customer|null $customer */ + return $query->withTrashed()->first(); + } + + /** + * Validate a customer against the given credentials. + * + * @param \Illuminate\Contracts\Auth\Authenticatable $customer + * @param array $credentials + * @return boolean + * @throws \ErrorException If model provided is not a Customer or connection to server fails. + */ + public function validateCredentials(Authenticatable $customer, array $credentials) + { + /** @var \App\Models\Customer $customer */ + if ($customer instanceof Customer) { + throw new \ErrorException('Cannot authenticate any thing else than ' . Customer::class); + } + + $plain = $credentials['password']; + + /** @var \App\Models\Customer $customer */ + if ($this->hasher->check($plain, $customer->getAuthPassword())) { + // * Restore customer + return boolval($customer->restore()); + } + + return false; + } +} diff --git a/app/Console/Commands/TestMail.php b/app/Console/Commands/TestMail.php new file mode 100644 index 0000000..176f35a --- /dev/null +++ b/app/Console/Commands/TestMail.php @@ -0,0 +1,35 @@ +to('equipe.web@ldc.fr')->subject('Test Email'); + }); + } +} diff --git a/app/Console/Commands/UpdateGamesStatus.php b/app/Console/Commands/UpdateGamesStatus.php new file mode 100644 index 0000000..b3c6d7d --- /dev/null +++ b/app/Console/Commands/UpdateGamesStatus.php @@ -0,0 +1,33 @@ +first_name = null; + $this->addFirstName(); + + $this->last_name = null; + $this->addLastName(); + + $this->email = null; + $this->addEmail(); + + $this->password = null; + $this->addPassword(); + + $this->role = null; + $this->addRole(); + + $user = new User([ + 'first_name' => $this->first_name, + 'last_name' => $this->last_name, + 'email' => $this->email, + 'password' => $this->password, + 'role' => $this->role, + 'published' => true, + 'published_at' => Carbon::now(), + ]); + $user->saveOrFail(); + + $this->info('User created 👌'); + + return 0; + } + + /** + * Add a first name to the user. + * + * @return void + */ + private function addFirstName(): void + { + while (is_null($this->first_name)) { + try { + $tmp = $this->ask('Type the wanted user first name', 'Admin'); + $validator = Validator::make(['first_name' => $tmp], [ + 'first_name' => 'required|min:3|max:255' + ]); + $validator->validate(); + $this->first_name = $tmp; + } catch (ValidationException $e) { + $this->error(sprintf( + 'Please provide a valid first name %s', + \implode(',', collect($e->errors())->flatten()->all()) + )); + continue; + } //end try + }; //end while + } + + /** + * Add a last name to the user. + * + * @return void + */ + private function addLastName(): void + { + while (is_null($this->last_name)) { + try { + $tmp = $this->ask('Type the wanted user last name', 'Saïtama'); + $validator = Validator::make(['last_name' => $tmp], [ + 'last_name' => 'required|min:3|max:255' + ]); + $validator->validate(); + $this->last_name = $tmp; + } catch (ValidationException $e) { + $this->error(sprintf( + 'Please provide a valid last_name %s', + \implode(',', collect($e->errors())->flatten()->all()) + )); + continue; + } //end try + }; //end while + } + + /** + * Add an email to the user. + * + * @return void + */ + private function addEmail(): void + { + while (is_null($this->email)) { + try { + $tmp = $this->ask('Type the wanted user email', 'equipe.web@ldc.fr'); + $validator = Validator::make(['email' => $tmp], [ + 'email' => 'required|unique:users,email|email:rfc,dns' + ]); + $validator->validate(); + $this->email = $tmp; + } catch (ValidationException $e) { + $this->error(sprintf( + 'Please provide a valid email %s', + \implode(',', collect($e->errors())->flatten()->all()) + )); + continue; + } //end try + }; //end while + } + + /** + * Add a password to the user. + * + * @return void + */ + private function addPassword(): void + { + while ( + ($this->password = $this->secret( + (!\is_null($this->password) ? 'Failed to confirm, ' : '') . 'Type the wanted user password' + )) !== $this->secret('Confirm the password') + ) { + continue; + }; //end while + } + + /** + * Add a role to the user. + * + * @return void + */ + private function addRole(): void + { + while (is_null($this->role)) { + try { + $tmp = $this->choice( + 'Select his role', + [RoleEnum::conceptor->label(), RoleEnum::admin->label(), RoleEnum::visitor->label()], + RoleEnum::visitor->label(), + $maxAttempts = null, + $allowMultipleSelections = false + ); + if ($tmp === RoleEnum::conceptor->label()) { + $tmp = RoleEnum::conceptor; + } + if ($tmp === RoleEnum::admin->label()) { + $tmp = RoleEnum::admin; + } + if ($tmp === RoleEnum::visitor->label()) { + $tmp = RoleEnum::visitor; + } + $validator = Validator::make(['role' => $tmp], [ + 'role' => 'required' + ]); + $validator->validate(); + $this->role = $tmp; + } catch (ValidationException $e) { + $this->error(sprintf( + 'Please choose from the selection', + \implode(',', collect($e->errors())->flatten()->all()) + )); + continue; + } //end try + }; //end while + } +} diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php new file mode 100644 index 0000000..2ea3f4d --- /dev/null +++ b/app/Console/Kernel.php @@ -0,0 +1,35 @@ +job(NewsStatusUpdate::class)->everyMinute(); + $schedule->job(GamesStatusUpdate::class)->everyMinute(); + } + + /** + * Register the commands for the application. + * + * @return void + */ + protected function commands() + { + $this->load(__DIR__ . '/Commands'); + + require base_path('routes/console.php'); + } +} diff --git a/app/Enums/ActivityLogs/ActivityLogsEventEnum.php b/app/Enums/ActivityLogs/ActivityLogsEventEnum.php new file mode 100644 index 0000000..ebb098c --- /dev/null +++ b/app/Enums/ActivityLogs/ActivityLogsEventEnum.php @@ -0,0 +1,46 @@ +name => 'Création', + self::updated->name => 'Mise à jour', + self::duplicated->name => 'Duplication', + self::deleted->name => 'Suppression', + ]; + + + /** + * Custom added classes definition + */ + private const BOOTSTRAPCLASS = [ + self::created->name => 'success', + self::updated->name => 'warning', + self::duplicated->name => 'secondary', + self::deleted->name => 'danger', + ]; + + /** + * Get Class + * + * @return string + */ + public function bootstrapClass(): string + { + return self::BOOTSTRAPCLASS[$this->name]; + } +} diff --git a/app/Enums/Contact/ObjectEnum.php b/app/Enums/Contact/ObjectEnum.php new file mode 100644 index 0000000..d2297eb --- /dev/null +++ b/app/Enums/Contact/ObjectEnum.php @@ -0,0 +1,29 @@ +name => 'Réclamation', + self::info->name => 'Informations produits / emballage', + self::associativeRequest->name => 'Demandes associatives', + self::parternershipRequest->name => 'Demandes de partenariat', + self::commercialRequest->name => 'Demandes commerciales', + self::variousRequest->name => 'Demandes diverses' + ]; +} diff --git a/app/Enums/Country.php b/app/Enums/Country.php new file mode 100644 index 0000000..7d0c40b --- /dev/null +++ b/app/Enums/Country.php @@ -0,0 +1,623 @@ +name => 'Afghanistan', + self::alandIslands->name => 'Åland Islands', + self::albania->name => 'Albania', + self::algeria->name => 'Algeria', + self::americanSamoa->name => 'American Samoa', + self::andorra->name => 'Andorra', + self::angola->name => 'Angola', + self::anguilla->name => 'Anguilla', + self::antarctica->name => 'Antarctica', + self::antiguaAndBarbuda->name => 'Antigua and Barbuda', + self::argentina->name => 'Argentina', + self::armenia->name => 'Armenia', + self::aruba->name => 'Aruba', + self::australia->name => 'Australia', + self::austria->name => 'Austria', + self::azerbaijan->name => 'Azerbaijan', + self::bahrain->name => 'Bahrain', + self::bahamas->name => 'Bahamas', + self::bangladesh->name => 'Bangladesh', + self::barbados->name => 'Barbados', + self::belarus->name => 'Belarus', + self::belgium->name => 'Belgium', + self::belize->name => 'Belize', + self::benin->name => 'Benin', + self::bermuda->name => 'Bermuda', + self::bhutan->name => 'Bhutan', + self::boliviaPlurinationalStateOf->name => 'Bolivia, Plurinational State of', + self::bonaireSintEustatiusAndSaba->name => 'Bonaire, Sint Eustatius and Saba', + self::bosniaAndHerzegovina->name => 'Bosnia and Herzegovina', + self::botswana->name => 'Botswana', + self::bouvetIsland->name => 'Bouvet Island', + self::brazil->name => 'Brazil', + self::britishIndianOceanTerritory->name => 'British Indian Ocean Territory', + self::bruneiDarussalam->name => 'Brunei Darussalam', + self::bulgaria->name => 'Bulgaria', + self::burkinaFaso->name => 'Burkina Faso', + self::burundi->name => 'Burundi', + self::cambodia->name => 'Cambodia', + self::cameroon->name => 'Cameroon', + self::canada->name => 'Canada', + self::capeVerde->name => 'Cape Verde', + self::caymanIslands->name => 'Cayman Islands', + self::centralAfricanRepublic->name => 'Central African Republic', + self::chad->name => 'Chad', + self::chile->name => 'Chile', + self::china->name => 'China', + self::christmasIsland->name => 'Christmas Island', + self::cocosKeelingIslands->name => 'Cocos (Keeling) Islands', + self::colombia->name => 'Colombia', + self::comoros->name => 'Comoros', + self::congo->name => 'Congo', + self::congoTheDemocraticRepublicOfThe->name => 'Congo, the Democratic Republic of the', + self::cookIslands->name => 'Cook Islands', + self::costaRica->name => 'Costa Rica', + self::coteDivoire->name => 'Côte d\'Ivoire', + self::croatia->name => 'Croatia', + self::cuba->name => 'Cuba', + self::curacao->name => 'Curaçao', + self::cyprus->name => 'Cyprus', + self::czechRepublic->name => 'Czech Republic', + self::denmark->name => 'Denmark', + self::djibouti->name => 'Djibouti', + self::dominica->name => 'Dominica', + self::dominicanRepublic->name => 'Dominican Republic', + self::ecuador->name => 'Ecuador', + self::egypt->name => 'Egypt', + self::elSalvador->name => 'El Salvador', + self::equatorialGuinea->name => 'Equatorial Guinea', + self::eritrea->name => 'Eritrea', + self::estonia->name => 'Estonia', + self::ethiopia->name => 'Ethiopia', + self::falklandIslandsMalvinas->name => 'Falkland Islands (Malvinas)', + self::faroeIslands->name => 'Faroe Islands', + self::fiji->name => 'Fiji', + self::finland->name => 'Finland', + self::france->name => 'France', + self::frenchGuiana->name => 'French Guiana', + self::frenchPolynesia->name => 'French Polynesia', + self::frenchSouthernTerritories->name => 'French Southern Territories', + self::gabon->name => 'Gabon', + self::gambia->name => 'Gambia', + self::georgia->name => 'Georgia', + self::germany->name => 'Germany', + self::ghana->name => 'Ghana', + self::gibraltar->name => 'Gibraltar', + self::greece->name => 'Greece', + self::greenland->name => 'Greenland', + self::grenada->name => 'Grenada', + self::guadeloupe->name => 'Guadeloupe', + self::guam->name => 'Guam', + self::guatemala->name => 'Guatemala', + self::guernsey->name => 'Guernsey', + self::guinea->name => 'Guinea', + self::guineaBissau->name => 'GuineaBissau', + self::guyana->name => 'Guyana', + self::haiti->name => 'Haiti', + self::heardIslandAndMcdonaldIslands->name => 'Heard Island and McDonald Islands', + self::holySeeVaticanCityState->name => 'Holy See (Vatican City State)', + self::honduras->name => 'Honduras', + self::hongKong->name => 'Hong Kong', + self::hungary->name => 'Hungary', + self::iceland->name => 'Iceland', + self::india->name => 'India', + self::indonesia->name => 'Indonesia', + self::iranIslamicRepublicOf->name => 'Iran, Islamic Republic of', + self::iraq->name => 'Iraq', + self::ireland->name => 'Ireland', + self::isleOfMan->name => 'Isle of Man', + self::israel->name => 'Israel', + self::italy->name => 'Italy', + self::jamaica->name => 'Jamaica', + self::japan->name => 'Japan', + self::jersey->name => 'Jersey', + self::jordan->name => 'Jordan', + self::kazakhstan->name => 'Kazakhstan', + self::kenya->name => 'Kenya', + self::kiribati->name => 'Kiribati', + self::koreaDemocraticPeoplesRepublicOf->name => 'Korea, Democratic People\'s Republic of', + self::koreaRepublicOf->name => 'Korea, Republic of', + self::kuwait->name => 'Kuwait', + self::kyrgyzstan->name => 'Kyrgyzstan', + self::laoPeoplesDemocraticRepublic->name => 'Lao People\'s Democratic Republic', + self::latvia->name => 'Latvia', + self::lebanon->name => 'Lebanon', + self::lesotho->name => 'Lesotho', + self::liberia->name => 'Liberia', + self::libya->name => 'Libya', + self::liechtenstein->name => 'Liechtenstein', + self::lithuania->name => 'Lithuania', + self::luxembourg->name => 'Luxembourg', + self::macao->name => 'Macao', + self::macedoniaTheFormerYugoslavRepublicOf->name => 'Macedonia, the Former Yugoslav Republic of', + self::madagascar->name => 'Madagascar', + self::malawi->name => 'Malawi', + self::malaysia->name => 'Malaysia', + self::maldives->name => 'Maldives', + self::mali->name => 'Mali', + self::malta->name => 'Malta', + self::marshallIslands->name => 'Marshall Islands', + self::martinique->name => 'Martinique', + self::mauritania->name => 'Mauritania', + self::mauritius->name => 'Mauritius', + self::mayotte->name => 'Mayotte', + self::mexico->name => 'Mexico', + self::micronesiaFederatedStatesOf->name => 'Micronesia, Federated States of', + self::moldovaRepublicOf->name => 'Moldova, Republic of', + self::monaco->name => 'Monaco', + self::mongolia->name => 'Mongolia', + self::montenegro->name => 'Montenegro', + self::montserrat->name => 'Montserrat', + self::morocco->name => 'Morocco', + self::mozambique->name => 'Mozambique', + self::myanmar->name => 'Myanmar', + self::namibia->name => 'Namibia', + self::nauru->name => 'Nauru', + self::nepal->name => 'Nepal', + self::netherlands->name => 'Netherlands', + self::newCaledonia->name => 'New Caledonia', + self::newZealand->name => 'New Zealand', + self::nicaragua->name => 'Nicaragua', + self::niger->name => 'Niger', + self::nigeria->name => 'Nigeria', + self::niue->name => 'Niue', + self::norfolkIsland->name => 'Norfolk Island', + self::northernMarianaIslands->name => 'Northern Mariana Islands', + self::norway->name => 'Norway', + self::oman->name => 'Oman', + self::pakistan->name => 'Pakistan', + self::palau->name => 'Palau', + self::palestineStateOf->name => 'Palestine, State of', + self::panama->name => 'Panama', + self::papuaNewGuinea->name => 'Papua New Guinea', + self::paraguay->name => 'Paraguay', + self::peru->name => 'Peru', + self::philippines->name => 'Philippines', + self::pitcairn->name => 'Pitcairn', + self::poland->name => 'Poland', + self::portugal->name => 'Portugal', + self::puertoRico->name => 'Puerto Rico', + self::qatar->name => 'Qatar', + self::reunion->name => 'Réunion', + self::romania->name => 'Romania', + self::russianFederation->name => 'Russian Federation', + self::rwanda->name => 'Rwanda', + self::saintBarthelemy->name => 'Saint Barthélemy', + self::saintHelenaAscensionAndTristanDaCunha->name => 'Saint Helena, Ascension and Tristan da Cunha', + self::saintKittsAndNevis->name => 'Saint Kitts and Nevis', + self::saintLucia->name => 'Saint Lucia', + self::saintMartinFrenchPart->name => 'Saint Martin (French part)', + self::saintPierreAndMiquelon->name => 'Saint Pierre and Miquelon', + self::saintVincentAndTheGrenadines->name => 'Saint Vincent and the Grenadines', + self::samoa->name => 'Samoa', + self::sanMarino->name => 'San Marino', + self::saoTomeAndPrincipe->name => 'Sao Tome and Principe', + self::saudiArabia->name => 'Saudi Arabia', + self::senegal->name => 'Senegal', + self::serbia->name => 'Serbia', + self::seychelles->name => 'Seychelles', + self::sierraLeone->name => 'Sierra Leone', + self::singapore->name => 'Singapore', + self::sintMaartenDutchPart->name => 'Sint Maarten (Dutch part)', + self::slovakia->name => 'Slovakia', + self::slovenia->name => 'Slovenia', + self::solomonIslands->name => 'Solomon Islands', + self::somalia->name => 'Somalia', + self::southAfrica->name => 'South Africa', + self::southGeorgiaAndTheSouthSandwichIslands->name => 'South Georgia and the South Sandwich Islands', + self::southSudan->name => 'South Sudan', + self::spain->name => 'Spain', + self::sriLanka->name => 'Sri Lanka', + self::sudan->name => 'Sudan', + self::suriname->name => 'Suriname', + self::svalbardAndJanMayen->name => 'Svalbard and Jan Mayen', + self::swaziland->name => 'Swaziland', + self::sweden->name => 'Sweden', + self::switzerland->name => 'Switzerland', + self::syrianArabRepublic->name => 'Syrian Arab Republic', + self::taiwanProvinceOfChina->name => 'Taiwan, Province of China', + self::tajikistan->name => 'Tajikistan', + self::tanzaniaUnitedRepublicOf->name => 'Tanzania, United Republic of', + self::thailand->name => 'Thailand', + self::timorLeste->name => 'TimorLeste', + self::togo->name => 'Togo', + self::tokelau->name => 'Tokelau', + self::tonga->name => 'Tonga', + self::trinidadAndTobago->name => 'Trinidad and Tobago', + self::tunisia->name => 'Tunisia', + self::turkey->name => 'Turkey', + self::turkmenistan->name => 'Turkmenistan', + self::turksAndCaicosIslands->name => 'Turks and Caicos Islands', + self::tuvalu->name => 'Tuvalu', + self::uganda->name => 'Uganda', + self::ukraine->name => 'Ukraine', + self::unitedArabEmirates->name => 'United Arab Emirates', + self::unitedKingdom->name => 'United Kingdom', + self::unitedStates->name => 'United States', + self::unitedStatesMinorOutlyingIslands->name => 'United States Minor Outlying Islands', + self::uruguay->name => 'Uruguay', + self::uzbekistan->name => 'Uzbekistan', + self::vanuatu->name => 'Vanuatu', + self::venezuelaBolivarianRepublicOf->name => 'Venezuela, Bolivarian Republic of', + self::vietNam->name => 'Viet Nam', + self::virginIslandsBritish->name => 'Virgin Islands, British', + self::virginIslandsUs->name => 'Virgin Islands, U.S.', + self::wallisAndFutuna->name => 'Wallis and Futuna', + self::westernSahara->name => 'Western Sahara', + self::yemen->name => 'Yemen', + self::zambia->name => 'Zambia', + self::zimbabwe->name => 'Zimbabwe', + ]; + + /** + * Get Valid Shipping Countries + * + * @return array + */ + public static function validShippingCountries(): array + { + return [ + self::france, + /** + * // * DROM COM . + // self::guadeloupe, + // self::martinique, + // self::frenchGuiana, + // self::reunion, + // self::saintPierreAndMiquelon, + // self::mayotte, + // self::saintBarthelemy, + // self::saintMartinFrenchPart, + // self::wallisAndFutuna, + // self::frenchPolynesia, + // self::newCaledonia + */ + ]; + } + + /** + * Get Valid Shipping Countries + * + * @return array + */ + public static function validBillingCountries(): array + { + return [ + self::france, + // * DROM COM. + self::guadeloupe, + self::martinique, + self::frenchGuiana, + self::reunion, + self::saintPierreAndMiquelon, + self::mayotte, + self::saintBarthelemy, + self::saintMartinFrenchPart, + self::wallisAndFutuna, + self::frenchPolynesia, + self::newCaledonia + ]; + } + + /** + * Get Alpha 2 ISO code of valid shipping countries + * + * @return array + */ + public static function getValidShippingCountriesIsoAplha2Codes(): array + { + return ['FR']; + } + + /** + * Get Alpha 2 ISO code of valid billing countries + * + * @return array + */ + public static function getValidBillingCountriesIsoAplha2Codes(): array + { + return \array_values(self::ISOCODES); + } + + /** + * Custom added ISOCODES definition + */ + private const ISOCODES = [ + self::france->name => 'FR', + self::guadeloupe->name => 'GP', + self::martinique->name => 'MQ', + self::frenchGuiana->name => 'GF', + self::reunion->name => 'RE', + self::saintPierreAndMiquelon->name => 'PM', + self::mayotte->name => 'YT', + self::saintBarthelemy->name => 'BL', + self::saintMartinFrenchPart->name => 'MF', + self::wallisAndFutuna->name => 'WF', + self::frenchPolynesia->name => 'PF', + self::newCaledonia->name => 'NC', + ]; + + /** + * Get ISOCODE + * + * @return string + */ + public function iso(): string + { + return self::ISOCODES[$this->name]; + } + + /** + * Get enum ISOCODES + * + * @return array + */ + public static function toIsoCodes(): array + { + return self::ISOCODES; + } +} diff --git a/app/Enums/InputType.php b/app/Enums/InputType.php new file mode 100644 index 0000000..0b59d29 --- /dev/null +++ b/app/Enums/InputType.php @@ -0,0 +1,30 @@ +name => 'A', + self::b->name => 'B', + self::c->name => 'C', + self::d->name => 'D', + self::e->name => 'E', + self::none->name => 'Aucun', + ]; +} diff --git a/app/Enums/StaticPageType.php b/app/Enums/StaticPageType.php new file mode 100644 index 0000000..b68d41f --- /dev/null +++ b/app/Enums/StaticPageType.php @@ -0,0 +1,39 @@ +name => 'Contact', + self::legals->name => 'Mentions légales', + self::confidentiality->name => 'Confidentialité', + self::home->name => 'Accueil', + self::ranges->name => 'Nos gammes', + self::range->name => 'Une gamme', + self::klub->name => 'Le Klub', + self::klub_register->name => 'Le Klub - Inscription', + self::history->name => 'Notre Histoire', + self::commitments->name => 'Nos Engagements', + self::news->name => 'Actualités', + ]; +} diff --git a/app/Enums/Theme/BootstrapThemeEnum.php b/app/Enums/Theme/BootstrapThemeEnum.php new file mode 100644 index 0000000..f1f3725 --- /dev/null +++ b/app/Enums/Theme/BootstrapThemeEnum.php @@ -0,0 +1,21 @@ +name => 'Light', + self::dark->name => 'Dark', + ]; +} diff --git a/app/Enums/Users/RoleEnum.php b/app/Enums/Users/RoleEnum.php new file mode 100644 index 0000000..53b5ada --- /dev/null +++ b/app/Enums/Users/RoleEnum.php @@ -0,0 +1,23 @@ +name => 'Concepteur', + self::admin->name => 'Administrateur', + self::visitor->name => 'Visiteur', + ]; +} diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php new file mode 100644 index 0000000..220b3d7 --- /dev/null +++ b/app/Exceptions/Handler.php @@ -0,0 +1,48 @@ +, \Psr\Log\LogLevel::*> + */ + protected $levels = []; + + /** + * A list of the exception types that are not reported. + * + * @var array> + */ + protected $dontReport = []; + + /** + * A list of the inputs that are never flashed to the session on validation exceptions. + * + * @var array + */ + protected $dontFlash = [ + 'current_password', + 'password', + 'password_confirmation', + ]; + + /** + * Register the exception handling callbacks for the application. + * + * @return void + */ + public function register() + { + $this->reportable(function (Throwable $e) { + if (app()->bound('sentry')) { + app('sentry')->captureException($e); + } + }); + } +} diff --git a/app/Http/Controllers/Bo/ActivityLogController.php b/app/Http/Controllers/Bo/ActivityLogController.php new file mode 100644 index 0000000..ba7b375 --- /dev/null +++ b/app/Http/Controllers/Bo/ActivityLogController.php @@ -0,0 +1,71 @@ +authorize('isConceptor'); + /** @var \Illuminate\Database\Eloquent\Builder $query */ + $query = ActivityLog::query()->with('user'); + + /** @var string $search Search field */ + $search = $request->search; + if ($search) { + $this->searchQuery( + $query, + $search, + null, + 'model_class', + ); + } + $searchFields = \implode(', ', [ + trans('validation.custom.target'), + ]); + + /** Sort columns with a query */ + $this->sortQuery($query); + + /** Custom pagination */ + $activitylogModels = $this->paginate($query); + + return view('bo.pages.activity_logs.index', compact('activitylogModels', 'search', 'searchFields')); + } + + /** + * Show the form for editing the specified resource. + * + * @param App\Models\ActivityLog $activity_log + * @return \Illuminate\Contracts\View\View + */ + public function show(ActivityLog $activity_log): \Illuminate\Contracts\View\View + { + $this->authorize('isConceptor'); + $targetModelClass = $activity_log->model_class; + $targetModel = $activity_log->model_class::where( + (new $targetModelClass())->getRouteKeyName(), + $activity_log->model_id + )->first(); + + return view('bo.pages.activity_logs.show', [ + 'activitylogModel' => $activity_log, + 'targetModel' => $targetModel, + ]); + } +} diff --git a/app/Http/Controllers/Bo/Auth/LoginController.php b/app/Http/Controllers/Bo/Auth/LoginController.php new file mode 100644 index 0000000..314f43e --- /dev/null +++ b/app/Http/Controllers/Bo/Auth/LoginController.php @@ -0,0 +1,72 @@ +middleware('guest:backend')->except('logout'); + } + + /** + * Get the guard to be used during authentication. + * + * @return \Illuminate\Contracts\Auth\StatefulGuard + */ + protected function guard(): StatefulGuard + { + return Auth::guard('backend'); + } + + /** + * Show the application's login form. + * + * @return \Illuminate\Contracts\View\View + */ + public function showLoginForm(): View + { + return view('bo.auth.login'); + } + + /** + * Where to redirect users after login. + * + * @return string + */ + protected function redirectTo(): string + { + return response()->redirectToIntended()->getTargetUrl(); + } + + /** + * Attempt to log the user into the application. + * + * @param \Illuminate\Http\Request $request + * @return boolean + */ + protected function attemptLogin(Request $request) + { + $credentials = $this->credentials($request); + // * Attempt login only using published users. + $credentials['published'] = true; + return $this->guard()->attempt( + $credentials, + $request->boolean('remember') + ); + } +} diff --git a/app/Http/Controllers/Bo/Auth/ResetPasswordController.php b/app/Http/Controllers/Bo/Auth/ResetPasswordController.php new file mode 100644 index 0000000..03340fc --- /dev/null +++ b/app/Http/Controllers/Bo/Auth/ResetPasswordController.php @@ -0,0 +1,33 @@ +authorizeResource(CommitmentPage::class); + } + + /** + * Show the form for editing the specified resource. + * + * @param App\Models\CommitmentPage $commitmentPage + * @return \Illuminate\Contracts\View\View + */ + public function edit(CommitmentPage $commitmentPage): \Illuminate\Contracts\View\View + { + $pictoModels = Picto::all(); + return view('bo.pages.commitment_pages.edit', [ + 'commitmentPageModel' => $commitmentPage, + 'pictoModels' => $pictoModels + ]); + } + + /** + * Update the specified resource in storage. + * + * @param \App\Http\Requests\Bo\CommitmentPages\UpdateCommitmentPageRequest $request + * @param \App\Models\CommitmentPage $commitmentPage + * @return \Illuminate\Http\RedirectResponse + */ + public function update( + UpdateCommitmentPageRequest $request, + CommitmentPage $commitmentPage + ): \Illuminate\Http\RedirectResponse { + return DB::transaction(function () use ($request, $commitmentPage) { + $commitmentPage->fill($request->safe()->except(['pictos'])); + $commitmentPage->pictos()->sync(collect($request->validated('pictos'))->pluck('id')); + + if ($commitmentPage->saveOrFail()) { + return redirect()->route('bo.commitmentpages.edit', $commitmentPage) + ->with('success', __('crud.messages.has_been_updated', [ + 'model' => Str::ucfirst(trans_choice('models.classes.commitment_page', 1)) + ])); + } + return redirect()->route('bo.commitmentpages.edit', $commitmentPage) + ->with('error', __('crud.messages.cannot_be_updated', [ + 'model' => Str::ucfirst(trans_choice('models.classes.commitment_page', 1)) + ])); + }); + } +} diff --git a/app/Http/Controllers/Bo/DashboardController.php b/app/Http/Controllers/Bo/DashboardController.php new file mode 100644 index 0000000..960a9c1 --- /dev/null +++ b/app/Http/Controllers/Bo/DashboardController.php @@ -0,0 +1,19 @@ +authorizeResource(Game::class); + } + + /** + * Display a listing of the resource. + * + * @param \Illuminate\Http\Request $request + * @return \Illuminate\Contracts\View\View + */ + public function index(Request $request): \Illuminate\Contracts\View\View + { + /** @var \Illuminate\Database\Eloquent\Builder $gameModels */ + $gameModels = Game::query(); + + /** @var string $search Search field */ + $search = $request->search; + if ($search) { + $this->searchQuery( + $gameModels, + $search, + null, + 'title_line1', + 'title_line2', + 'text' + ); + } + $searchFields = \implode(', ', [ + Str::ucfirst(trans('validation.custom.title_line1')), + trans('validation.custom.title_line2'), + trans('validation.attributes.text') + ]); + + /** Sort columns with a query */ + $this->sortQuery($gameModels); + + /** Custom pagination */ + $gameModels = $this->paginate($gameModels); + + return view('bo.pages.games.index', compact('gameModels', 'search', 'searchFields')); + } + + + /** + * Show the form for creating a new resource. + * + * @param \App\Models\Game $game + * @return \Illuminate\Contracts\View\View + */ + public function create(Game $game): \Illuminate\Contracts\View\View + { + return view('bo.pages.games.create', ['gameModel' => $game]); + } + + /** + * Store a newly created resource in storage. + * + * @param \App\Http\Requests\Bo\Games\StoreGameRequest $request + * @return \Illuminate\Http\RedirectResponse + */ + public function store(StoreGameRequest $request): \Illuminate\Http\RedirectResponse + { + return DB::transaction(function () use ($request) { + $game = new Game(); + $game->fill($request->validated()); + + if ($game->saveOrFail()) { + return redirect()->route('bo.games.edit', $game) + ->with('success', __('crud.messages.has_been_created', [ + 'model' => Str::ucfirst(trans_choice('models.classes.game', 1)) + ])); + } + return redirect()->back() + ->with('error', __('crud.messages.cannot_be_created', [ + 'model' => Str::ucfirst(trans_choice('models.classes.game', 1)) + ])); + }); + } + + /** + * Show the form for editing the specified resource. + * + * @param App\Models\Game $game + * @return \Illuminate\Contracts\View\View + */ + public function edit(Game $game): \Illuminate\Contracts\View\View + { + return view('bo.pages.games.edit', ['gameModel' => $game]); + } + + /** + * Update the specified resource in storage. + * + * @param \App\Http\Requests\Bo\Games\UpdateGameRequest $request + * @param \App\Models\Game $game + * @return \Illuminate\Http\RedirectResponse + */ + public function update(UpdateGameRequest $request, Game $game): \Illuminate\Http\RedirectResponse + { + return DB::transaction(function () use ($request, $game) { + $game->fill($request->validated()); + + if ($game->saveOrFail()) { + return redirect()->route('bo.games.edit', $game) + ->with('success', __('crud.messages.has_been_updated', [ + 'model' => Str::ucfirst(trans_choice('models.classes.game', 1)) + ])); + } + return redirect()->route('bo.games.edit', $game) + ->with('error', __('crud.messages.cannot_be_updated', [ + 'model' => Str::ucfirst(trans_choice('models.classes.game', 1)) + ])); + }); + } + + /** + * Remove the specified resource from storage. + * + * @param \App\Models\Game $game + * @return \Illuminate\Http\RedirectResponse + */ + public function destroy(Game $game): \Illuminate\Http\RedirectResponse + { + return DB::transaction(function () use ($game) { + if ($game->deleteOrFail()) { + return redirect()->route('bo.games.index') + ->with('success', __('crud.messages.has_been_deleted', [ + 'model' => Str::ucfirst(trans_choice('models.classes.game', 1)) + ])); + } + return redirect()->back() + ->with('error', __('crud.messages.cannot_be_deleted', [ + 'model' => Str::ucfirst(trans_choice('models.classes.game', 1)) + ])); + }); + } + + /** + * Duplicate the specified resource. + * + * @param \App\Models\Game $game + * @return \Illuminate\Contracts\View\View + */ + public function duplicate(Game $game): \Illuminate\Contracts\View\View + { + return $this->create($game->replicate()); + } +} diff --git a/app/Http/Controllers/Bo/HistoricalMilestoneController.php b/app/Http/Controllers/Bo/HistoricalMilestoneController.php new file mode 100644 index 0000000..6673c8e --- /dev/null +++ b/app/Http/Controllers/Bo/HistoricalMilestoneController.php @@ -0,0 +1,168 @@ +authorizeResource(HistoricalMilestone::class); + } + + /** + * Display a listing of the resource. + * + * @param \Illuminate\Http\Request $request + * @return \Illuminate\Contracts\View\View + */ + public function index(Request $request): \Illuminate\Contracts\View\View + { + /** @var \Illuminate\Database\Eloquent\Builder $historicalMilestoneModels */ + $historicalMilestoneModels = HistoricalMilestone::query(); + + /** @var string $search Search field */ + $search = $request->search; + if ($search) { + $this->searchQuery( + $historicalMilestoneModels, + $search, + null, + 'text', + ); + } + $searchFields = \implode(', ', [ + Str::ucfirst(trans('validation.attributes.text')), + ]); + + /** Sort columns with a query */ + $this->sortQuery($historicalMilestoneModels); + + /** Custom pagination */ + $historicalMilestoneModels = $this->paginate($historicalMilestoneModels); + + return view( + 'bo.pages.historicalmilestones.index', + compact('historicalMilestoneModels', 'search', 'searchFields') + ); + } + + + /** + * Show the form for creating a new resource. + * + * @param \App\Models\HistoricalMilestone $historicalMilestone + * @return \Illuminate\Contracts\View\View + */ + public function create(HistoricalMilestone $historicalMilestone): \Illuminate\Contracts\View\View + { + return view('bo.pages.historicalmilestones.create', ['historicalMilestoneModel' => $historicalMilestone]); + } + + /** + * Store a newly created resource in storage. + * + * @param \App\Http\Requests\Bo\HistoricalMilestone\StoreHistoricalMilestoneRequest $request + * @return \Illuminate\Http\RedirectResponse + */ + public function store(StoreHistoricalMilestoneRequest $request): \Illuminate\Http\RedirectResponse + { + return DB::transaction(function () use ($request) { + $historicalMilestone = new HistoricalMilestone(); + $historicalMilestone->fill($request->validated()); + + if ($historicalMilestone->saveOrFail()) { + return redirect()->route('bo.historicalmilestones.edit', $historicalMilestone) + ->with('success', __('crud.messages.has_been_created', [ + 'model' => Str::ucfirst(__('models.classes.historicalMilestone')) + ])); + } + return redirect()->back() + ->with('error', __('crud.messages.cannot_be_created', [ + 'model' => Str::ucfirst(__('models.classes.historicalMilestone')) + ])); + }); + } + + /** + * Show the form for editing the specified resource. + * + * @param App\Models\HistoricalMilestone $historicalMilestone + * @return \Illuminate\Contracts\View\View + */ + public function edit(HistoricalMilestone $historicalMilestone): \Illuminate\Contracts\View\View + { + return view('bo.pages.historicalmilestones.edit', ['historicalMilestoneModel' => $historicalMilestone]); + } + + /** + * Update the specified resource in storage. + * + * @param \App\Http\Requests\Bo\HistoricalMilestone\UpdateHistoricalMilestoneRequest $request + * @param \App\Models\HistoricalMilestone $historicalMilestone + * @return \Illuminate\Http\RedirectResponse + */ + public function update( + UpdateHistoricalMilestoneRequest $request, + HistoricalMilestone $historicalMilestone + ): \Illuminate\Http\RedirectResponse { + return DB::transaction(function () use ($request, $historicalMilestone) { + $historicalMilestone->fill($request->validated()); + + if ($historicalMilestone->saveOrFail()) { + return redirect()->route('bo.historicalmilestones.edit', $historicalMilestone) + ->with('success', __('crud.messages.has_been_updated', [ + 'model' => Str::ucfirst(__('models.classes.historicalMilestone')) + ])); + } + return redirect()->route('bo.historicalmilestones.edit', $historicalMilestone) + ->with('error', __('crud.messages.cannot_be_updated', [ + 'model' => Str::ucfirst(__('models.classes.historicalMilestone')) + ])); + }); + } + + /** + * Remove the specified resource from storage. + * + * @param \App\Models\HistoricalMilestone $historicalMilestone + * @return \Illuminate\Http\RedirectResponse + */ + public function destroy(HistoricalMilestone $historicalMilestone): \Illuminate\Http\RedirectResponse + { + if ($historicalMilestone->deleteOrFail()) { + return redirect()->route('bo.historicalmilestones.index') + ->with('success', __('crud.messages.has_been_deleted', [ + 'model' => Str::ucfirst(__('models.classes.historicalMilestone')) + ])); + } + return redirect()->back() + ->with('error', __('crud.messages.cannot_be_deleted', [ + 'model' => Str::ucfirst(__('models.classes.historicalMilestone')) + ])); + } + + /** + * Duplicate the specified resource. + * + * @param \App\Models\HistoricalMilestone $historicalMilestone + * @return \Illuminate\Contracts\View\View + */ + public function duplicate(HistoricalMilestone $historicalMilestone): \Illuminate\Contracts\View\View + { + return $this->create($historicalMilestone->replicate()); + } +} diff --git a/app/Http/Controllers/Bo/KlubBlocController.php b/app/Http/Controllers/Bo/KlubBlocController.php new file mode 100644 index 0000000..6067aad --- /dev/null +++ b/app/Http/Controllers/Bo/KlubBlocController.php @@ -0,0 +1,58 @@ +authorizeResource(KlubBloc::class); + } + + /** + * Show the form for editing the specified resource. + * + * @param App\Models\KlubBloc $klubBloc + * @return \Illuminate\Contracts\View\View + */ + public function edit(KlubBloc $klubBloc): \Illuminate\Contracts\View\View + { + return view('bo.pages.klub_blocs.edit', ['klubBlocModel' => $klubBloc]); + } + + /** + * Update the specified resource in storage. + * + * @param \App\Http\Requests\Bo\KlubBlocs\UpdateKlubBlocRequest $request + * @param \App\Models\KlubBloc $klubBloc + * @return \Illuminate\Http\RedirectResponse + */ + public function update( + UpdateKlubBlocRequest $request, + KlubBloc $klubBloc + ): \Illuminate\Http\RedirectResponse { + return DB::transaction(function () use ($request, $klubBloc) { + $klubBloc->fill($request->validated()); + + if ($klubBloc->saveOrFail()) { + return redirect()->route('bo.klubblocs.edit', $klubBloc) + ->with('success', __('crud.messages.has_been_updated', [ + 'model' => Str::ucfirst(__('models.classes.klub_bloc')) + ])); + } + return redirect()->route('bo.klubblocs.edit', $klubBloc) + ->with('error', __('crud.messages.cannot_be_updated', [ + 'model' => Str::ucfirst(__('models.classes.klub_bloc')) + ])); + }); + } +} diff --git a/app/Http/Controllers/Bo/LocalCommitmentController.php b/app/Http/Controllers/Bo/LocalCommitmentController.php new file mode 100644 index 0000000..07d7768 --- /dev/null +++ b/app/Http/Controllers/Bo/LocalCommitmentController.php @@ -0,0 +1,171 @@ +authorizeResource(LocalCommitment::class); + } + + /** + * Display a listing of the resource. + * + * @param \Illuminate\Http\Request $request + * @return \Illuminate\Contracts\View\View + */ + public function index(Request $request): \Illuminate\Contracts\View\View + { + /** @var \Illuminate\Database\Eloquent\Builder $localCommitmentModels */ + $localCommitmentModels = LocalCommitment::query(); + + /** @var string $search Search field */ + $search = $request->search; + if ($search) { + $this->searchQuery( + $localCommitmentModels, + $search, + null, + 'title', + 'text' + ); + } + $searchFields = \implode(', ', [ + Str::ucfirst(trans('validation.attributes.title')), + trans('validation.attributes.text') + ]); + + /** Sort columns with a query */ + $this->sortQuery($localCommitmentModels); + + /** Custom pagination */ + $localCommitmentModels = $this->paginate($localCommitmentModels); + + return view('bo.pages.local_commitments.index', compact('localCommitmentModels', 'search', 'searchFields')); + } + + + /** + * Show the form for creating a new resource. + * + * @param \App\Models\LocalCommitment $localCommitment + * @return \Illuminate\Contracts\View\View + */ + public function create(LocalCommitment $localCommitment): \Illuminate\Contracts\View\View + { + return view('bo.pages.local_commitments.create', ['localCommitmentModel' => $localCommitment]); + } + + /** + * Store a newly created resource in storage. + * + * @param \App\Http\Requests\Bo\LocalCommitments\StoreLocalCommitmentRequest $request + * @return \Illuminate\Http\RedirectResponse + */ + public function store(StoreLocalCommitmentRequest $request): \Illuminate\Http\RedirectResponse + { + return DB::transaction(function () use ($request) { + $localCommitment = new LocalCommitment(); + $localCommitment->fill($request->validated()); + + if ($localCommitment->saveOrFail()) { + return redirect()->route('bo.localcommitments.edit', $localCommitment) + ->with('success', __('crud.messages.has_been_created', [ + 'model' => Str::ucfirst(trans_choice('models.classes.local_commitment', 1)) + ])); + } + return redirect()->back() + ->with('error', __('crud.messages.cannot_be_created', [ + 'model' => Str::ucfirst(trans_choice('models.classes.local_commitment', 1)) + ])); + }); + } + + /** + * Show the form for editing the specified resource. + * + * @param App\Models\LocalCommitment $localCommitment + * @return \Illuminate\Contracts\View\View + */ + public function edit(LocalCommitment $localCommitment): \Illuminate\Contracts\View\View + { + return view('bo.pages.local_commitments.edit', ['localCommitmentModel' => $localCommitment]); + } + + /** + * Update the specified resource in storage. + * + * @param \App\Http\Requests\Bo\LocalCommitments\UpdateLocalCommitmentRequest $request + * @param \App\Models\LocalCommitment $localCommitment + * @return \Illuminate\Http\RedirectResponse + */ + public function update( + UpdateLocalCommitmentRequest $request, + LocalCommitment $localCommitment + ): \Illuminate\Http\RedirectResponse { + return DB::transaction(function () use ($request, $localCommitment) { + $localCommitment->fill($request->validated()); + + if ($localCommitment->saveOrFail()) { + return redirect()->route('bo.localcommitments.edit', $localCommitment) + ->with('success', __('crud.messages.has_been_updated', [ + 'model' => Str::ucfirst(trans_choice('models.classes.local_commitment', 1)) + ])); + } + return redirect()->route('bo.localcommitments.edit', $localCommitment) + ->with('error', __('crud.messages.cannot_be_updated', [ + 'model' => Str::ucfirst(trans_choice('models.classes.local_commitment', 1)) + ])); + }); + } + + /** + * Remove the specified resource from storage. + * + * @param \App\Models\LocalCommitment $localCommitment + * @return \Illuminate\Http\RedirectResponse + */ + public function destroy(LocalCommitment $localCommitment): \Illuminate\Http\RedirectResponse + { + return DB::transaction(function () use ($localCommitment) { + if ($localCommitment->deleteOrFail()) { + return redirect()->route('bo.localcommitments.index') + ->with('success', __('crud.messages.has_been_deleted', [ + 'model' => Str::ucfirst(trans_choice('models.classes.local_commitment', 1)) + ])); + } + return redirect()->back() + ->with('error', __('crud.messages.cannot_be_deleted', [ + 'model' => Str::ucfirst(trans_choice('models.classes.local_commitment', 1)) + ])); + }); + } + + /** + * Duplicate the specified resource. + * + * @param \App\Models\LocalCommitment $localCommitment + * @return \Illuminate\Contracts\View\View + */ + public function duplicate(LocalCommitment $localCommitment): \Illuminate\Contracts\View\View + { + return $this->create($localCommitment->replicate()); + } +} diff --git a/app/Http/Controllers/Bo/NewsController.php b/app/Http/Controllers/Bo/NewsController.php new file mode 100644 index 0000000..fd4e454 --- /dev/null +++ b/app/Http/Controllers/Bo/NewsController.php @@ -0,0 +1,163 @@ +authorizeResource(News::class); + } + + /** + * Display a listing of the resource. + * + * @param \Illuminate\Http\Request $request + * @return \Illuminate\Contracts\View\View + */ + public function index(Request $request): \Illuminate\Contracts\View\View + { + /** @var \Illuminate\Database\Eloquent\Builder $newsModels */ + $newsModels = News::query(); + + /** @var string $search Search field */ + $search = $request->search; + if ($search) { + $this->searchQuery( + $newsModels, + $search, + null, + 'text', + ); + } + $searchFields = \implode(', ', [ + Str::ucfirst(trans('validation.attributes.text')), + ]); + + /** Sort columns with a query */ + $this->sortQuery($newsModels); + + /** Custom pagination */ + $newsModels = $this->paginate($newsModels); + + return view('bo.pages.news.index', compact('newsModels', 'search', 'searchFields')); + } + + + /** + * Show the form for creating a new resource. + * + * @param \App\Models\News $news + * @return \Illuminate\Contracts\View\View + */ + public function create(News $news): \Illuminate\Contracts\View\View + { + return view('bo.pages.news.create', ['newsModel' => $news]); + } + + /** + * Store a newly created resource in storage. + * + * @param \App\Http\Requests\Bo\News\StoreNewsRequest $request + * @return \Illuminate\Http\RedirectResponse + */ + public function store(StoreNewsRequest $request): \Illuminate\Http\RedirectResponse + { + return DB::transaction(function () use ($request) { + $news = new News(); + $news->fill($request->validated()); + + if ($news->saveOrFail()) { + return redirect()->route('bo.news.edit', $news) + ->with('success', __('crud.messages.has_been_created', [ + 'model' => Str::ucfirst(__('models.classes.news')) + ])); + } + return redirect()->back() + ->with('error', __('crud.messages.cannot_be_created', [ + 'model' => Str::ucfirst(__('models.classes.news')) + ])); + }); + } + + /** + * Show the form for editing the specified resource. + * + * @param App\Models\News $news + * @return \Illuminate\Contracts\View\View + */ + public function edit(News $news): \Illuminate\Contracts\View\View + { + return view('bo.pages.news.edit', ['newsModel' => $news]); + } + + /** + * Update the specified resource in storage. + * + * @param \App\Http\Requests\Bo\News\UpdateNewsRequest $request + * @param \App\Models\News $news + * @return \Illuminate\Http\RedirectResponse + */ + public function update(UpdateNewsRequest $request, News $news): \Illuminate\Http\RedirectResponse + { + return DB::transaction(function () use ($request, $news) { + $news->fill($request->validated()); + + if ($news->saveOrFail()) { + return redirect()->route('bo.news.edit', $news) + ->with('success', __('crud.messages.has_been_updated', [ + 'model' => Str::ucfirst(__('models.classes.news')) + ])); + } + return redirect()->route('bo.news.edit', $news) + ->with('error', __('crud.messages.cannot_be_updated', [ + 'model' => Str::ucfirst(__('models.classes.news')) + ])); + }); + } + + /** + * Remove the specified resource from storage. + * + * @param \App\Models\News $news + * @return \Illuminate\Http\RedirectResponse + */ + public function destroy(News $news): \Illuminate\Http\RedirectResponse + { + if ($news->deleteOrFail()) { + return redirect()->route('bo.news.index') + ->with('success', __('crud.messages.has_been_deleted', [ + 'model' => Str::ucfirst(__('models.classes.news')) + ])); + } + return redirect()->back() + ->with('error', __('crud.messages.cannot_be_deleted', [ + 'model' => Str::ucfirst(__('models.classes.news')) + ])); + } + + /** + * Duplicate the specified resource. + * + * @param \App\Models\News $news + * @return \Illuminate\Contracts\View\View + */ + public function duplicate(News $news): \Illuminate\Contracts\View\View + { + return $this->create($news->replicate()); + } +} diff --git a/app/Http/Controllers/Bo/PictoController.php b/app/Http/Controllers/Bo/PictoController.php new file mode 100644 index 0000000..624f030 --- /dev/null +++ b/app/Http/Controllers/Bo/PictoController.php @@ -0,0 +1,172 @@ +authorizeResource(Picto::class); + } + + /** + * Display a listing of the resource. + * + * @param \Illuminate\Http\Request $request + * @return \Illuminate\Contracts\View\View + */ + public function index(Request $request): \Illuminate\Contracts\View\View + { + /** @var \Illuminate\Database\Eloquent\Builder $pictoModels */ + $pictoModels = Picto::query(); + + /** @var string $search Search field */ + $search = $request->search; + if ($search) { + $this->searchQuery( + $pictoModels, + $search, + null, + 'label', + 'picture_alt', + 'picture_title' + ); + } + $searchFields = \implode(', ', [ + Str::ucfirst(trans('validation.custom.label')), + trans('validation.custom.attribute_alt'), + trans('validation.custom.attribute_title') + ]); + + /** Sort columns with a query */ + $this->sortQuery($pictoModels); + + /** Custom pagination */ + $pictoModels = $this->paginate($pictoModels); + + return view('bo.pages.pictos.index', compact('pictoModels', 'search', 'searchFields')); + } + + + /** + * Show the form for creating a new resource. + * + * @param \App\Models\Picto $picto + * @return \Illuminate\Contracts\View\View + */ + public function create(Picto $picto): \Illuminate\Contracts\View\View + { + return view('bo.pages.pictos.create', ['pictoModel' => $picto]); + } + + /** + * Store a newly created resource in storage. + * + * @param \App\Http\Requests\Bo\Pictos\StorePictoRequest $request + * @return \Illuminate\Http\RedirectResponse + */ + public function store(StorePictoRequest $request): \Illuminate\Http\RedirectResponse + { + return DB::transaction(function () use ($request) { + $picto = new Picto(); + $picto->fill($request->validated()); + + if ($picto->saveOrFail()) { + return redirect()->route('bo.pictos.edit', $picto) + ->with('success', __('crud.messages.has_been_created', [ + 'model' => Str::ucfirst(__('models.classes.picto')) + ])); + } + return redirect()->back() + ->with('error', __('crud.messages.cannot_be_created', [ + 'model' => Str::ucfirst(__('models.classes.picto')) + ])); + }); + } + + /** + * Show the form for editing the specified resource. + * + * @param App\Models\Picto $picto + * @return \Illuminate\Contracts\View\View + */ + public function edit(Picto $picto): \Illuminate\Contracts\View\View + { + return view('bo.pages.pictos.edit', ['pictoModel' => $picto]); + } + + /** + * Update the specified resource in storage. + * + * @param \App\Http\Requests\Bo\Pictos\UpdatePictoRequest $request + * @param \App\Models\Picto $picto + * @return \Illuminate\Http\RedirectResponse + */ + public function update(UpdatePictoRequest $request, Picto $picto): \Illuminate\Http\RedirectResponse + { + return DB::transaction(function () use ($request, $picto) { + $picto->fill($request->validated()); + + if ($picto->saveOrFail()) { + return redirect()->route('bo.pictos.edit', $picto) + ->with('success', __('crud.messages.has_been_updated', [ + 'model' => Str::ucfirst(__('models.classes.picto')) + ])); + } + return redirect()->route('bo.pictos.edit', $picto) + ->with('error', __('crud.messages.cannot_be_updated', [ + 'model' => Str::ucfirst(__('models.classes.picto')) + ])); + }); + } + + /** + * Remove the specified resource from storage. + * + * @param \App\Models\Picto $picto + * @return \Illuminate\Http\RedirectResponse + */ + public function destroy(Picto $picto): \Illuminate\Http\RedirectResponse + { + return DB::transaction(function () use ($picto) { + $picto->products()->detach(); + $picto->commitmentPages()->detach(); + + if ($picto->deleteOrFail()) { + return redirect()->route('bo.pictos.index') + ->with('success', __('crud.messages.has_been_deleted', [ + 'model' => Str::ucfirst(__('models.classes.picto')) + ])); + } + return redirect()->back() + ->with('error', __('crud.messages.cannot_be_deleted', [ + 'model' => Str::ucfirst(__('models.classes.picto')) + ])); + }); + } + + /** + * Duplicate the specified resource. + * + * @param \App\Models\Picto $picto + * @return \Illuminate\Contracts\View\View + */ + public function duplicate(Picto $picto): \Illuminate\Contracts\View\View + { + return $this->create($picto->replicate()); + } +} diff --git a/app/Http/Controllers/Bo/ProductController.php b/app/Http/Controllers/Bo/ProductController.php new file mode 100644 index 0000000..72c50e6 --- /dev/null +++ b/app/Http/Controllers/Bo/ProductController.php @@ -0,0 +1,189 @@ +authorizeResource(Product::class); + } + + /** + * Display a listing of the resource. + * + * @param \Illuminate\Http\Request $request + * @return \Illuminate\Contracts\View\View + */ + public function index(Request $request): \Illuminate\Contracts\View\View + { + /** @var \Illuminate\Database\Eloquent\Builder $productModels */ + $productModels = Product::query(); + + /** @var string $search Search field */ + $search = $request->search; + if ($search) { + $this->searchQuery( + $productModels, + $search, + null, + 'label', + 'description', + ); + } + $searchFields = \implode(', ', [ + Str::ucfirst(trans('validation.custom.label')), + trans('validation.custom.description'), + ]); + + /** Sort columns with a query */ + $this->sortQuery($productModels); + + /** Custom pagination */ + $productModels = $this->paginate($productModels); + + return view('bo.pages.products.index', compact('productModels', 'search', 'searchFields')); + } + + + /** + * Show the form for creating a new resource. + * + * @param \App\Models\Product $product + * @return \Illuminate\Contracts\View\View + */ + public function create(Product $product): \Illuminate\Contracts\View\View + { + $rangeModels = Range::all(); + $pictoModels = Picto::all(); + + return view('bo.pages.products.create', [ + 'productModel' => $product, + 'rangeModels' => $rangeModels, + 'pictoModels' => $pictoModels + ]); + } + + /** + * Store a newly created resource in storage. + * + * @param \App\Http\Requests\Bo\Products\StoreProductRequest $request + * @return \Illuminate\Http\RedirectResponse + */ + public function store(StoreProductRequest $request): \Illuminate\Http\RedirectResponse + { + return DB::transaction(function () use ($request) { + $product = new Product(); + $product->fill($request->safe()->except(['pictos'])); + + if ($product->saveOrFail()) { + $product->pictos()->attach(collect($request->validated('pictos'))->pluck('id')); + return redirect()->route('bo.products.edit', $product) + ->with('success', __('crud.messages.has_been_created', [ + 'model' => Str::ucfirst(__('models.classes.product')) + ])); + } + return redirect()->back() + ->with('error', __('crud.messages.cannot_be_created', [ + 'model' => Str::ucfirst(__('models.classes.product')) + ])); + }); + } + + /** + * Show the form for editing the specified resource. + * + * @param App\Models\Product $product + * @return \Illuminate\Contracts\View\View + */ + public function edit(Product $product): \Illuminate\Contracts\View\View + { + $rangeModels = Range::all(); + $pictoModels = Picto::all(); + + return view('bo.pages.products.edit', [ + 'productModel' => $product, + 'rangeModels' => $rangeModels, + 'pictoModels' => $pictoModels + ]); + } + + /** + * Update the specified resource in storage. + * + * @param \App\Http\Requests\Bo\Products\UpdateProductRequest $request + * @param \App\Models\Product $product + * @return \Illuminate\Http\RedirectResponse + */ + public function update(UpdateProductRequest $request, Product $product): \Illuminate\Http\RedirectResponse + { + return DB::transaction(function () use ($request, $product) { + $product->fill($request->safe()->except(['pictos'])); + $product->pictos()->sync(collect($request->validated('pictos'))->pluck('id')); + + if ($product->saveOrFail()) { + return redirect()->route('bo.products.edit', $product) + ->with('success', __('crud.messages.has_been_updated', [ + 'model' => Str::ucfirst(__('models.classes.product')) + ])); + } + return redirect()->route('bo.products.edit', $product) + ->with('error', __('crud.messages.cannot_be_updated', [ + 'model' => Str::ucfirst(__('models.classes.product')) + ])); + }); + } + + /** + * Remove the specified resource from storage. + * + * @param \App\Models\Product $product + * @return \Illuminate\Http\RedirectResponse + */ + public function destroy(Product $product): \Illuminate\Http\RedirectResponse + { + return DB::transaction(function () use ($product) { + $product->pictos()->detach(); + + if ($product->deleteOrFail()) { + return redirect()->route('bo.products.index') + ->with('success', __('crud.messages.has_been_deleted', [ + 'model' => Str::ucfirst(__('models.classes.product')) + ])); + } + return redirect()->back() + ->with('error', __('crud.messages.cannot_be_deleted', [ + 'model' => Str::ucfirst(__('models.classes.product')) + ])); + }); + } + + /** + * Duplicate the specified resource. + * + * @param \App\Models\Product $product + * @return \Illuminate\Contracts\View\View + */ + public function duplicate(Product $product): \Illuminate\Contracts\View\View + { + return $this->create($product->replicate()); + } +} diff --git a/app/Http/Controllers/Bo/RangeController.php b/app/Http/Controllers/Bo/RangeController.php new file mode 100644 index 0000000..a04b10c --- /dev/null +++ b/app/Http/Controllers/Bo/RangeController.php @@ -0,0 +1,91 @@ +authorizeResource(Range::class); + } + + /** + * Display a listing of the resource. + * + * @param \Illuminate\Http\Request $request + * @return \Illuminate\Contracts\View\View + */ + public function index(Request $request): \Illuminate\Contracts\View\View + { + /** @var \Illuminate\Database\Eloquent\Builder $rangeModels */ + $rangeModels = Range::query(); + + /** @var string $search Search field */ + $search = $request->search; + if ($search) { + $this->searchQuery( + $rangeModels, + $search, + null, + 'label', + ); + } + $searchFields = \implode(', ', [ + Str::ucfirst(trans('validation.custom.label')), + ]); + + /** Sort columns with a query */ + $this->sortQuery($rangeModels); + + /** Custom pagination */ + $rangeModels = $this->paginate($rangeModels); + + return view('bo.pages.ranges.index', compact('rangeModels', 'search', 'searchFields')); + } + + /** + * Show the form for editing the specified resource. + * + * @param App\Models\Range $range + * @return \Illuminate\Contracts\View\View + */ + public function edit(Range $range): \Illuminate\Contracts\View\View + { + return view('bo.pages.ranges.edit', ['rangeModel' => $range]); + } + + /** + * Update the specified resource in storage. + * + * @param \App\Http\Requests\Bo\Ranges\UpdateRangeRequest $request + * @param \App\Models\Range $range + * @return \Illuminate\Http\RedirectResponse + */ + public function update(UpdateRangeRequest $request, Range $range): \Illuminate\Http\RedirectResponse + { + return DB::transaction(function () use ($request, $range) { + $range->fill($request->validated()); + + if ($range->saveOrFail()) { + return redirect()->route('bo.ranges.edit', $range) + ->with('success', __('crud.messages.has_been_updated', [ + 'model' => Str::ucfirst(__('models.classes.range')) + ])); + } + return redirect()->route('bo.ranges.edit', $range) + ->with('error', __('crud.messages.cannot_be_updated', [ + 'model' => Str::ucfirst(__('models.classes.range')) + ])); + }); + } +} diff --git a/app/Http/Controllers/Bo/StaticPageController.php b/app/Http/Controllers/Bo/StaticPageController.php new file mode 100644 index 0000000..55775dc --- /dev/null +++ b/app/Http/Controllers/Bo/StaticPageController.php @@ -0,0 +1,91 @@ +authorizeResource(StaticPage::class); + } + + /** + * Display a listing of the resource. + * + * @param \Illuminate\Http\Request $request + * @return \Illuminate\Contracts\View\View + */ + public function index(Request $request): \Illuminate\Contracts\View\View + { + /** @var \Illuminate\Database\Eloquent\Builder $query */ + $query = StaticPage::query(); + + /** @var string $search Search field */ + $search = $request->search; + if ($search) { + $this->searchQuery( + $query, + $search, + null, + 'title', + ); + } + $searchFields = \implode(', ', [ + trans('validation.attributes.title'), + ]); + + /** Sort columns with a query */ + $this->sortQuery($query); + + /** Custom pagination */ + $staticPageModelList = $this->paginate($query); + + return view('bo.pages.static_pages.index', compact('staticPageModelList', 'search', 'searchFields')); + } + + /** + * Show the form for editing the specified resource. + * + * @param App\Models\StaticPage $static_page + * @return \Illuminate\Contracts\View\View + */ + public function edit(StaticPage $static_page): \Illuminate\Contracts\View\View + { + return view('bo.pages.static_pages.edit', ['staticPageModel' => $static_page]); + } + + /** + * Update the specified resource in storage. + * + * @param \App\Http\Requests\Bo\StaticPages\UpdateStaticPageRequest $request + * @param \App\Models\StaticPage $static_page + * @return \Illuminate\Http\RedirectResponse + */ + public function update(UpdateStaticPageRequest $request, StaticPage $static_page): \Illuminate\Http\RedirectResponse + { + return DB::transaction(function () use ($request, $static_page) { + $static_page->fill($request->validated()); + + if ($static_page->saveOrFail()) { + return redirect()->route('bo.static_pages.edit', $static_page) + ->with('success', __('crud.messages.has_been_updated', [ + 'model' => Str::ucfirst(\trans_choice('models.classes.static_page', 1)) + ])); + } + return redirect()->route('bo.static_pages.edit', $static_page) + ->with('error', __('crud.messages.cannot_be_updated', [ + 'model' => Str::ucfirst(\trans_choice('models.classes.static_page', 1)) + ])); + }); + } +} diff --git a/app/Http/Controllers/Bo/UserController.php b/app/Http/Controllers/Bo/UserController.php new file mode 100644 index 0000000..72f632e --- /dev/null +++ b/app/Http/Controllers/Bo/UserController.php @@ -0,0 +1,169 @@ +authorizeResource(User::class); + } + + /** + * Display a listing of the resource. + * + * @param \Illuminate\Http\Request $request + * @return \Illuminate\Contracts\View\View + */ + public function index(Request $request): \Illuminate\Contracts\View\View + { + /** @var \Illuminate\Database\Eloquent\Builder $userModels */ + $userModels = User::query(); + + /** @var string $search Search field */ + $search = $request->search; + if ($search) { + $this->searchQuery( + $userModels, + $search, + null, + 'first_name', + 'last_name', + 'email', + 'role', + ); + } + $searchFields = \implode(', ', [ + trans('validation.attributes.first_name'), + trans('validation.attributes.last_name'), + trans('validation.attributes.email'), + trans('validation.attributes.role'), + ]); + + /** Sort columns with a query */ + $this->sortQuery($userModels); + + /** Custom pagination */ + $userModels = $this->paginate($userModels); + + return view('bo.pages.users.index', compact('userModels', 'search', 'searchFields')); + } + + + /** + * Show the form for creating a new resource. + * + * @param \App\Models\User $user + * @return \Illuminate\Contracts\View\View + */ + public function create(User $user): \Illuminate\Contracts\View\View + { + return view('bo.pages.users.create', ['userModel' => $user]); + } + + /** + * Store a newly created resource in storage. + * + * @param \App\Http\Requests\Bo\Users\StoreUserRequest $request + * @return \Illuminate\Http\RedirectResponse + */ + public function store(StoreUserRequest $request): \Illuminate\Http\RedirectResponse + { + return DB::transaction(function () use ($request) { + $user = new User(); + $user->fill($request->validated()); + + if ($user->saveOrFail()) { + return redirect()->route('bo.users.edit', $user) + ->with('success', __('crud.messages.has_been_created', [ + 'model' => Str::ucfirst(__('models.classes.user')) + ])); + } + return redirect()->back() + ->with('error', __('crud.messages.cannot_be_created', [ + 'model' => Str::ucfirst(__('models.classes.user')) + ])); + }); + } + + /** + * Show the form for editing the specified resource. + * + * @param App\Models\User $user + * @return \Illuminate\Contracts\View\View + */ + public function edit(User $user): \Illuminate\Contracts\View\View + { + return view('bo.pages.users.edit', ['userModel' => $user]); + } + + /** + * Update the specified resource in storage. + * + * @param \App\Http\Requests\Bo\Users\UpdateUserRequest $request + * @param \App\Models\User $user + * @return \Illuminate\Http\RedirectResponse + */ + public function update(UpdateUserRequest $request, User $user): \Illuminate\Http\RedirectResponse + { + return DB::transaction(function () use ($request, $user) { + $user->fill($request->validated()); + + if ($user->saveOrFail()) { + return redirect()->route('bo.users.edit', $user) + ->with('success', __('crud.messages.has_been_updated', [ + 'model' => Str::ucfirst(__('models.classes.user')) + ])); + } + return redirect()->route('bo.users.edit', $user) + ->with('error', __('crud.messages.cannot_be_updated', [ + 'model' => Str::ucfirst(__('models.classes.user')) + ])); + }); + } + + /** + * Remove the specified resource from storage. + * + * @param \App\Models\User $user + * @return \Illuminate\Http\RedirectResponse + */ + public function destroy(User $user): \Illuminate\Http\RedirectResponse + { + if ($user->deleteOrFail()) { + return redirect()->route('bo.users.index') + ->with('success', __('crud.messages.has_been_deleted', [ + 'model' => Str::ucfirst(__('models.classes.user')) + ])); + } + return redirect()->back() + ->with('error', __('crud.messages.cannot_be_deleted', [ + 'model' => Str::ucfirst(__('models.classes.user')) + ])); + } + + /** + * Duplicate the specified resource. + * + * @param \App\Models\User $user + * @return \Illuminate\Contracts\View\View + */ + public function duplicate(User $user): \Illuminate\Contracts\View\View + { + return $this->create($user->replicate()); + } +} diff --git a/app/Http/Controllers/Controller.php b/app/Http/Controllers/Controller.php new file mode 100644 index 0000000..7d598dd --- /dev/null +++ b/app/Http/Controllers/Controller.php @@ -0,0 +1,241 @@ +redirectToRoute('fo.klub.home')->getTargetUrl(); + } + + /** + * Build Search query on specified fields + * splitting search into words or using whole sentence + * + * @param \Illuminate\Database\Eloquent\Builder $query The eloquent query builder. + * @param string $search The query string. + * @param callable $searchQuery The query string. + * @param string ...$fields Either a simple array or a string + * in case of a string the two fields + * would be concatenate to make the search. + * @return \Illuminate\Database\Eloquent\Builder + */ + protected function searchQuery( + Builder $query, + string $search, + callable $searchQuery = null, + string ...$fields + ): \Illuminate\Database\Eloquent\Builder { + if (count($fields)) { + // Search using words. + $words = explode(' ', $search); + $query->where(function ($query) use ($searchQuery, $words, $search, $fields) { + foreach ($words as $word) { + if (!strlen($word)) { + continue; + } + $this->searchOnFields($query, $word, $fields); + } //end foreach + // Search whole using whole sentence. + $this->searchOnFields($query, $search, $fields); + if ($searchQuery) { + $searchQuery($query); + } + }); + } //end if + return $query; + } + + /** + * Build query search on all fields + * + * @param \Illuminate\Database\Eloquent\Builder $query + * @param string $search + * @param array $fields + * @return \Illuminate\Database\Eloquent\Builder + */ + private function searchOnFields( + Builder $query, + string $search, + array $fields + ): \Illuminate\Database\Eloquent\Builder { + $table = $query->getModel()->getTable(); + foreach ($fields as $field) { + $field = str_replace('?', '\?', $field); + if (is_array($field)) { + $query->orWhereRaw( + sprintf("UPPER(CONCAT(%s)) LIKE UPPER(?)", collect($field)->map(function ($q) use ($table) { + return "`$table`.`$q`"; + })->implode(', \' \', ')), + ['%' . htmlspecialchars($search) . '%'] + ); + return $query; + } + // Get models woth enum's label. + if (is_array($this->getSearchValue($query, $search, $field))) { + foreach ($this->getSearchValue($query, $search, $field) as $array) { + $query->orWhereRaw( + "UPPER(`$table`.`$field`) LIKE UPPER(?)", + ['%' . htmlspecialchars($array->value) . '%'] + ); + } + return $query; + } + // Get models with relation's name/label. + if (Str::endsWith($field, '_id') && $query->getModel()->has(Str::remove('_id', $field))) { + $query->orWhereHas(Str::remove('_id', $field), function ($queryRelation) use ($field, $search) { + if (Schema::hasColumn(Str::remove('_id', $field) . 's', 'name')) { + $queryRelation->where('name', 'like', '%' . $search . '%'); + } elseif (Schema::hasColumn(Str::remove('_id', $field) . 's', 'label')) { + $queryRelation->where('label', 'like', '%' . $search . '%'); + } + }); + return $query; + } + $query->orWhereRaw( + "UPPER(`$table`.`$field`) LIKE UPPER(?)", + ['%' . htmlspecialchars($this->getSearchValue($query, $search, $field)) . '%'] + ); + } //end foreach + return $query; + } + + /** + * Get the search value (on string or Enum). + * + * @param \Illuminate\Database\Eloquent\Builder $query + * @param string $search + * @param string $field + * @return string|array + */ + protected function getSearchValue(Builder $query, string $search, string $field): string|array + { + if ( + count($query->getModel()->getCasts()) and // Check if the model has casts. + isset($query->getModel()->getCasts()[$field]) and // Check if there is cast about specific field. + enum_exists($query->getModel()->getCasts()[$field]) // Check if the cast is an enum. + ) { + $cases = collect($query->getModel()->getCasts()[$field]::toArray()); + $enum = $cases->filter(function ($item) use ($search) { + return preg_match('/' . Str::lower($search) . '/', Str::lower($item->label)); + }); + return $enum->toArray(); + } else { + return $search; + } + } + + /** + * Sort columns with a query. + * + * @param \Illuminate\Database\Eloquent\Builder $query + * @param array $ignore + * @return \Illuminate\Database\Eloquent\Builder + */ + protected function sortQuery(Builder $query, array $ignore = []): \Illuminate\Database\Eloquent\Builder + { + $rName = request()->route()->getName(); + $table = $query->getModel()->getTable(); + if (request()->sort_col) { + Session::put("$rName.sort_col", request()->sort_col); + Session::put("$rName.sorted", true); + } + if (request()->sort_way) { + Session::put("$rName.sort_way", request()->sort_way); + Session::put("$rName.sorted", true); + } + if (request()->rst) { + Session::remove("$rName.sorted"); + Session::remove("$rName.sort_col"); + Session::remove("$rName.sort_way"); + } + if (request()->sort_col and request()->sort_way and Schema::hasColumn($table, request()->sort_col)) { + if ( + !isset($ignore) or + (isset($ignore) and !in_array(request()->sort_col, $ignore)) + ) { + $query = $query->orderBy(\sprintf("$table.%s", request()->sort_col), request()->sort_way); + } + } elseif (Schema::hasColumn($table, 'order')) { + $query = $query->orderBy('order', 'ASC'); + Session::put("$rName.sort_col", 'order'); + Session::put("$rName.sort_way", 'asc'); + } elseif (Schema::hasColumn($table, 'updated_at')) { + $query = $query->orderBy('updated_at', 'DESC'); + Session::put("$rName.sort_col", 'updated_at'); + Session::put("$rName.sort_way", 'desc'); + } elseif (Schema::hasColumn($table, 'created_at')) { + $query = $query->orderBy('created_at', 'DESC'); + Session::put("$rName.sort_col", 'created_at'); + Session::put("$rName.sort_way", 'desc'); + } + return $query; + } + + /** + * Customize pagination with cache or config (default). + * + * @param \Illuminate\Database\Eloquent\Builder $query + * @param \App\Enums\Pagination\ItemsPerPaginationEnum|null $pagination + * @return \Illuminate\Contracts\Pagination\LengthAwarePaginator + */ + protected function paginate( + Builder $query, + ItemsPerPaginationEnum $pagination = null + ): \Illuminate\Contracts\Pagination\LengthAwarePaginator { + $currentRoutePath = Str::slug(request()->route()->getName()); + $cacheKey = "pagination.{$currentRoutePath}"; + $pagination = $pagination ?? ItemsPerPaginationEnum::twelve; + $pagination = ToolboxHelper::getValidatedEnum( + Cache::get($cacheKey, $pagination->value()), + 'pagination', + '\App\Enums\Pagination\ItemsPerPaginationEnum', + ); + if (Cache::get($cacheKey) !== $pagination) { + Cache::put($cacheKey, $pagination); + } + $query = $query->paginate($pagination); + return $query; + } + + /** + * Set the bootstrap theme or light (default). + * + * @param \Illuminate\Http\Request $request + * @return \Illuminate\Http\RedirectResponse + */ + protected function setTheme(Request $request): \Illuminate\Http\RedirectResponse + { + $theme = ToolboxHelper::getValidatedEnum( + $request->theme ?: Cache::get('theme', BootstrapThemeEnum::light->value()), + 'theme', + '\App\Http\Controllers\BootstrapThemeEnum', + ); + if (Cache::get("theme") !== $theme) { + Cache::put("theme", $theme); + } + return redirect()->back()->with('success', __('crud.messages.theme_updated')); + } +} diff --git a/app/Http/Controllers/Fo/Auth/ConfirmPasswordController.php b/app/Http/Controllers/Fo/Auth/ConfirmPasswordController.php new file mode 100644 index 0000000..35807ee --- /dev/null +++ b/app/Http/Controllers/Fo/Auth/ConfirmPasswordController.php @@ -0,0 +1,47 @@ +middleware('auth:frontend'); + } + + /** + * Display the password confirmation view. + * + * @return \Illuminate\View\View + */ + public function showConfirmForm(): View + { + if (Auth::guard('frontend')->check()) { + return \response()->redirectToRoute('home'); + } + return view('fo.auth.passwords.confirm'); + } + + /** + * Get the post register / login redirect path. + * + * @return string + */ + public function redirectPath(): string + { + return $this->authLoggedRedirectPath(); + } +} diff --git a/app/Http/Controllers/Fo/Auth/ForgotPasswordController.php b/app/Http/Controllers/Fo/Auth/ForgotPasswordController.php new file mode 100644 index 0000000..ca62add --- /dev/null +++ b/app/Http/Controllers/Fo/Auth/ForgotPasswordController.php @@ -0,0 +1,85 @@ +middleware('guest:frontend'); + } + + /** + * Display the form to request a password reset link. + * + * @return \Illuminate\View\View + */ + public function showLinkRequestForm(): View + { + return view('fo.auth.passwords.email'); + } + + /** + * Get the broker to be used during password reset. + * + * @return \Illuminate\Contracts\Auth\PasswordBroker + */ + public function broker(): PasswordBroker + { + return Password::broker('customers'); + } + + /** + * Get the response for a successful password reset link. + * ! Dans les deux cas on ne divulgue pas si un user existe. + * + * @return \Illuminate\Http\RedirectResponse + */ + protected function sendResetLinkResponse() + { + return back()->with('info', trans($this->message)); + } + + /** + * Get the response for a failed password reset link. + * ! Dans les deux cas on ne divulgue pas si un user existe. + * + * @param \Illuminate\Http\Request $request + * @param string $response + * @return \Illuminate\Http\RedirectResponse + */ + protected function sendResetLinkFailedResponse(Request $request, string $response) + { + // ! Ne pas notifier que l'utilisateur n'existe pas. + if ($response === 'passwords.user') { + return back()->with('info', trans($this->message)); + } + // * Renvoyer les autres message d'erreur style throttle. + return back() + ->withInput($request->only('email')) + ->withErrors(['email' => trans($response)]); + } +} diff --git a/app/Http/Controllers/Fo/Auth/LoginController.php b/app/Http/Controllers/Fo/Auth/LoginController.php new file mode 100644 index 0000000..d843938 --- /dev/null +++ b/app/Http/Controllers/Fo/Auth/LoginController.php @@ -0,0 +1,102 @@ +middleware('guest:frontend')->except('logout'); + } + + /** + * Get the guard to be used during authentication. + * + * @return \Illuminate\Contracts\Auth\StatefulGuard + */ + protected function guard(): StatefulGuard + { + return Auth::guard('frontend'); + } + + /** + * Show the application's login form. + * + * @return \Illuminate\View\View + */ + public function showLoginForm(): View + { + // * Fetch Coupon list (campaign wall) + $brList = Cache::remember('allbrs', 60, fn () => MesBrController::getStaticBr()); + + $gameModel = Game::query()->where('published', true)->first(); + + return view('fo.auth.login', compact('brList', 'gameModel')); + } + + /** + * The user has been authenticated. + * + * @param \Illuminate\Http\Request $request + * @param \Illuminate\Database\Eloquent\Model $user + * @return void + * @phpcs:disable Squiz.Commenting.FunctionComment.TypeHintMissing, Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassBeforeLastUsed + */ + protected function authenticated(Request $request, Model $user): void + { + $user->last_connection = \now(); + $user->saveOrFail(); + Session::flash('info', trans('Vous êtes à présent connecté')); + } + + /** + * The user has logged out of the application. + * + * @param \Illuminate\Http\Request $request + * @return void + * @phpcs:disable Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClass + */ + protected function loggedOut(Request $request): void + { + Session::flash('info', trans('Vous êtes à présent déconnecté')); + } + + /** + * Get the post register / login redirect path. + * + * @return string + */ + public function redirectPath(): string + { + return response()->redirectToIntended()->getTargetUrl(); + } +} diff --git a/app/Http/Controllers/Fo/Auth/RegisterController.php b/app/Http/Controllers/Fo/Auth/RegisterController.php new file mode 100644 index 0000000..b2eafad --- /dev/null +++ b/app/Http/Controllers/Fo/Auth/RegisterController.php @@ -0,0 +1,190 @@ +middleware('guest:frontend'); + } + + /** + * Get the guard to be used during authentication. + * + * @return \Illuminate\Contracts\Auth\StatefulGuard + */ + protected function guard() + { + return Auth::guard('frontend'); + } + + /** + * Show the application registration form. + * + * @return \Illuminate\View\View + */ + public function showRegistrationForm() + { + $staticPageModel = StaticPage::query()->where('type', StaticPageType::klub_register)->first(); + return view('fo.auth.register', compact('staticPageModel')); + } + + /** + * Get a validator for an incoming registration request. + * + * @param array $data + * @return \Illuminate\Contracts\Validation\Validator + * @throws \Illuminate\Validation\ValidationException If data is incorrect. + */ + protected function validator(array $data): ValidationValidator + { + $data['ok_cgv'] = \request()->boolean('ok_cgv'); + $data['phone'] = $data['phone'] ?? null; + $data['opt_in'] = ($data['opt_in'] ?? false) ? true : false; + + $request = new CreateAccountRequest(); + + $validateData = Validator::make( + $data, + $request->rules(), + $request->messages(), + $request->attributes() + ); + + if ($validateData) { + return $validateData; + } else { + try { + (new CrmCustomer())->fill($this->getOnlyCrmData($data)); + } catch (ExceptionsValidationException $e) { + throw ValidationException::withMessages([ + 'error' => $e->getMessage() + ]); + } + } + } + + /** + * Create a new user instance after a valid registration. + * + * @param array $data + * @return \App\Models\Customer + * @throws \Illuminate\Validation\ValidationException If there are validation errors. + * @throws \RuntimeException On unhandled api Error. + */ + protected function create(array $data): Customer + { + $data['country'] = Country::france(); + $data['ok_cgv'] = \request()->boolean('ok_cgv'); + $data['phone'] = $data['phone'] ?? null; + $data['opt_in'] = ($data['opt_in'] ?? false) ? true : false; + + try { + return DB::transaction(function () use ($data) { + $crmCustomer = new CrmCustomer($this->getOnlyCrmData($data)); + + // * Country Is forced to france + $crmCustomer->country = Country::france(); + $crmCustomer->save(); + + // * Enregistrement du Hashcode + /** @var \App\Models\Customer $customer */ + $customer = new Customer( + Arr::only($data, (new \ReflectionClass(\App\Models\Customer::class)) + ->getProperty('fillable')->getDefaultValue()) + ); + $customer->hashcode = $crmCustomer->hashcode; + // ! Last connection sera null, pour identifier la deuxième connexion, + // ! Pour accéder au partie du Klub. + if ($customer->saveOrFail()) { + // phpcs:ignore Generic.Files.LineLength.TooLong + Session::flash('success', trans('Votre compte à bien été crée, vous devez valider votre adresse email, un email de confirmation vous à été envoyé.')); + } + + return $customer; + }); + } catch (ApiErrorException $e) { + if ($e->getApiError()->equals(ApiError::customerExists())) { + throw ValidationException::withMessages([ + 'error' => 'Un compte est déjà associé à cette adresse email.' + ]); + } + if ($e->getApiError()->equals(ApiError::validationFailed())) { + throw ValidationException::withMessages([ + 'error' => $e->getMessage() + ]); + } + report($e); + Log::error(__CLASS__ . '::create reached end of possibilities.'); + throw new \RuntimeException(__CLASS__ . '::create reached end of possibilities.'); + } catch (ExceptionsValidationException $e) { + throw ValidationException::withMessages([ + 'error' => $e->getMessage() + ]); + } //end try + } + + /** + * Get the post register / login redirect path. + * + * @return string + */ + public function redirectPath() + { + return $this->authLoggedRedirectPath(); + } + + /** + * Get only data used in crm + * + * @param array $data + * @return array + */ + private function getOnlyCrmData(array $data): array + { + return \array_intersect_key( + $data, + [ + 'firstname' => '', + 'lastname' => '', + 'birth_date' => '', + 'address' => '', + 'postcode' => '', + 'country' => '', + 'city' => '', + 'phone' => '', + 'email' => '', + 'password' => '', + 'opt_in' => '', + ] + ); + } +} diff --git a/app/Http/Controllers/Fo/Auth/ResetPasswordController.php b/app/Http/Controllers/Fo/Auth/ResetPasswordController.php new file mode 100644 index 0000000..231fd8c --- /dev/null +++ b/app/Http/Controllers/Fo/Auth/ResetPasswordController.php @@ -0,0 +1,124 @@ +middleware('guest:frontend'); + } + + /** + * Get the guard to be used during authentication. + * + * @return \Illuminate\Contracts\Auth\StatefulGuard + */ + protected function guard(): StatefulGuard + { + return Auth::guard('frontend'); + } + + /** + * Display the password reset view for the given token. + * + * If no token is present, display the link request form. + * + * @param \Illuminate\Http\Request $request + * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View + */ + public function showResetForm(Request $request): View + { + $token = $request->route()->parameter('token'); + + return view('fo.auth.passwords.reset')->with( + ['token' => $token, 'email' => $request->email] + ); + } + + /** + * Reset the given user's password. + * + * @param mixed $customer + * @param mixed $password + * @return void + * @throws \Illuminate\Validation\ValidationException If something goes wrong. + */ + protected function resetPassword(mixed $customer, mixed $password): void + { + /** @var \App\Models\Customer\Customer $user */ + /** @var string $password */ + + /** @var \LDC\LDCCRM\CrmApiV2 */ + $crm = app('crmAPI'); + + try { + if (!($crmCustomer = $crm->getCustomer($customer->hashcode))) { + throw ValidationException::withMessages([ + 'error' => 'Changement impossible, compte inexistant.' + ]); + } + $crmCustomer->password = $password; + $crmCustomer->save(); + } catch (\TypeError | CrmException | ApiErrorException $e) { + report($e); + throw ValidationException::withMessages([ + 'error' => 'Une erreur est survenue, merci de réessayer ultérieurement.' + ]); + } catch (ExceptionsValidationException $e) { + throw ValidationException::withMessages([ + 'error' => $e->getMessage() + ]); + } + + $customer->setRememberToken(Str::random(60)); + + $customer->save(); + + event(new PasswordReset($customer)); + + $this->guard()->login($customer); + } + + /** + * Get the post register / login redirect path. + * + * @return string + */ + public function redirectPath(): string + { + return $this->authLoggedRedirectPath(); + } + + /** + * Get the broker to be used during password reset. + * + * @return \Illuminate\Contracts\Auth\PasswordBroker + */ + public function broker(): PasswordBroker + { + return Password::broker('customers'); + } +} diff --git a/app/Http/Controllers/Fo/Auth/VerificationController.php b/app/Http/Controllers/Fo/Auth/VerificationController.php new file mode 100644 index 0000000..10eb2a8 --- /dev/null +++ b/app/Http/Controllers/Fo/Auth/VerificationController.php @@ -0,0 +1,148 @@ +middleware('auth:frontend'); + $this->middleware('signed')->only('verify'); + $this->middleware('throttle:6,1')->only('verify', 'resend'); + } + + /** + * Show the email verification notice. + * + * @param \Illuminate\Http\Request $request + * @return \Illuminate\Http\RedirectResponse|\Illuminate\Contracts\View\View + */ + public function show(Request $request): RedirectResponse|View + { + return $request->user('frontend')->hasVerifiedEmail() + ? redirect($this->redirectPath()) + : view('fo.auth.verify'); + } + + /** + * Mark the authenticated user's email address as verified. + * + * ! Overloaded trait + * + * @param \Illuminate\Http\Request $request + * @return \Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse + * @throws \Illuminate\Auth\Access\AuthorizationException If request is invalid. + */ + public function verify(Request $request): JsonResponse|RedirectResponse + { + /** @var \App\Models\Customer */ + $user = $request->user('frontend'); + + if (!hash_equals((string)$request->route('id'), (string)$user->getKey())) { + throw new AuthorizationException(); + } + + if (!hash_equals((string)$request->route('hash'), sha1($user->getEmailForVerification()))) { + throw new AuthorizationException(); + } + + if ($user->hasVerifiedEmail()) { + return $request->wantsJson() + ? new JsonResponse([], 204) + : redirect($this->redirectPath()); + } + + DB::transaction(function () use ($user) { + if ($user->markEmailAsVerified()) { + $this->setCrmCustomerAsVerified($user); + event(new Verified($user)); + } + }); + + if ($response = $this->verified($request)) { + return $response; + } + + return $request->wantsJson() + ? new JsonResponse([], 204) + : redirect($this->redirectPath())->with('verified', true); + } + + /** + * The user has been verified. + * + * @param \Illuminate\Http\Request $request + * @return mixed + * @phpcs:disable Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClass + */ + protected function verified(Request $request) + { + // phpcs:enable + return redirect($this->redirectPath())->with('success', trans( + 'Votre compte est bien activé' + )); + } + + /** + * Get the post register / login redirect path. + * + * @return string + */ + public function redirectPath(): string + { + return $this->authLoggedRedirectPath(); + } + + /** + * Set Crm Customer active + * + * @param \App\Models\Customer $customer + * @return void + * @throws \Illuminate\Http\Exceptions\HttpResponseException In case of failure. + */ + private function setCrmCustomerAsVerified(Customer $customer): void + { + try { + $customer->clearApiDataCache(); + $crmCustomer = $customer->api_data; + $crmCustomer->activate(); + $customer->clearApiDataCache(); + } catch (ValidationException) { + redirect($this->redirectPath())->with('error', trans( + 'Une erreur est survenue' + ))->throwResponse(); + } catch (CrmException | ApiErrorException $e) { + if ($e->getApiError()->equals(ApiError::customerAlreadyActive())) { + // * Ignore this and continue, as it may be activated via another CRM service. + return; + } else { + report($e); + redirect($this->redirectPath())->with('error', trans( + 'Une erreur est survenue' + ))->throwResponse(); + } + } + } +} diff --git a/app/Http/Controllers/Fo/CommitmentController.php b/app/Http/Controllers/Fo/CommitmentController.php new file mode 100644 index 0000000..7b26c42 --- /dev/null +++ b/app/Http/Controllers/Fo/CommitmentController.php @@ -0,0 +1,39 @@ +with('pictos', fn (BelongsToMany $q) => $q->where('published', true))->firstOrFail(); + + /** @var \App\Models\StaticPage $staticPageModel */ + $staticPage = StaticPage::query()->where('type', StaticPageType::commitments)->firstOrFail(); + + /** @var \App\Models\LocalCommitment $localCommitmentModel */ + $localCommitments = LocalCommitment::query() + ->where('published', true) + ->limit(2)->get(); + + return view('fo.pages.commitments', [ + 'staticPageModel' => $staticPage, + 'localCommitmentList' => $localCommitments, + 'commitmentPageModel' => $commitmentPage, + ]); + } +} diff --git a/app/Http/Controllers/Fo/ContactController.php b/app/Http/Controllers/Fo/ContactController.php new file mode 100644 index 0000000..af0ecef --- /dev/null +++ b/app/Http/Controllers/Fo/ContactController.php @@ -0,0 +1,64 @@ +where('type', StaticPageType::contact)->first(); + + return view('fo.pages.contact', compact('products', 'staticPageModel')); + } + + /** + * Submit contact form + * + * @param \App\Http\Requests\Fo\ContactFormRequest $request + * @return \Illuminate\Http\RedirectResponse + */ + public function contactSubmit(ContactFormRequest $request): RedirectResponse + { + // * Cast expected types + $validated = $request->validated(); + Arr::set($validated, 'type', ObjectEnum::make(Arr::get($validated, 'type'))); + Arr::set($validated, 'product', Product::query() + ->where('id', Arr::get($validated, 'product'))->first()); + $expiration_date = Arr::get($validated, 'expiration_date'); + Arr::set($validated, 'expiration_date', $expiration_date ? + Carbon::createFromFormat('Y-m-d', $expiration_date) : null); + Mail::send(new SendContactMail((object)$validated)); + + + return redirect()->route('fo.contact') + ->with( + 'success', + trans( + 'Bonjour, votre message a bien été transmis. Cordialement, l’équipe :app_name.', + [ + 'app_name' => config('app.name') + ] + ) + ); + } +} diff --git a/app/Http/Controllers/Fo/HomeController.php b/app/Http/Controllers/Fo/HomeController.php new file mode 100644 index 0000000..9533083 --- /dev/null +++ b/app/Http/Controllers/Fo/HomeController.php @@ -0,0 +1,27 @@ +where('published', true)->orderBy('created_at', 'desc')->limit(6)->get(); + $staticPageModel = StaticPage::query()->where('type', StaticPageType::home)->first(); + return view('fo.pages.home', compact('staticPageModel', 'rangeModels', 'klubBloc', 'newsModels')); + } +} diff --git a/app/Http/Controllers/Fo/Klub/CustomerController.php b/app/Http/Controllers/Fo/Klub/CustomerController.php new file mode 100644 index 0000000..a14cf1e --- /dev/null +++ b/app/Http/Controllers/Fo/Klub/CustomerController.php @@ -0,0 +1,112 @@ +user(); + /** @var \LDC\LDCCRM\Models\Customer $crmCustomer */ + $crmCustomer = $customer->apiData; + + return view('fo.pages.klub.profile', compact('crmCustomer')); + } + + /** + * Update Customer profile + * + * @param \App\Http\Requests\Fo\Customers\UpdateAccountRequest $request + * @return \Illuminate\Http\RedirectResponse + */ + public function profileUpdate(UpdateAccountRequest $request): RedirectResponse + { + /** @var \App\Models\Customer $customer */ + $customer = auth('frontend')->user(); + + return $this->updateCrmCustomerInfo($customer, $request->validated()) ? + back()->with('success', trans('Vos informations ont bien été enregistrées.')) : + back()->withInput()->withErrors(trans('Une erreur est survenue, merci de réessayer ultérieurement.')); + } + + /** + * Show update customer password form + * + * @return \Illuminate\Contracts\View\View|\Illuminate\Contracts\View\Factory + */ + public function password() + { + return view('fo.auth.passwords.change'); + } + + /** + * Update customer password + * + * @param \App\Http\Requests\Fo\Customers\UpdatePasswordRequest $request + * @return \Illuminate\Http\RedirectResponse + */ + public function passwordSubmit(UpdatePasswordRequest $request): RedirectResponse + { + /** @var \App\Models\Customer */ + $customer = \auth('frontend')->user(); + + if ($this->updateCrmCustomerInfo($customer, ['password' => $request->get('password')])) { + event(new PasswordReset($customer)); + return back()->with('success', trans('Vos informations ont bien été enregistrées.')); + } + + return back()->withInput()->withErrors(trans('Une erreur est survenue, merci de réessayer ultérieurement.')); + } + + /** + * Updates user info + * + * @param \App\Models\Customer $customer + * @param array $data + * @return boolean + * @throws \Illuminate\Validation\ValidationException If something failed. + */ + private function updateCrmCustomerInfo(Customer $customer, array $data) + { + return DB::transaction(function () use ($customer, $data) { + try { + if (\array_key_exists('email', $data)) { + $customer->email = $data['email']; + $customer->saveOrFail(); + } + return $customer->updateApiData($data); + } catch (CrmValidationException $e) { + throw ValidationException::withMessages([ + 'error' => $e->getMessage() + ]); + } catch (ApiErrorException $e) { + if ($e->getApiError()->equals(ApiError::validationFailed())) { + throw ValidationException::withMessages([ + 'error' => $e->getMessage() + ]); + } + report($e); + return false; + } //end try + }); + } +} diff --git a/app/Http/Controllers/Fo/Klub/KlubController.php b/app/Http/Controllers/Fo/Klub/KlubController.php new file mode 100644 index 0000000..ae1680a --- /dev/null +++ b/app/Http/Controllers/Fo/Klub/KlubController.php @@ -0,0 +1,109 @@ +user(); + /** @var \LDC\LDCCRM\Models\Customer $crmCustomer */ + $crmCustomer = $customer->apiData; + + // * Fetch Coupon list (campaign wall) + $brList = Cache::remember('allbrs', 60, fn () => MesBrController::getStaticBr()); + + // * There should always be a published game + $game = Game::query()->where('published', true)->first(); + + $staticPageModel = StaticPage::query()->where('type', StaticPageType::klub)->first(); + + return view('fo.pages.klub.home', compact('crmCustomer', 'brList', 'game', 'staticPageModel')); + } + + /** + * Display questions + * + * @return \Illuminate\Contracts\View\View + */ + public function questions(): View + { + /** @var \App\Models\Customer $customer */ + $customer = auth('frontend')->user(); + /** @var \LDC\LDCCRM\Models\Customer */ + $crmCustomer = $customer->apiData; + $questions = Customer::cacheCrm( + $customer->hashcode, + 'questions', + fn () => Question::unansweredBy($crmCustomer) + ); + + return view('fo.pages.klub.questions', compact('crmCustomer', 'questions')); + } + + /** + * Save Customer answers to Crm questions + * + * @param \App\Http\Requests\Fo\Customers\CrmQuestionsAnswersRequest $request + * @return \Illuminate\Http\RedirectResponse + */ + public function questionsSubmit(CrmQuestionsAnswersRequest $request): RedirectResponse + { + /** @var \App\Models\Customer $customer */ + $customer = auth('frontend')->user(); + /** @var \LDC\LDCCRM\Models\Customer */ + $crmCustomer = $customer->apiData; + $questions = Customer::cacheCrm( + $customer->hashcode, + 'questions', + fn () => Question::unansweredBy($crmCustomer) + ); + + $responses = $request->post('question'); + // * int cast on ids + \array_walk_recursive($responses, function (&$id) { + $id = intval($id); + }); + // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassBeforeLastUsed + $responses = Arr::mapWithKeys($questions, fn ($question, $index) => [ + optional(Arr::get($questions, $index))->id => Arr::get($responses, $index) + ]); + try { + foreach ($responses as $repId => $reponse) { + Answer::setQuestionAnswers($customer->hashcode, $repId, Arr::wrap($reponse)); + } + } catch (ApiErrorException | CrmValidationException | CrmException $e) { + report($e); + return back()->withErrors(trans('Une erreur est survenue, merci de réessayer ultérieurement.')); + } finally { + // * Clear Customer cache + Customer::clearCrmCached($customer->hashcode, 'questions'); + } + return \response()->redirectToRoute('fo.klub.home') + ->with('success', trans( + 'Merci pour vos réponses, nous les avons bien pris en compte, vous pouvez maintenant profiter du Klub.' + )); + } +} diff --git a/app/Http/Controllers/Fo/Klub/MesBrController.php b/app/Http/Controllers/Fo/Klub/MesBrController.php new file mode 100644 index 0000000..735d60d --- /dev/null +++ b/app/Http/Controllers/Fo/Klub/MesBrController.php @@ -0,0 +1,274 @@ +user(); + /** @var \LDC\LDCCRM\Models\Customer $crmCustomer */ + $crmCustomer = $customer->apiData; + + $mesBr = $this->fetchActiveBr($crmCustomer); + + return view('fo.pages.klub.mesbr', compact('crmCustomer', 'mesBr')); + } + + /** + * Fetch PDF BR + * + * @param \App\Http\Requests\Fo\MesBr\PrintCouponsRequest $request + * @return \Symfony\Component\HttpFoundation\StreamedResponse + */ + public function fetchBrPdf(PrintCouponsRequest $request): StreamedResponse + { + /** @var \App\Models\Customer $customer */ + $customer = auth('frontend')->user(); + + $pdf = $this->fetchBrPdfFromMesBr($customer, $request->post('coupon')); + + if ($pdf === null) { + \back()->withErrors([ + 'coupon' => trans('Impossible de récupérer le fichier pdf') + ])->throwResponse(); + } + + return response()->streamDownload(function () use ($pdf) { + echo $pdf; + }, trans('mes-bons-de-reduction-:date.pdf', [ + 'date' => now()->isoFormat('DD-MM-Y-HH\hmm') + ]), [ + 'Cache-Control' => 'public, must-revalidate, max-age=0', + 'Content-Description' => 'File Transfer', + 'Content-Type' => 'application/pdf', + 'Expires' => 'Sat, 26 Jul 1997 05:00:00 GMT', + 'Last-Modified' => gmdate('D, d M Y H:i:s') . ' GMT', + // For glory. + 'X-Generator' => 'mPDF' + ]); + } + + /** + * Fetch coupons PDF + * + * @param \App\Models\Customer $customer + * @param array $coupons + * @return string|null + */ + private function fetchBrPdfFromMesBr(\App\Models\Customer $customer, array $coupons): string|null + { + /** @var \LDCWEB\MesBR */ + $mesBr = app('mesbr'); + + $message = null; + + try { + $res = $mesBr->printCoupons($customer->hashcode, $coupons); + if (!$res) { + $message = "ERROR MesBR API : printCoupons on api failed {$customer->hashcode}"; + } elseif (Arr::get((array)$res, 'status') === 'KO') { + $message = Arr::get( + (array)$res, + 'message', + "ERROR MesBR API : printCoupons on api failed (no message) {$customer->hashcode}" + ); + } + + if ($message === null) { + return \base64_decode(strval(optional($res)->pdf)); + } + report(new \RuntimeException($message)); + return null; + } catch (\Exception $e) { + report($e); + return null; + } //end try + } + + /** + * Fetch customer BRs + * + * This should be an object like + * + * +"status": "OK" + * +"name": "Test tregalette" + * +"limited_printing": 0 + * +"total": 15 + * +"available_amount": 10.5 + * +"total_amount": 10.5 + * +"coupons": array{ + * +"code": "2950675055365" + * +"name": "Webcoupon 1€ Filet de canard Confit" + * +"value": 1 + * +"used": false + * +"desktop_image_available": "https://dev.mesbr.eu/coupons/96kjV1ZwGb7Z4m8wyzBCuurEFPlSLHFaAGVWuO8F.png" + * +"desktop_image_unavailable": "https://dev.mesbr.eu/coupons/K7BSVFOCs2K1XCi78wR2YgEfGyFH6AJthyupTEYz.png" + * +"mobile_image_available": "https://dev.mesbr.eu/coupons/KE3YodVeDPSG7pVzPQZhPEpVGlxwjTPWCJ8WGN29.png" + * +"mobile_image_unavailable": "https://dev.mesbr.eu/coupons/FOFhdT0d2X1AURQfYm9O7ac2ca9SGUk3IHCTWJiZ.png" + * } + * + * @param \LDC\LDCCRM\Models\Customer $customer + * @return object|null + */ + private function fetchActiveBr(\LDC\LDCCRM\Models\Customer $customer): object|null + { + if (!$this->createOrUpdateMesBrCustomer($customer)) { + return null; + } + + /** @var \LDCWEB\MesBR */ + $mesBr = app('mesbr'); + + $message = null; + + try { + $res = $mesBr->getMurCustomer($customer->hashcode); + if (!$res) { + $message = "ERROR MesBR API : getMurCustomer on api failed {$customer->hashcode}"; + } elseif (Arr::get((array)$res, 'status') === 'KO') { + $message = Arr::get( + (array)$res, + 'message', + "ERROR MesBR API : getMurCustomer on api failed (no message) {$customer->hashcode}" + ); + } + + if ($message === null) { + // * Replace local picture urls for dev Env + if (config('app.env') === 'local') { + $res = self::replaceCouponsPictureHost($res); + } + return $res; + } + report(new \RuntimeException($message)); + return null; + } catch (\Exception $e) { + report($e); + return null; + } //end try + } + + /** + * Report for sure true if the customer is set in mesBr + * + * @param \LDC\LDCCRM\Models\Customer $customer + * @return boolean + */ + private function createOrUpdateMesBrCustomer(\LDC\LDCCRM\Models\Customer $customer): bool + { + // * Ajout du customer sur mes BR + /** @var \LDCWEB\MesBR */ + $mesBr = app('mesbr'); + + $message = null; + + /** + * Observed behavior, + * calling multiple times createCustomer results in + * create or update the customer. + */ + try { + // * Create (or update) the customer + $res = $mesBr->createCustomer($customer->hashcode, $customer->email, 'France'); + if (!$res) { + $message = "ERROR MesBR API : createCustomer on api failed {$customer->hashcode}"; + } elseif (Arr::get((array)$res, 'status') === 'KO') { + $message = Arr::get( + (array)$res, + 'message', + "ERROR MesBR API : createCustomer on api failed (no message) {$customer->hashcode}" + ); + } + + if ($message === null) { + return true; + } + report(new \RuntimeException($message)); + return false; + } catch (\Exception $e) { + report($e); + return false; + } //end try + } + + // * STATIC Fetch BR + + /** + * Static method to fetch br List + * + * ! see fetchActiveBr for output object definition + * + * @return object|null + */ + public static function getStaticBr(): object|null + { + /** @var \LDCWEB\MesBR */ + $mesBr = app('mesbr'); + + $message = null; + + try { + $res = $mesBr->getMur(); + if (!$res) { + $message = 'ERROR MesBR API : getMur on api failed'; + } elseif (Arr::get((array)$res, 'status') === 'KO') { + $message = Arr::get( + (array)$res, + 'message', + 'ERROR MesBR API : getMur on api failed (no message)' + ); + } + + if ($message === null) { + // * Replace local picture urls for dev Env + if (config('app.env') === 'local') { + $res = self::replaceCouponsPictureHost($res); + } + return $res; + } + report(new \RuntimeException($message)); + return null; + } catch (\Exception $e) { + report($e); + return null; + } //end try + } + + /** + * Replace coupons picture host + * + * @param object $res + * @return object + */ + private static function replaceCouponsPictureHost(object $res): object + { + $replaceUrl = fn (?string $url) => $url ? Str::replace( + 'https://dev.mesbr.eu', + config('mesbr.endpoint'), + $url + ) : $url; + + $res->coupons = collect($res->coupons)->map(fn (object $coupon) => + (object)array_merge((array)$coupon, [ + 'desktop_image_available' => $replaceUrl($coupon->desktop_image_available), + 'desktop_image_unavailable' => $replaceUrl($coupon->desktop_image_unavailable), + 'mobile_image_available' => $replaceUrl($coupon->mobile_image_available), + 'mobile_image_unavailable' => $replaceUrl($coupon->mobile_image_unavailable), + ]))->all(); + return $res; + } +} diff --git a/app/Http/Controllers/Fo/ProductController.php b/app/Http/Controllers/Fo/ProductController.php new file mode 100644 index 0000000..ed0cb12 --- /dev/null +++ b/app/Http/Controllers/Fo/ProductController.php @@ -0,0 +1,44 @@ +where('slug', $slug)->where('published', true)->firstOrFail(); + $productModels = Product::query()->where('slug', '!=', $slug)->where('published', true)->get()->random(2); + $klubBloc = KlubBloc::first(); + $rangeModels = Range::query()->whereNot('id', $productModel->range->id)->get()->random(2); + + return view('fo.pages.products.show', compact('productModel', 'productModels', 'klubBloc', 'rangeModels')); + } + + /** + * Get filtered products. + * + * @return \Illuminate\Http\JsonResponse + */ + public function productsFiltered(): \Illuminate\Http\JsonResponse + { + $productModels = Product::query() + ->where('published', true) + ->where('range_id', request()->range_id) + ->orderBy('updated_at', 'desc') + ->get(); + $productModels = CollectionHelper::paginateManually($productModels, 9, request()->page); + return response()->json($productModels); + } +} diff --git a/app/Http/Controllers/Fo/RangeController.php b/app/Http/Controllers/Fo/RangeController.php new file mode 100644 index 0000000..8ae5cce --- /dev/null +++ b/app/Http/Controllers/Fo/RangeController.php @@ -0,0 +1,56 @@ +get(); + $staticPageModel = StaticPage::query()->where('type', StaticPageType::ranges)->first(); + + return view('fo.pages.ranges.index', compact('rangeModels', 'staticPageModel')); + } + + /** + * Show a specific resource. + * + * @param string $slug + * @return \Illuminate\Contracts\View\View + */ + public function show(string $slug): \Illuminate\Contracts\View\View + { + $rangeModel = Range::query()->where('slug', $slug)->firstOrFail(); + $rangeModels = Range::query()->where('slug', '!=', $slug)->get(); + $productModels = Product::query()->where('range_id', $rangeModel->id) + ->where('published', true) + ->orderBy('order', 'asc') + ->paginate(9); + $staticPageModel = StaticPage::query()->where('type', StaticPageType::range)->first(); + $newsModels = News::query() + ->where('published', true) + ->orderBy('created_at', 'desc') + ->limit(6) + ->get(); + + return view('fo.pages.ranges.show', compact( + 'rangeModel', + 'rangeModels', + 'productModels', + 'staticPageModel', + 'newsModels' + )); + } +} diff --git a/app/Http/Controllers/Fo/StaticPageController.php b/app/Http/Controllers/Fo/StaticPageController.php new file mode 100644 index 0000000..c9fcccd --- /dev/null +++ b/app/Http/Controllers/Fo/StaticPageController.php @@ -0,0 +1,55 @@ +where('type', StaticPageType::legals)->get(); + return view('fo.pages.legals', ['staticPageModel' => $legalPage[0]]); + } + + /** + * Policies show + * + * @param \App\Models\StaticPage $policiesPage + * @return \Illuminate\Contracts\View\View + */ + public function policies(StaticPage $policiesPage) + { + $policiesPage = StaticPage::query()->where('type', StaticPageType::confidentiality)->get(); + return view('fo.pages.legals', ['staticPageModel' => $policiesPage[0]]); + } + + /** + * HistoricalMilestone show + * + * @return \Illuminate\Contracts\View\View + */ + public function ourHistory() + { + $newsModels = News::query() + ->where('published', true) + ->orderBy('created_at', 'desc') + ->limit(6) + ->get(); + $rangeModels = Range::all(); + $milestoneModels = HistoricalMilestone::orderBy('year', 'asc')->where('published', true)->get(); + $staticPageModel = StaticPage::query()->where('type', StaticPageType::history)->first(); + return view('fo.pages.history', compact('staticPageModel', 'newsModels', 'rangeModels', 'milestoneModels')); + } +} diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php new file mode 100644 index 0000000..15a9786 --- /dev/null +++ b/app/Http/Kernel.php @@ -0,0 +1,70 @@ + + */ + protected $middleware = [ + \App\Http\Middleware\TrustHosts::class, + \App\Http\Middleware\TrustProxies::class, + \Illuminate\Http\Middleware\HandleCors::class, + \App\Http\Middleware\PreventRequestsDuringMaintenance::class, + \Illuminate\Foundation\Http\Middleware\ValidatePostSize::class, + \App\Http\Middleware\TrimStrings::class, + \Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class, + ]; + + /** + * The application's route middleware groups. + * + * @var array> + */ + protected $middlewareGroups = [ + 'web' => [ + 'htmlsanitize', + \App\Http\Middleware\EncryptCookies::class, + \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class, + \Illuminate\Session\Middleware\StartSession::class, + \Illuminate\View\Middleware\ShareErrorsFromSession::class, + \App\Http\Middleware\VerifyCsrfToken::class, + \Illuminate\Routing\Middleware\SubstituteBindings::class, + \App\Http\Middleware\SecureHeaders::class + ], + + 'api' => [ + \Illuminate\Routing\Middleware\ThrottleRequests::class . ':api', + \Illuminate\Routing\Middleware\SubstituteBindings::class, + ], + ]; + + /** + * The application's route middleware. + * + * These middleware may be assigned to groups or used individually. + * + * @var array + */ + protected $middlewareAliases = [ + 'auth' => \App\Http\Middleware\Authenticate::class, + 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class, + 'auth.session' => \Illuminate\Session\Middleware\AuthenticateSession::class, + 'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class, + 'can' => \Illuminate\Auth\Middleware\Authorize::class, + 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class, + 'password.confirm' => \Illuminate\Auth\Middleware\RequirePassword::class, + 'signed' => \App\Http\Middleware\ValidateSignature::class, + 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class, + 'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class, + 'htmlsanitize' => \App\Http\Middleware\HtmlSanitizer::class, + 'crm_questions' => \App\Http\Middleware\CrmMiddlewareQuestions::class, + ]; +} diff --git a/app/Http/Middleware/Authenticate.php b/app/Http/Middleware/Authenticate.php new file mode 100644 index 0000000..a332aa5 --- /dev/null +++ b/app/Http/Middleware/Authenticate.php @@ -0,0 +1,39 @@ + route('bo.login') + ]; + if (!$request->expectsJson()) { + // * Notify must login + Session::flash('warning', trans('Veuillez vous connecter pour continuer')); + + foreach ($request->route()->gatherMiddleware() as $middleware) { + if (\is_string($middleware) and strpos($middleware, 'auth:') !== false) { + $route = $logins[str_replace('auth:', '', $middleware)] ?? null; + if ($route) { + return $route; + } + } + } + return route('fo.login'); + } + + return null; + } +} diff --git a/app/Http/Middleware/CrmMiddlewareQuestions.php b/app/Http/Middleware/CrmMiddlewareQuestions.php new file mode 100644 index 0000000..992a11c --- /dev/null +++ b/app/Http/Middleware/CrmMiddlewareQuestions.php @@ -0,0 +1,42 @@ +check() and + $user = \auth('frontend')->user() and + $user->last_connection !== null + ) { + /** @var \LDC\LDCCRM\Models\Customer */ + $crmCustomer = $user->apiData; + $questions = Customer::cacheCrm( + $user->hashcode, + 'questions', + fn () => Question::unansweredBy($crmCustomer) + ); + if (count($questions)) { + return \response()->redirectToRoute('fo.klub.questions'); + } + } + return $next($request); + } +} diff --git a/app/Http/Middleware/EncryptCookies.php b/app/Http/Middleware/EncryptCookies.php new file mode 100644 index 0000000..b6e9bbc --- /dev/null +++ b/app/Http/Middleware/EncryptCookies.php @@ -0,0 +1,15 @@ + + */ + protected $except = []; +} diff --git a/app/Http/Middleware/HtmlSanitizer.php b/app/Http/Middleware/HtmlSanitizer.php new file mode 100644 index 0000000..857ca84 --- /dev/null +++ b/app/Http/Middleware/HtmlSanitizer.php @@ -0,0 +1,61 @@ +all(); + /** @var callable|null */ + $cleanInput = null; + $cleanInput = function ( + null|string|array &$input, + string $name, + ?string $rootName = null + ) use ( + $params, + &$cleanInput + ): void { + // * Nested element array + if (is_array($input)) { + array_walk_recursive($input, $cleanInput, $name); + } + if (!is_string($input)) { + return; + } + if (in_array($name, $params) or in_array($rootName ?? $name, $params)) { + // ? Is a json input ? + if ($isJson = \json_decode($input, true) and is_array($isJson)) { + // ! Decode each json field recursive. + \array_walk_recursive($isJson, function (string|array &$item) { + if (\is_string($item)) { + $item = clean($item); + $item = ToolboxHelper::stripCkEditorSchemesOnMediaInputs($item); + } + }); + } else { + $input = clean($input); + $input = ToolboxHelper::stripCkEditorSchemesOnMediaInputs($input); + } + } else { + $input = strip_tags($input); + } + }; + \array_walk($inputs, $cleanInput); + $request->merge($inputs); + return $next($request); + } +} diff --git a/app/Http/Middleware/PreventRequestsDuringMaintenance.php b/app/Http/Middleware/PreventRequestsDuringMaintenance.php new file mode 100644 index 0000000..842e4b9 --- /dev/null +++ b/app/Http/Middleware/PreventRequestsDuringMaintenance.php @@ -0,0 +1,15 @@ + + */ + protected $except = []; +} diff --git a/app/Http/Middleware/RedirectIfAuthenticated.php b/app/Http/Middleware/RedirectIfAuthenticated.php new file mode 100644 index 0000000..2c78eaf --- /dev/null +++ b/app/Http/Middleware/RedirectIfAuthenticated.php @@ -0,0 +1,43 @@ +check()) { + switch ($guard) { + case 'frontend': + return \redirect()->route('fo.homepage'); + case 'backend': + if (!$request->routeIs('bo.*')) { + continue; + } + return \redirect()->route('bo.dashboard'); + default: + throw new \RuntimeException("Unhandled guard `{$guard}` ."); + } + } + } + + return $next($request); + } +} diff --git a/app/Http/Middleware/SecureHeaders.php b/app/Http/Middleware/SecureHeaders.php new file mode 100644 index 0000000..c5e47cf --- /dev/null +++ b/app/Http/Middleware/SecureHeaders.php @@ -0,0 +1,118 @@ +removeUnwantedHeaders($this->unwantedHeaderList); + $response = $next($request); + $response->headers->set('Referrer-Policy', 'no-referrer-when-downgrade'); + $response->headers->set('X-Content-Type-Options', 'nosniff'); + $response->headers->set('X-XSS-Protection', '1; mode=block'); + $response->headers->set('X-Frame-Options', 'SAMEORIGIN'); + $response->headers->set('Strict-Transport-Security', 'max-age=31536000; includeSubDomains;'); + $cspPolicies = [ + "default-src 'none';", + "manifest-src 'self';", + // * CKEDITOR Specific https://ckeditor.com/docs/ckeditor5/latest/installation/advanced/csp.html + "connect-src 'self' " . implode(' ', [ + // * VITE DEV + config('app.debug') ? "wss://{$host}:4443" : '', + config('app.debug') ? "https://{$host}:4443" : '', + 'https://yl.s-web.fr' + ]) . ';', + "img-src * data: blob:;", + 'frame-src ' . implode(' ', [ + 'https://www.google.com/recaptcha/', + 'https://recaptcha.google.com/recaptcha/', + 'https://www.google.com/maps/' + ]) . ';', + "font-src 'self' data: " . \implode(' ', [ + // * VITE DEV + config('app.debug') ? "https://{$host}:4443" : '', + 'https://fonts.gstatic.com;' + ]) . ';', + // ! Using CKEditor will must have unsafe-inline style + // phpcs:ignore Generic.Files.LineLength.TooLong + "style-src 'self' 'unsafe-inline' " . \implode(' ', [ + 'https://cdnjs.cloudflare.com', + // * File Manager + 'https://fonts.googleapis.com', + 'https://cdn.jsdelivr.net', + 'https://use.fontawesome.com', + 'https://fonts.googleapis.com', + // * VITE DEV + config('app.debug') ? "https://{$host}:4443" : '', + ]) . ';', + // ! If you dont use ckeditor use this + // "style-src 'self' 'nonce-$nonce';", + // phpcs:ignore Generic.Files.LineLength.TooLong + "script-src 'self' {$jsDev} " . \implode(' ', [ + 'https: blob:', + 'https://www.googletagmanager.com', + 'https://cdnjs.cloudflare.com', + "$scheme://www.google-analytics.com", + // * VITE DEV + config('app.debug') ? "https://{$host}:4443" : '', + ]) . ';' + ]; + + $response->headers->set( + 'Content-Security-Policy', + implode(' ', $cspPolicies) . $reportUri + ); + $response->headers->set('Feature-Policy', 'fullscreen \'self\';'); + return $response; + } + + /** + * Remove unwanted headers + * + * @param array $headerList + * @return void + */ + private function removeUnwantedHeaders(array $headerList): void + { + foreach ($headerList as $header) { + header_remove($header); + } + } +} diff --git a/app/Http/Middleware/TrimStrings.php b/app/Http/Middleware/TrimStrings.php new file mode 100644 index 0000000..88cadca --- /dev/null +++ b/app/Http/Middleware/TrimStrings.php @@ -0,0 +1,19 @@ + + */ + protected $except = [ + 'current_password', + 'password', + 'password_confirmation', + ]; +} diff --git a/app/Http/Middleware/TrustHosts.php b/app/Http/Middleware/TrustHosts.php new file mode 100644 index 0000000..7186414 --- /dev/null +++ b/app/Http/Middleware/TrustHosts.php @@ -0,0 +1,20 @@ + + */ + public function hosts() + { + return [ + $this->allSubdomainsOfApplicationUrl(), + ]; + } +} diff --git a/app/Http/Middleware/TrustProxies.php b/app/Http/Middleware/TrustProxies.php new file mode 100644 index 0000000..74bd812 --- /dev/null +++ b/app/Http/Middleware/TrustProxies.php @@ -0,0 +1,28 @@ +|string|null + */ + protected $proxies = '*'; + + /** + * The headers that should be used to detect proxies. + * + * @var integer + */ + protected $headers = + Request::HEADER_X_FORWARDED_FOR | + Request::HEADER_X_FORWARDED_HOST | + Request::HEADER_X_FORWARDED_PORT | + Request::HEADER_X_FORWARDED_PROTO | + Request::HEADER_X_FORWARDED_AWS_ELB; +} diff --git a/app/Http/Middleware/ValidateSignature.php b/app/Http/Middleware/ValidateSignature.php new file mode 100644 index 0000000..83aa732 --- /dev/null +++ b/app/Http/Middleware/ValidateSignature.php @@ -0,0 +1,15 @@ + + */ + protected $except = []; +} diff --git a/app/Http/Middleware/VerifyCsrfToken.php b/app/Http/Middleware/VerifyCsrfToken.php new file mode 100644 index 0000000..61356d0 --- /dev/null +++ b/app/Http/Middleware/VerifyCsrfToken.php @@ -0,0 +1,17 @@ + + */ + protected $except = [ + '/csp-report' + ]; +} diff --git a/app/Http/Requests/Bo/CommitmentPages/UpdateCommitmentPageRequest.php b/app/Http/Requests/Bo/CommitmentPages/UpdateCommitmentPageRequest.php new file mode 100644 index 0000000..1f6322a --- /dev/null +++ b/app/Http/Requests/Bo/CommitmentPages/UpdateCommitmentPageRequest.php @@ -0,0 +1,60 @@ +check(); + } + + /** + * Get the validation rules that apply to the request. + * + * @return array + */ + public function rules(): array + { + return [ + 'quality_title' => 'required|string|between:3,255', + 'quality_text' => 'required|string|min:15', + 'product1_title' => 'required|string|between:3,255', + 'product1_text' => 'required|string|min:15', + 'product2_title' => 'required|string|between:3,255', + 'product2_text' => 'required|string|min:15', + 'environment_title' => 'required|string|between:3,255', + 'environment_text' => 'required|string|min:15', + 'pictos' => 'nullable|array', + 'pictos.*.id' => 'required|exists:pictos,id', + ]; + } + + /** + * Get custom attributes for validator errors. + * + * @return array + */ + public function attributes(): array + { + return [ + 'quality_title' => trans('validation.custom.quality_title'), + 'quality_text' => trans('validation.custom.quality_text'), + 'product1_title' => trans('validation.custom.productx_title', ['x' => 1]), + 'product1_text' => trans('validation.custom.productx_text', ['x' => 1]), + 'product2_title' => trans('validation.custom.productx_title', ['x' => 2]), + 'product2_text' => trans('validation.custom.productx_text', ['x' => 2]), + 'environment_title' => trans('validation.custom.environment_title'), + 'environment_text' => trans('validation.custom.environment_text'), + 'pictos' => trans('validation.custom.picto'), + 'pictos.*.id' => trans('validation.custom.picto_id'), + ]; + } +} diff --git a/app/Http/Requests/Bo/Games/StoreGameRequest.php b/app/Http/Requests/Bo/Games/StoreGameRequest.php new file mode 100644 index 0000000..a053a11 --- /dev/null +++ b/app/Http/Requests/Bo/Games/StoreGameRequest.php @@ -0,0 +1,119 @@ +check(); + } + + /** + * Prepare the data for validation. + * + * @return void + */ + protected function prepareForValidation() + { + $this->merge([ + 'published' => $this->published ? true : false, + 'button_status' => $this->button_status ? true : false, + 'button_new_tab' => $this->button_status ? true : false, + ]); + $this->mergePicture('picture'); + } + + /** + * Get the validation rules that apply to the request. + * + * @return array + */ + public function rules(): array + { + $rules = [ + 'title_line1' => 'required|string|between:3,255', + 'title_line2' => 'required|string|between:3,255', + 'picture_alt' => 'required|string|between:3,255', + 'picture_title' => 'required|string|between:3,255', + 'text' => [ + 'required', + 'string', + 'min:15', + // phpcs:disable Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassBeforeLastUsed + function (string $attribute, mixed $value, Closure $fail) { + // phpcs:enable + if (Str::wordCount(\strip_tags($value)) > 32) { + $fail(trans('validation.max_words', [ + 'attribute' => trans('validation.attributes.text'), + 'count' => '32' + ])); + } + } + ], + 'button_status' => 'required|boolean', + 'button_label' => 'required|string|between:3,255', + 'button_url' => 'required|url', + 'button_new_tab' => 'required|boolean', + 'published' => 'required|boolean', + 'publish_at' => 'nullable|date', + 'unpublish_at' => 'nullable|date|after:publish_at', + ]; + + return \array_merge( + $rules, + $this->pictureRules('picture', 585, 415, 585, 415, false) + ); + } + + /** + * Get custom attributes for validator errors. + * + * @return array + */ + public function attributes(): array + { + return [ + 'title_line1' => trans('validation.custom.title_line1'), + 'title_line2' => trans('validation.custom.title_line2'), + 'picture_alt' => trans('validation.custom.attribute_alt'), + 'picture_title' => trans('validation.custom.attribute_title'), + 'text' => trans('validation.attributes.text'), + 'button_status' => trans(':field1 :inter:field2', [ + 'field1' => trans('crud.minicrud.visibility_label'), + 'inter' => trans('validation.custom.of_the.male'), + 'field2' => trans('validation.custom.button'), + ]), + 'button_label' => trans(':field :inter:model', [ + 'field' => trans('validation.custom.label'), + 'inter' => trans('validation.custom.of_the.male'), + 'model' => trans('validation.custom.button'), + ]), + 'button_url' => trans(':field :inter:model', [ + 'field' => trans('validation.custom.url'), + 'inter' => trans('validation.custom.of_the.male'), + 'model' => trans('validation.custom.button'), + ]), + 'button_new_tab' => trans(':field1 :inter:field2', [ + 'field1' => trans('validation.custom.target'), + 'inter' => trans('validation.custom.of_the.male'), + 'field2' => trans('validation.custom.button'), + ]), + 'published' => trans('validation.custom.activated'), + 'publish_at' => trans('validation.custom.publish_at'), + 'unpublish_at' => trans('validation.custom.unpublish_at'), + ]; + } +} diff --git a/app/Http/Requests/Bo/Games/UpdateGameRequest.php b/app/Http/Requests/Bo/Games/UpdateGameRequest.php new file mode 100644 index 0000000..9d2b38e --- /dev/null +++ b/app/Http/Requests/Bo/Games/UpdateGameRequest.php @@ -0,0 +1,7 @@ +check(); + } + + /** + * Prepare the data for validation. + * + * @return void + */ + protected function prepareForValidation() + { + $this->merge([ + 'published' => $this->published ? true : false, + 'button_status' => $this->button_status ? true : false, + 'button_new_tab' => $this->button_new_tab ? true : false + ]); + $this->mergePicture('picture1'); + $this->mergePicture('picture2'); + $this->mergePicture('picture3'); + } + + /** + * Get the validation rules that apply to the request. + * + * @return array + */ + public function rules(): array + { + $rules = [ + 'year' => 'required|integer|min:1901|max:2155', + 'text' => [ + 'required', + 'string', + 'min:10', + // phpcs:disable Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassBeforeLastUsed + function (string $attribute, mixed $value, Closure $fail) { + // phpcs:enable + if (Str::wordCount(\strip_tags($value)) > 15) { + $fail(trans('validation.max_words', [ + 'attribute' => trans('validation.attributes.text'), + 'count' => '15' + ])); + } + } + ], + 'picture1_alt' => 'required|string|between:3,255', + 'picture1_title' => 'required|string|between:3,255', + 'picture2_alt' => 'required_with:picture2|nullable|string|between:3,255', + 'picture2_title' => 'required_with:picture2|nullable|string|between:3,255', + 'picture3_alt' => 'required_with:picture3|nullable|string|between:3,255', + 'picture3_title' => 'required_with:picture3|nullable|string|between:3,255', + 'button_label' => 'required_if:button_status,true|nullable|string|between:3,35', + 'button_url' => 'required_if:button_status,true|nullable|string|between:3,255', + 'button_status' => 'required|boolean', + 'button_new_tab' => 'required|boolean', + 'published' => 'required|boolean', + ]; + + return \array_merge( + $rules, + $this->pictureRules('picture1', 431, 300, 431, 300, false), + $this->pictureRules('picture2', 431, 300, 431, 300, true), + $this->pictureRules('picture3', 431, 300, 431, 300, true), + ); + } + + /** + * Get custom attributes for validator errors. + * + * @return array + */ + public function attributes(): array + { + return [ + 'year' => trans('validation.attributes.quality_title'), + 'text' => trans('validation.custom.text'), + 'picture1_alt' => trans('validation.custom.picturex_alt', ['x' => 1]), + 'picture1_title' => trans('validation.custom.picturex_title', ['x' => 1]), + 'picture2_alt' => trans('validation.custom.picturex_alt', ['x' => 2]), + 'picture2_title' => trans('validation.custom.picturex_title', ['x' => 2]), + 'picture3_alt' => trans('validation.custom.picturex_alt', ['x' => 3]), + 'picture3_title' => trans('validation.custom.picturex_title', ['x' => 3]), + 'button_label' => trans('validation.custom.button_label'), + 'button_url' => trans('validation.custom.button_url'), + 'button_status' => trans('validation.custom.button_status'), + 'button_new_tab' => trans('validation.custom.button_new_tab'), + 'published' => trans('validation.custom.published'), + ]; + } +} diff --git a/app/Http/Requests/Bo/HistoricalMilestones/UpdateHistoricalMilestoneRequest.php b/app/Http/Requests/Bo/HistoricalMilestones/UpdateHistoricalMilestoneRequest.php new file mode 100644 index 0000000..7a7693e --- /dev/null +++ b/app/Http/Requests/Bo/HistoricalMilestones/UpdateHistoricalMilestoneRequest.php @@ -0,0 +1,7 @@ +check(); + } + + /** + * Prepare the data for validation. + * + * @return void + */ + protected function prepareForValidation() + { + $this->mergePicture('picture'); + } + + /** + * Get the validation rules that apply to the request. + * + * @return array + */ + public function rules(): array + { + $rules = [ + 'picture_alt' => 'required|string|between:3,255', + 'picture_title' => 'required|string|between:3,255', + ]; + + return \array_merge( + $rules, + $this->pictureRules('picture', 640, 637, 640, 637, false) + ); + } + + /** + * Get custom attributes for validator errors. + * + * @return array + */ + public function attributes(): array + { + return [ + 'picture_alt' => trans('validation.custom.attribute_alt'), + 'picture_title' => trans('validation.custom.attribute_title'), + ]; + } +} diff --git a/app/Http/Requests/Bo/LocalCommitments/StoreLocalCommitmentRequest.php b/app/Http/Requests/Bo/LocalCommitments/StoreLocalCommitmentRequest.php new file mode 100644 index 0000000..3f41e0b --- /dev/null +++ b/app/Http/Requests/Bo/LocalCommitments/StoreLocalCommitmentRequest.php @@ -0,0 +1,107 @@ +check(); + } + + /** + * Prepare the data for validation. + * + * @return void + */ + protected function prepareForValidation() + { + $this->merge([ + 'published' => $this->published ? true : false + ]); + $this->mergePicture('picture1'); + $this->mergePicture('picture2'); + $this->mergePicture('picture3'); + } + + /** + * Get the validation rules that apply to the request. + * + * @return array + */ + public function rules(): array + { + $rules = [ + 'title' => 'required|string|between:3,255', + 'text' => 'required|string|min:15', + 'picture1_alt' => 'required|string|between:3,255', + 'picture1_title' => 'required|string|between:3,255', + 'picture2_alt' => 'nullable|required_with:picture2|string|between:3,255', + 'picture2_title' => 'nullable|required_with:picture2|string|between:3,255', + 'picture3_alt' => 'nullable|required_with:picture3|string|between:3,255', + 'picture3_title' => 'nullable|required_with:picture3|string|between:3,255', + 'published' => 'required|boolean', + ]; + + return \array_merge( + $rules, + $this->pictureRules('picture1', 587, 429, 587, 429, false), + $this->pictureRules('picture2', 587, 429, 587, 429, true), + $this->pictureRules('picture3', 587, 429, 587, 429, true), + ); + } + + /** + * Get custom attributes for validator errors. + * + * @return array + */ + public function attributes(): array + { + return [ + 'title' => trans('validation.attributes.title'), + 'text' => trans('validation.attributes.text.'), + 'picture1_alt' => trans(':field1 :inter:model', [ + 'field1' => trans('validation.custom.attribute_alt'), + 'inter' => trans('validation.custom.of_the.female'), + 'field2' => trans('validation.custom._image') + ]), + 'picture1_title' => trans(':field1 :inter:model', [ + 'field1' => trans('validation.custom.attribute_title'), + 'inter' => trans('validation.custom.of_the.female'), + 'field2' => trans('validation.custom._image') + ]), + 'picture2_alt' => trans(':field1 :inter:model', [ + 'field1' => trans('validation.custom.attribute_alt'), + 'inter' => trans('validation.custom.of_the.female'), + 'field2' => trans('validation.custom._image') + ]), + 'picture2_title' => trans(':field1 :inter:model', [ + 'field1' => trans('validation.custom.attribute_title'), + 'inter' => trans('validation.custom.of_the.female'), + 'field2' => trans('validation.custom._image') + ]), + 'picture3_alt' => trans(':field1 :inter:model', [ + 'field1' => trans('validation.custom.attribute_alt'), + 'inter' => trans('validation.custom.of_the.female'), + 'field2' => trans('validation.custom._image') + ]), + 'picture3_title' => trans(':field1 :inter:model', [ + 'field1' => trans('validation.custom.attribute_title'), + 'inter' => trans('validation.custom.of_the.female'), + 'field2' => trans('validation.custom._image') + ]), + 'published' => trans('validation.custom.activated'), + ]; + } +} diff --git a/app/Http/Requests/Bo/LocalCommitments/UpdateLocalCommitmentRequest.php b/app/Http/Requests/Bo/LocalCommitments/UpdateLocalCommitmentRequest.php new file mode 100644 index 0000000..33a1c0f --- /dev/null +++ b/app/Http/Requests/Bo/LocalCommitments/UpdateLocalCommitmentRequest.php @@ -0,0 +1,7 @@ +check(); + } + + /** + * Prepare the data for validation. + * + * @return void + */ + protected function prepareForValidation() + { + $this->merge([ + 'published' => $this->published ? true : false + ]); + $this->mergePicture('picture'); + } + + /** + * Get the validation rules that apply to the request. + * + * @return array + */ + public function rules(): array + { + $rules = [ + 'text' => [ + 'required', + 'string', + 'min:3', + // phpcs:disable Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassBeforeLastUsed + function (string $attribute, mixed $value, Closure $fail) { + // phpcs:enable + if (Str::wordCount(\strip_tags($value)) > 80) { + $fail(trans('validation.max_words', [ + 'attribute' => trans('validation.attributes.text'), + 'count' => '80' + ])); + } + } + ], + 'picture_alt' => 'required|string|between:3,255', + 'picture_title' => 'required|string|between:3,255', + 'published' => 'required|boolean', + 'publish_at' => 'nullable|date', + 'unpublish_at' => 'nullable|date|after:publish_at', + + ]; + return \array_merge( + $rules, + $this->pictureRules('picture', 308, 223, 308, 223, false), + ); + } + + /** + * Get custom attributes for validator errors. + * + * @return array + */ + public function attributes(): array + { + return [ + 'text' => trans('validation.attributes.text'), + 'picture_alt' => trans('validation.custom.picture_alt'), + 'picture_title' => trans('validation.custom.picture_title'), + 'published' => trans('validation.custom.activated'), + 'publish_at' => trans('validation.custom.publish_at'), + 'unpublish_at' => trans('validation.custom.unpublish_at'), + ]; + } +} diff --git a/app/Http/Requests/Bo/News/UpdateNewsRequest.php b/app/Http/Requests/Bo/News/UpdateNewsRequest.php new file mode 100644 index 0000000..3e4e0b2 --- /dev/null +++ b/app/Http/Requests/Bo/News/UpdateNewsRequest.php @@ -0,0 +1,7 @@ +check(); + } + + /** + * Prepare the data for validation. + * + * @return void + */ + protected function prepareForValidation() + { + $this->merge([ + 'published' => $this->published ? true : false + ]); + $this->mergePicture('picture'); + } + + /** + * Get the validation rules that apply to the request. + * + * @return array + */ + public function rules(): array + { + $rules = [ + 'label' => 'required|string|between:3,255', + 'picture_alt' => 'required|string|between:3,255', + 'picture_title' => 'required|string|between:3,255', + 'published' => 'required|boolean', + ]; + + return \array_merge( + $rules, + $this->pictureRules('picture', 85, 85, 85, 85, false) + ); + } + + /** + * Get custom attributes for validator errors. + * + * @return array + */ + public function attributes(): array + { + return [ + 'first_name' => trans('validation.attributes.first_name'), + 'last_name' => trans('validation.attributes.last_name'), + 'email' => trans('validation.attributes.email'), + 'password' => trans('validation.attributes.password'), + 'role' => trans('validation.attributes.role'), + 'published' => trans('validation.custom.publication') + ]; + } +} diff --git a/app/Http/Requests/Bo/Pictos/UpdatePictoRequest.php b/app/Http/Requests/Bo/Pictos/UpdatePictoRequest.php new file mode 100644 index 0000000..479d8ce --- /dev/null +++ b/app/Http/Requests/Bo/Pictos/UpdatePictoRequest.php @@ -0,0 +1,7 @@ +check(); + } + + /** + * Prepare the data for validation. + * + * @return void + */ + protected function prepareForValidation() + { + $this->merge([ + 'published' => $this->published ? true : false + ]); + $this->mergePicture('picture'); + $this->mergePicture('picture_thumbnail'); + } + + /** + * Get the validation rules that apply to the request. + * + * @return array + */ + public function rules(): array + { + $rules = [ + 'seo_title' => 'required|between:45,70', + 'seo_description' => 'required|between:50,160', + 'label' => 'required|string|between:3,100', + 'picture_alt' => 'required|string|between:3,255', + 'picture_title' => 'required|string|between:3,255', + 'picture_thumbnail_alt' => 'required|string|between:3,255', + 'picture_thumbnail_title' => 'required|string|between:3,255', + 'description' => 'required|string|min:15', + 'nutriscore' => ['required', new Enum(NutriscoreEnum::class)], + 'advice' => 'required|string|min:15', + 'ingredients' => 'required|string|min:15', + 'nutritionnal_values' => 'required|array', + 'nutritionnal_values.100g' => 'required|array', + 'nutritionnal_values.100g.*' => 'required|numeric|min:0', + 'nutritionnal_values.100g.label' => 'required|string|between:3,255', + 'nutritionnal_values.self' => 'required|array', + 'nutritionnal_values.self.*' => 'required|numeric|min:0', + 'nutritionnal_values.self.label' => 'required|string|between:3,255', + 'range_id' => 'required|exists:ranges,id', + 'pictos' => 'nullable|array', + 'pictos.*.id' => 'required|exists:pictos,id', + 'published' => 'required|boolean', + ]; + return \array_merge( + $rules, + $this->pictureRules('picture', 503, 503, 503, 503, false), + $this->pictureRules('picture_thumbnail', 310, 310, 310, 310, false), + ); + } + + /** + * Get custom attributes for validator errors. + * + * @return array + */ + public function attributes(): array + { + return [ + 'seo_title' => trans('validation.custom.seo_title'), + 'seo_description' => trans('validation.custom.seo_description'), + 'label' => trans('validation.custom.label'), + 'description' => trans('validation.custom.description'), + 'picture_alt' => trans('validation.custom.picture_alt'), + 'picture_title' => trans('validation.custom.picture_title'), + 'picture_thumbnail_alt' => trans('validation.custom.picture_alt'), + 'picture_thumbnail_title' => trans('validation.custom.picture_title'), + 'nutriscore' => trans('validation.custom.nutriscore'), + 'advice' => trans('validation.custom.advice'), + 'ingredients' => trans('validation.custom.ingredients'), + 'nutritionnal_values' => trans('validation.custom.nutritionnal_values'), + 'range_id' => trans('models.classes.range'), + 'pictos' => trans('validation.custom.picto'), + 'pictos.*.id' => trans('validation.custom.picto_id'), + 'published' => trans('validation.custom.activated'), + ]; + } +} diff --git a/app/Http/Requests/Bo/Products/UpdateProductRequest.php b/app/Http/Requests/Bo/Products/UpdateProductRequest.php new file mode 100644 index 0000000..3f0ae9d --- /dev/null +++ b/app/Http/Requests/Bo/Products/UpdateProductRequest.php @@ -0,0 +1,7 @@ +check(); + } + + /** + * Prepare the data for validation. + * + * @return void + */ + protected function prepareForValidation() + { + $this->mergePicture('picture'); + $this->mergePicture('picture_ambiance'); + $this->mergePicture('picto1_picture'); + $this->mergePicture('picto2_picture'); + } + + /** + * Get the validation rules that apply to the request. + * + * @return array + */ + public function rules(): array + { + $rules = [ + 'label' => 'required|string|between:3,255', + 'picture_alt' => 'required|string|between:3,255', + 'picture_title' => 'required|string|between:3,255', + 'picture_ambiance_alt' => 'required|string|between:3,255', + 'picture_ambiance_title' => 'required|string|between:3,255', + 'picto1_picture_alt' => 'required_with:picto1_picture|nullable|string|between:3,255', + 'picto1_picture_title' => 'required_with:picto1_picture|nullable|string|between:3,255', + 'picto1_line1' => 'required_with:picto1_picture|nullable|string|between:3,15', + 'picto1_line2' => 'required_with:picto1_picture|nullable|string|between:3,15', + 'picto2_picture_alt' => 'required_with:picto2_picture|nullable|string|between:3,255', + 'picto2_picture_title' => 'required_with:picto2_picture|nullable|string|between:3,255', + 'picto2_line1' => 'required_with:picto2_picture|nullable|string|between:3,15', + 'picto2_line2' => 'required_with:picto2_picture|nullable|string|between:3,15', + ]; + return \array_merge( + $rules, + $this->pictureRules('picture', 579, 579, 579, 579, false), + $this->pictureRules('picture_ambiance', 333, 333, 333, 333, false), + $this->pictureRules('picto1_picture', 67, 70, 67, 70, true), + $this->pictureRules('picto2_picture', 67, 70, 67, 70, true), + ); + } + + /** + * Get custom attributes for validator errors. + * + * @return array + */ + public function attributes(): array + { + return [ + 'label' => trans('validation.custom.label'), + 'picture_alt' => trans('validation.custom.attribute_alt'), + 'picture_title' => trans('validation.attributes.attribute_title'), + 'picture_ambiance_alt' => trans('validation.custom.attribute_alt'), + 'picture_ambiance_title' => trans('validation.custom.attribute_title'), + 'picto1_picture_alt' => trans('validation.custom.attribute_alt'), + 'picto1_picture_title' => trans('validation.custom.attribute_title'), + 'picto1_line1' => trans('validation.attributes.result_text_under_image'), + 'picto1_line2' => trans('validation.attributes.result_text_under_image'), + 'picto2_picture_alt' => trans('validation.custom.attribute_alt'), + 'picto2_picture_title' => trans('validation.custom.attribute_title'), + 'picto2_line1' => trans('validation.attributes.result_text_under_image'), + 'picto2_line2' => trans('validation.attributes.result_text_under_image'), + ]; + } +} diff --git a/app/Http/Requests/Bo/Ranges/UpdateRangeRequest.php b/app/Http/Requests/Bo/Ranges/UpdateRangeRequest.php new file mode 100644 index 0000000..8572785 --- /dev/null +++ b/app/Http/Requests/Bo/Ranges/UpdateRangeRequest.php @@ -0,0 +1,7 @@ +check(); + } + + /** + * Prepare the data for validation. + * + * @return void + */ + public function prepareForValidation(): void + { + $this->merge([ + 'content' => Str::of($this->post('content'))->value() + ]); + } + + /** + * Get the validation rules that apply to the request. + * + * @return array|string> + */ + public function rules(): array + { + return [ + 'seo_title' => 'required|min:45|max:70', + 'seo_description' => 'required|min:50|max:160', + 'title' => 'required|min:3|max:255', + 'content' => 'present', + ]; + } + + /** + * Get custom attributes for validator errors. + * + * @return array + */ + public function attributes(): array + { + return [ + 'seo_title' => trans('validation.custom.seo_title'), + 'seo_description' => trans('validation.custom.seo_description'), + 'title' => trans('validation.attributes.title'), + 'content' => trans('validation.custom.content'), + ]; + } +} diff --git a/app/Http/Requests/Bo/UpdateChangeOrderRequest.php b/app/Http/Requests/Bo/UpdateChangeOrderRequest.php new file mode 100644 index 0000000..b88283e --- /dev/null +++ b/app/Http/Requests/Bo/UpdateChangeOrderRequest.php @@ -0,0 +1,42 @@ +check(); + } + + /** + * Prepare the data for validation. + * + * @return void + */ + protected function prepareForValidation(): void + { + $this->merge([ + 'direction' => $this->direction === 'up' ? true : false + ]); + } + + /** + * Get the validation rules that apply to the request. + * + * @return array + */ + public function rules(): array + { + return [ + 'direction' => 'required|boolean', + ]; + } +} diff --git a/app/Http/Requests/Bo/UpdateMiniCrudRequest.php b/app/Http/Requests/Bo/UpdateMiniCrudRequest.php new file mode 100644 index 0000000..f845c96 --- /dev/null +++ b/app/Http/Requests/Bo/UpdateMiniCrudRequest.php @@ -0,0 +1,229 @@ +check(); + } + + /** + * Get the validation rules that apply to the request. + * + * @return array + * @phpcs:disable Generic.Metrics.CyclomaticComplexity.TooHigh + * @phpcs:disable Generic.Metrics.NestingLevel.TooHigh + */ + public function rules() + { + // phpcs:enable + $rules = []; + foreach ($this->{$this->modelName}->data as $iptName => $input) { + $input = \json_decode(\json_encode($input), true); + switch ($input['inputType']) { + case InputType::number->value: + $rules = array_merge($rules, [ + "data.$iptName.value" => $this->compileValidate('required|numeric', $input) + ]); + break; + case InputType::videoYoutube->value: + $rules = array_merge($rules, [ + "data.$iptName.value" => $this->compileValidate('regex:%([^"&?\/\s]{11})%i', $input) + ]); + break; + case InputType::videoVimeo->value: + $rules = array_merge($rules, [ + "data.$iptName.value" => $this->compileValidate('regex:%([0-9]{8,10})%i', $input) + ]); + break; + case InputType::video->value: + $rules = array_merge($rules, [ + "data.$iptName.value" => $this->compileValidate([ + 'regex:%([0-9]{8,10}|[^"&?\/\s]{11})%i' + ], $input) + ]); + break; + case InputType::string->value: + $rules = array_merge($rules, [ + "data.$iptName.value" => $this->compileValidate('required|string|min:3', $input) + ]); + break; + case InputType::text->value: + $mergeRules = $this->compileValidate('required|string|min:15', $input); + $mergeRules = collect($mergeRules) + ->map(function ($rule) { + if (\strpos($rule, 'max:') !== false) { + $max = \intval(str_replace('max:', '', $rule)); + return function ($attribute, $value, $fail) use ($max) { + if (\strlen(\strip_tags($value)) > $max) { + $fail("$attribute ne doit pas excéder $max caractères"); + } + }; + } + return $rule; + }); + $rules = array_merge($rules, [ + "data.$iptName.value" => $mergeRules + ]); + break; + case InputType::image->value: + $required = $this->isUpdate() ? 'sometimes' : 'required'; + + $ipt = $this->data[$iptName]; + $max = isset($ipt['dimensionsMax']); + $dim = \is_string($input['dimensions']) ? collect(explode( + ',', + (isset($ipt['dimensionsMax']) and is_string($ipt['dimensionsMax'])) ? + $ipt['dimensionsMax'] : $input['dimensions'] + ))->mapWithKeys(function ($v) { + $v = explode(' ', $v); + return [$v[0] => $v[1]]; + }) : $input['dimensions']; + + // * Adapt dimensions + $sizes = (object)[ + 'minHeight' => $dim['height'], + 'maxHeight' => $dim['height'], + 'minWith' => $dim['width'], + 'maxWith' => $dim['width'], + ]; + $rules = array_merge($rules, [ + "data.$iptName.value" => [ + function (string $attribute, $value, callable $fail) use ($sizes) { + return ToolboxHelper::validatePicture($attribute, $value, $fail, $sizes); + } + ], + $this->compileValidate( + implode('|', [ + $required, + 'image', + 'mimes:png,jpg,jpeg', + sprintf( + 'dimensions:%s=%d,%s=%d', + $max ? 'max_height' : 'height', + $dim['height'], + $max ? 'max_width' : 'width', + $dim['width'] + ) + ]), + $input + ), + "data.$iptName.alt" => $this->compileValidate("$required|string|min:5", $input), + "data.$iptName.title" => $this->compileValidate("$required|string|min:5", $input) + ]); + break; + case InputType::url->value: + $rules = array_merge($rules, [ + "data.$iptName.value" => [ + 'required', 'url', + // @phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassBeforeLastUsed + function ($attribute, $value, $fail) { + try { + ToolboxHelper::assertNoInternalUrls($attribute, $value); + ToolboxHelper::assertNoInternalBoUrls($attribute, $value); + } catch (ValidationException $e) { + $fail(collect($e->errors())->first()[0]); + } + } + ] + ]); + break; + case InputType::boolean->value: + $all = $this->all(); + $nested = ToolboxHelper::dotStringToNestedArray( + "data.$iptName.value", + $this->input("data.$iptName.value") ? true : false + ); + $all = ToolboxHelper::arrayMergeRecursiveDistinct($all, $nested); + $this->merge($all); + $rules = array_merge($rules, [ + "data.$iptName.value" => 'boolean' + ]); + break; + } //end switch + } //end foreach + return $rules; + } + + /** + * Undocumented function + * + * @param string|array $inputTypeValidate + * @param array $input + * @return array + */ + public function compileValidate(string|array $inputTypeValidate, array $input): array + { + if (\is_string($inputTypeValidate)) { + $inputTypeValidate = explode('|', $inputTypeValidate); + } + /** @var array|string */ + $inputValidate = \collect($input)->get('validate', $input); + $inputValidate = \is_string($inputValidate) ? explode('|', $inputValidate) : $inputValidate; + foreach ($inputValidate as $validate) { + if (!\in_array($validate, $inputTypeValidate)) { + $inputTypeValidate[] = $validate; + } + } + + $test = \collect($inputTypeValidate)->all(); + $test = \collect($inputTypeValidate)->sort(function ($valueA, $valueB) { + $valueA = $this->ruleHasToComeFirst($valueA) ? 0 : 2; + $valueB = $this->ruleHasToComeFirst($valueB) ? 1 : 2; + return $valueA - $valueB; + })->unique()->all(); + + return \collect($inputTypeValidate)->unique()->sort(function ($valueA, $valueB) { + $valueA = $this->ruleHasToComeFirst($valueA) ? 0 : 2; + $valueB = $this->ruleHasToComeFirst($valueB) ? 1 : 2; + return $valueA - $valueB; + })->all(); + } + + /** + * Does the rulle need to come first ? + * + * @param string $rule + * @return boolean + */ + private function ruleHasToComeFirst(string $rule): bool + { + $rule = \collect(\explode(':', $rule, 1))->filter()->first(null, ''); + return \collect([ + 'nullable', 'present', 'required', 'required_if', + 'required_unless', 'required_with', 'required_with_all', + 'required_without', 'required_without_all', 'required_with_all', + 'missing', 'missing_if', 'missing_unless', + 'missing_with', 'missing_with_all', + ])->first(fn (string $firstRule) => \strpos($rule, $firstRule) === 0) ? true : false; + } + + /** + * Is this request an update request ? + * + * @return boolean + */ + private function isUpdate(): bool + { + return $this->isMethod('PUT'); + } +} diff --git a/app/Http/Requests/Bo/Users/StoreUserRequest.php b/app/Http/Requests/Bo/Users/StoreUserRequest.php new file mode 100644 index 0000000..eb68d84 --- /dev/null +++ b/app/Http/Requests/Bo/Users/StoreUserRequest.php @@ -0,0 +1,74 @@ +check(); + } + + /** + * Prepare the data for validation. + * + * @return void + */ + protected function prepareForValidation() + { + $this->merge([ + 'published' => $this->published ? true : false + ]); + } + + /** + * Get the validation rules that apply to the request. + * + * @return array + */ + public function rules(): array + { + return [ + 'first_name' => 'required|string|min:3|max:255', + 'last_name' => 'required|string|min:3|max:255', + 'email' => 'required|email:rfc,strict,dns,spoof,filter|unique:users,email', + 'password' => [ + 'required', 'required_with:password_confirmation', 'confirmed', 'max:255', Password::min(8) + ->letters() + ->mixedCase() + ->numbers() + ->symbols() + ->uncompromised() + ], + 'role' => ['required', new Enum(RoleEnum::class)], + 'published' => 'required|boolean', + ]; + } + + /** + * Get custom attributes for validator errors. + * + * @return array + */ + public function attributes(): array + { + return [ + 'first_name' => trans('validation.attributes.first_name'), + 'last_name' => trans('validation.attributes.last_name'), + 'email' => trans('validation.attributes.email'), + 'password' => trans('validation.attributes.password'), + 'role' => trans('validation.attributes.role'), + 'published' => trans('validation.custom.publication') + ]; + } +} diff --git a/app/Http/Requests/Bo/Users/UpdateUserRequest.php b/app/Http/Requests/Bo/Users/UpdateUserRequest.php new file mode 100644 index 0000000..8744be6 --- /dev/null +++ b/app/Http/Requests/Bo/Users/UpdateUserRequest.php @@ -0,0 +1,48 @@ +merge([ + 'published' => $this->published ? true : false, + 'password' => $this->password ? $this->password : $this->route('user')->password, + 'password_confirmation' => $this->password_confirmation ? + $this->password_confirmation : + $this->route('user')->password + ]); + } + + /** + * Get the validation rules that apply to the request. + * + * @return array + */ + public function rules(): array + { + return array_merge(parent::rules(), [ + 'email' => [ + 'required', + 'email:rfc,strict,dns,spoof,filter', + 'unique:users,email,' . $this->route('user')->id . ',id', + ], + 'password' => [ + 'required', 'required_with:password_confirmation', 'confirmed', 'max:255', Password::min(8) + ->letters() + ->mixedCase() + ->numbers() + ->symbols() + ->uncompromised() + ], + ]); + } +} diff --git a/app/Http/Requests/Fo/ContactFormRequest.php b/app/Http/Requests/Fo/ContactFormRequest.php new file mode 100644 index 0000000..2e4113c --- /dev/null +++ b/app/Http/Requests/Fo/ContactFormRequest.php @@ -0,0 +1,123 @@ +merge([ + // * present fields + 'first_name' => Str::of($this->post('first_name'))->value(), + 'phone' => Str::of($this->post('phone'))->value(), + 'address' => Str::of($this->post('address'))->value(), + 'city' => Str::of($this->post('city'))->value(), + 'postal_code' => Str::of($this->post('postal_code'))->value(), + 'message' => Str::of($this->post('message'))->value(), + // * boolean + 'terms' => $this->post('terms') ? true : false, + // * integer + 'batch_number' => $this->post('batch_number') ? intval($this->post('batch_number')) : null, + ]); + } + + /** + * Determine if the user is authorized to make this request. + * + * @return boolean + */ + public function authorize() + { + return true; + } + + /** + * Get the validation rules that apply to the request. + * + * @return array + */ + public function rules() + { + ToolboxHelper::validateRecaptcha($this, \config('services.google.recaptcha.version')); + return [ + // * Has to be present fields + 'type' => ['required', new Enum(ObjectEnum::class)], + 'first_name' => 'present|max:150', + // * obligatoire + 'last_name' => 'required|min:2|max:150', + 'phone' => 'present|phone:FR|max:25', + // * obligatoire + 'email' => 'required|email:rfc,dns,spoof|max:255', + 'address' => 'present|max:255', + 'city' => 'present|max:255', + 'postal_code' => 'present|min:0|postal_code:FR|max:25', + 'message' => 'present|min:20|max:35656', + 'file' => 'nullable|file|mimes:jpg,jpeg,png,pdf|max:2048', + // * obligatoire + 'terms' => 'required|boolean|accepted', + + // * Conditional fields + // * obligatoire si type == product + 'product' => [ + Rule::requiredIf($this->post('type') == ObjectEnum::reclaim->value()), + 'nullable', + 'exists:products,id' + ], + 'expiration_date' => [ + 'nullable', + Rule::prohibitedIf($this->post('type') != ObjectEnum::reclaim->value()), + 'date_format:Y-m-d' + ], + 'batch_number' => [ + 'nullable', + Rule::prohibitedIf($this->post('type') != ObjectEnum::reclaim->value()), + 'digits_between:3,4' + ] + ]; + } + + /** + * Get custom attributes for validator errors. + * + * @return array + */ + public function attributes() + { + return [ + 'subject' => trans('validation.attributes.subject'), + 'file' => trans('validation.custom.attachment'), + 'terms' => trans('validation.attributes.terms'), + 'expiration_date' => trans('validation.custom.expiration_date'), + 'batch_number' => trans('validation.custom.batch_number'), + 'job_title' => trans('validation.custom.job_title'), + ]; + } + + /** + * Get custom messages for validator errors. + * + * @return array + */ + public function messages(): array + { + return [ + 'postal_code' => trans('validation.custom.postal_code', [ + 'countries' => Country::france->label(), 'examples' => 72000 + ]), + 'phone.phone' => trans('validation.custom.phone'), + ]; + } +} diff --git a/app/Http/Requests/Fo/Customers/CreateAccountRequest.php b/app/Http/Requests/Fo/Customers/CreateAccountRequest.php new file mode 100644 index 0000000..6680449 --- /dev/null +++ b/app/Http/Requests/Fo/Customers/CreateAccountRequest.php @@ -0,0 +1,109 @@ +check(); + } + + /** + * Prepare the data for validation. + * + * @return void + */ + public function prepareForValidation() + { + $this->merge([ + 'phone' => $this->phone, + 'opt_in' => $this->opt_in ? true : false + ]); + } + + /** + * Get the validation rules that apply to the request. + * + * @return array + */ + public function rules() + { + return [ + 'lastname' => 'required|string|max:255', + 'firstname' => 'required|string|max:255', + 'phone' => 'nullable|max:255|phone:FR', + 'address' => 'required|string|min:1|max:255', + 'postcode' => 'required|string|min:1|postal_code:FR', + 'city' => 'required|string|min:1|max:255', + 'birth_date' => ['required', new IsAdult(trans('Vous devez être majeur pour vous inscrire.'))], + 'email' => [ + 'required', 'email:rfc,dns,spoof', 'max:255', + // * Does email already exists in CRM ? + // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassBeforeLastUsed + function (string $attribute, $value, \Closure $fail) { + if (CrmCustomer::findWithEmail(\strval($value))) { + $fail('Un compte existe déjà avec cette adresse.'); + } + }, + 'unique:customers,email', + ], + 'password' => [ + 'required', 'confirmed', Password::min(8)->mixedCase()->numbers()->symbols() + ], + 'ok_cgv' => 'accepted', + 'opt_in' => 'required|boolean', + ]; + } + + /** + * Get custom attributes for validator errors. + * + * @return array + */ + public function attributes() + { + return [ + 'lastname' => trans('nom'), + 'firstname' => trans('prénom'), + 'phone' => trans('téléphone'), + 'address' => trans('adresse'), + 'postcode' => trans('code postal'), + 'city' => trans('ville'), + 'birth_date' => trans('date de naissance'), + 'email' => trans('email'), + 'password' => trans('mot de passe'), + 'ok_cgv' => trans('conditions d\'utilisation'), + 'opt_in' => trans('newsletter'), + ]; + } + + /** + * Get custom messages for validator errors. + * + * @return array + */ + public function messages() + { + return [ + 'postal_code' => trans('validation.custom.postal_code', [ + 'countries' => Country::france()->label, 'examples' => 72000 + ]), + 'phone.phone' => trans('validation.custom.phone'), + 'email.unique' => trans('Un compte existe déjà avec cette adresse.'), + 'ok_cgv.accepted' => trans('Vous devez accepter les conditions d\'utilisation du site pour continuer.') + ]; + } +} diff --git a/app/Http/Requests/Fo/Customers/CrmQuestionsAnswersRequest.php b/app/Http/Requests/Fo/Customers/CrmQuestionsAnswersRequest.php new file mode 100644 index 0000000..0aff6cf --- /dev/null +++ b/app/Http/Requests/Fo/Customers/CrmQuestionsAnswersRequest.php @@ -0,0 +1,108 @@ + + */ + private array $questions = []; + + /** + * Prepare the data for validation. + * + * @return void + */ + public function prepareForValidation(): void + { + if (!\auth('frontend')->check()) { + return; + } + + /** @var \App\Models\Customer $customer */ + $customer = auth('frontend')->user(); + + /** @var \LDC\LDCCRM\Models\Customer */ + $crmCustomer = $customer->apiData; + + $this->questions = Customer::cacheCrm( + $customer->hashcode, + 'questions', + fn () => Question::unansweredBy($crmCustomer) + ); + } + + /** + * Determine if the user is authorized to make this request. + * + * @return boolean + */ + public function authorize(): bool + { + if (!\auth('frontend')->check()) { + return false; + } + + return (bool)\count($this->questions); + } + + /** + * Get the validation rules that apply to the request. + * + * @return array|string> + * @throws \RuntimeException If a question type is unhandled. + */ + public function rules(): array + { + $rules = []; + foreach ($this->questions as $questionNumber => $question) { + switch ($question->type->value) { + case \LDC\LDCCRM\Enums\QuestionType::select()->value: + $rules["question.{$questionNumber}"] = ['required', Rule::in( + Arr::map($question->answers, fn ($answer) => $answer->id) + )]; + break; + case \LDC\LDCCRM\Enums\QuestionType::radio()->value: + $rules["question.{$questionNumber}"] = ['required', Rule::in( + Arr::map($question->answers, fn ($answer) => $answer->id) + )]; + break; + case \LDC\LDCCRM\Enums\QuestionType::checkbox()->value: + $rules["question.{$questionNumber}"] = 'required|array|min:1'; + $rules["question.{$questionNumber}.*"] = ['required', Rule::in( + Arr::map($question->answers, fn ($answer) => $answer->id) + )]; + break; + default: + throw new \RuntimeException("Unhandled question type {$question->type->value}"); + }; + } //end foreach + + return $rules; + } + + /** + * Get custom attributes for validator errors. + * + * @return array + */ + public function attributes(): array + { + // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassBeforeLastUsed + return Arr::mapWithKeys($this->questions, function ($question, $index) { + return [ + "question.{$index}" => trans('Question :number', ['number' => $index + 1]), + "question.{$index}.*" => trans('Question :number', ['number' => $index + 1]), + ]; + }); + } +} diff --git a/app/Http/Requests/Fo/Customers/UpdateAccountRequest.php b/app/Http/Requests/Fo/Customers/UpdateAccountRequest.php new file mode 100644 index 0000000..8073ce5 --- /dev/null +++ b/app/Http/Requests/Fo/Customers/UpdateAccountRequest.php @@ -0,0 +1,41 @@ + [ + 'required', + new IsAdult(trans('Vous devez être majeur pour utiliser le site.')) + ], + ] + ); + } +} diff --git a/app/Http/Requests/Fo/Customers/UpdatePasswordRequest.php b/app/Http/Requests/Fo/Customers/UpdatePasswordRequest.php new file mode 100644 index 0000000..ce9ce58 --- /dev/null +++ b/app/Http/Requests/Fo/Customers/UpdatePasswordRequest.php @@ -0,0 +1,54 @@ +check(); + } + + /** + * Get the validation rules that apply to the request. + * + * @return array + */ + public function rules() + { + /** @var \Ldc\LDCCRM\Models\Customer */ + $crmCustomer = \auth('frontend')->user()->api_data; + return [ + 'old_password' => [ + 'required', + new CrmCustomerPassword($crmCustomer) + ], + 'password' => [ + 'required', 'string', 'max:255', 'confirmed', + Password::min(8)->mixedCase()->letters()->numbers()->uncompromised() + ] + ]; + } + + /** + * Get custom attributes for validator errors. + * + * @return array + */ + public function attributes() + { + return [ + 'old_password' => trans('ancien mot de passe'), + 'password' => trans('mot de passe'), + ]; + } +} diff --git a/app/Http/Requests/Fo/MesBr/PrintCouponsRequest.php b/app/Http/Requests/Fo/MesBr/PrintCouponsRequest.php new file mode 100644 index 0000000..660dcc3 --- /dev/null +++ b/app/Http/Requests/Fo/MesBr/PrintCouponsRequest.php @@ -0,0 +1,59 @@ +check(); + } + + + /** + * Prepare the data for validation. + * + * @return void + */ + public function prepareForValidation(): void + { + $this->merge([ + 'coupon' => collect($this->post('coupon'))->filter() + ->map(fn (string $value) => \is_numeric($value) ? intval($value) : $value) + ->all() + ]); + } + + /** + * Get the validation rules that apply to the request. + * + * @return array|string> + */ + public function rules(): array + { + return [ + 'coupon' => 'required|array|min:1', + 'coupon.*' => 'required|integer' + ]; + } + + /** + * Get custom attributes for validator errors. + * + * @return array + */ + public function attributes(): array + { + return [ + 'coupon' => trans('coupon'), + 'coupon.*' => trans('coupon'), + ]; + } +} diff --git a/app/Jobs/GamesStatusUpdate.php b/app/Jobs/GamesStatusUpdate.php new file mode 100644 index 0000000..c724c34 --- /dev/null +++ b/app/Jobs/GamesStatusUpdate.php @@ -0,0 +1,53 @@ + */ + $gamesListToUnPublish = Game::query() + ->where('unpublish_at', '<=', Carbon::now()->toDateTime()) + ->whereNotNull('unpublish_at') + ->where('published', true)->get(); + Log::debug(__CLASS__ . " games to unpublish " . $gamesListToUnPublish->count()); + foreach ($gamesListToUnPublish as $game) { + $game->publish_at = null; + $game->unpublish_at = null; + $game->published = false; + $game->saveOrFail(); + } + /** @var \Illuminate\Database\Eloquent\Collection */ + $gamesListToPublish = Game::query() + ->where('publish_at', '<=', Carbon::now()->toDateTime()) + ->whereNotNull('publish_at') + ->where('published', false)->get(); + Log::debug(__CLASS__ . " games to publish " . $gamesListToPublish->count()); + // Unpublish all game with no date because only 1 game can be published. + if ($gamesListToPublish->count()) { + Game::query()->where('published', true)->each(function (Game $game) { + $game->published = false; + $game->saveOrFail(); + }); + } + foreach ($gamesListToPublish as $game) { + $game->publish_at = null; + $game->published = true; + $game->saveOrFail(); + } + } +} diff --git a/app/Jobs/NewsStatusUpdate.php b/app/Jobs/NewsStatusUpdate.php new file mode 100644 index 0000000..5e13fe4 --- /dev/null +++ b/app/Jobs/NewsStatusUpdate.php @@ -0,0 +1,46 @@ + */ + $newsListToPublish = News::query() + ->where('publish_at', '<=', Carbon::now()->toDateTime()) + ->whereNotNull('publish_at') + ->where('published', false)->get(); + Log::debug(__CLASS__ . " news to publish " . $newsListToPublish->count()); + foreach ($newsListToPublish as $news) { + $news->publish_at = null; + $news->published = true; + $news->saveOrFail(); + } + /** @var \Illuminate\Database\Eloquent\Collection */ + $newsListToUnPublish = News::query() + ->where('unpublish_at', '<=', Carbon::now()->toDateTime()) + ->whereNotNull('unpublish_at') + ->where('published', true)->get(); + Log::debug(__CLASS__ . " news to unpublish " . $newsListToPublish->count()); + foreach ($newsListToUnPublish as $news) { + $news->publish_at = null; + $news->unpublish_at = null; + $news->published = false; + $news->saveOrFail(); + } + } +} diff --git a/app/Lib/Helpers/CollectionHelper.php b/app/Lib/Helpers/CollectionHelper.php new file mode 100644 index 0000000..b9e9ecd --- /dev/null +++ b/app/Lib/Helpers/CollectionHelper.php @@ -0,0 +1,64 @@ +count(); + + return self::paginator($results->forPage($page, $pageSize), $total, $pageSize, $page, [ + 'path' => Paginator::resolveCurrentPath(), + 'pageName' => 'page', + ]); + } + + /** + * Create a new length-aware paginator instance. + * + * @param \Illuminate\Support\Collection $items + * @param integer $total + * @param integer $perPage + * @param integer $currentPage + * @param array $options + * @return \Illuminate\Pagination\LengthAwarePaginator + */ + protected static function paginator(Collection $items, int $total, int $perPage, int $currentPage, array $options) + { + return Container::getInstance()->makeWith(LengthAwarePaginator::class, [ + 'items' => $items, + 'total' => $total, + 'perPage' => $perPage, + 'currentPage' => $currentPage, + 'options' => $options + ]); + } +} diff --git a/app/Lib/Helpers/ExceptionsHelper.php b/app/Lib/Helpers/ExceptionsHelper.php new file mode 100644 index 0000000..4813275 --- /dev/null +++ b/app/Lib/Helpers/ExceptionsHelper.php @@ -0,0 +1,190 @@ +setModules([]); + $event->setOsContext(null); + + /** @var \Sentry\ExceptionDataBag[] */ + $exceptionBag = []; + foreach ($event->getExceptions() as $exceptionDataBag) { + $exceptionBag[] = self::getAnonymizedSentryException($exceptionDataBag); + } + $event->setExceptions($exceptionBag); + return $event; + } + + /** + * Anonimize Sentry Exception bag + * + * @param \Sentry\ExceptionDataBag $exceptionDataBag + * @return \Sentry\ExceptionDataBag + */ + private static function getAnonymizedSentryException( + \Sentry\ExceptionDataBag $exceptionDataBag + ): \Sentry\ExceptionDataBag { + $exceptionDataBag->setValue(self::getAnonymizedMessage($exceptionDataBag->getValue())); + if ($stackTrace = $exceptionDataBag->getStacktrace()) { + $exceptionDataBag->setStacktrace(self::getAnonymizedSentryStackTrace($stackTrace)); + } + return $exceptionDataBag; + } + + /** + * Anonymise sentry stacktrace + * + * @param \Sentry\Stacktrace $stackTrace + * @return \Sentry\Stacktrace + */ + private static function getAnonymizedSentryStackTrace(\Sentry\Stacktrace $stackTrace): \Sentry\Stacktrace + { + /** @var \Sentry\Frame[] */ + $frames = \array_reverse($stackTrace->getFrames(), true); + $i = \count($frames) - 1; + // * Remove all but keep first (index.php). + while ($i-- > 0) { + $stackTrace->removeFrame(count($stackTrace->getFrames()) - 1); + } + foreach ($frames as $index => $frame) { + $frame->setPostContext([]); + $frame->setPreContext([]); + $frame->setContextLine(''); + $frame->setVars(self::getAnonymizedSentryParams($frame->getVars())); + $stackTrace->addFrame($frame); + if ($index === 0) { + $stackTrace->removeFrame(count($stackTrace->getFrames()) - 1); + } + } + return $stackTrace; + } + + /** + * Get anonymized sentry params + * + * @param mixed[] $params + * @return string[] + */ + private static function getAnonymizedSentryParams(array $params): array + { + foreach ($params as &$param) { + $type = \strtolower(\gettype($param)); + if (\is_string($param)) { + $type = \explode(' ', \trim(strtolower($param)))[0] ?? null; + } + switch (true) { + case $type === 'lambda': + case $type === 'object': + continue 2; + case $type === 'array' and \is_array($param): + $param = sprintf('Array(%d)', \count($param)); + continue 2; + default: + if (\is_numeric($param)) { + $param = \ucfirst($type); + continue 2; + } + if (\is_string($param)) { + $param = sprintf('String(%d)', \strlen($param)); + continue 2; + } + } //end switch + } //end foreach + return $params; + } + + + /** + * Anonymize at least Sql queries + * + * @param string $message + * @return string + */ + public static function getAnonymizedMessage(string $message): string + { + $message = \preg_replace('/^(.*)( \(SQL:.*\))$/', '$1', $message) ?? $message; + if ($sqlPos = \strpos($message, 'to use near')) { + $message = \mb_strcut($message, 0, $sqlPos); + } + return $message; + } + + /** + * Anonymize stack trace + * + * @param \Throwable $e + * @return string + */ + public static function getAnonymizedStackTrace(\Throwable $e): string + { + $projectPath = \realpath(\sprintf('%s/../', \app_path())); + $traceStack = $e->getTrace(); + $traceStr = ''; + $maxStackStage = 0; + foreach ($traceStack as $stackStage => $stack) { + $maxStackStage = $stackStage; + $traceStr .= \sprintf( + '#%s %s(%d): ', + $stackStage, + str_replace($projectPath, '', $stack['file'] ?? ''), + $stack['line'] ?? '' + ); + if (isset($stack['class'])) { + $traceStr .= "{$stack['class']}->{$stack['function']}("; + if (isset($stack['args'])) { + $traceStr .= self::handleArgs($stack); + } + $traceStr .= ")\n"; + } elseif (isset($stack['function'])) { + $traceStr .= "{$stack['function']}("; + if (isset($stack['args'])) { + $traceStr .= self::handleArgs($stack); + } + $traceStr .= ")\n"; + } + } //end foreach + $maxStackStage++; + $traceStr .= "#$maxStackStage {main}"; + return $traceStr; + } + + /** + * Handle Args + * + * @param array $stack + * @return string + */ + public static function handleArgs(array $stack): string + { + $traceArgs = ''; + $argsCount = count($stack['args']); + for ($i = 0; $i < $argsCount; $i++) { + $type = \gettype($stack['args'][$i]); + switch ($type) { + case 'object': + $traceArgs .= sprintf('Object(%s)', \get_class($stack['args'][$i])); + break; + case 'array': + $traceArgs .= sprintf('Array(%d)', \count($stack['args'][$i])); + break; + case 'string': + $traceArgs .= sprintf('String(%d)', \strlen($stack['args'][$i])); + break; + default: + $traceArgs .= \gettype($stack['args'][$i]); + } + $traceArgs .= ($i !== ($argsCount - 1) ? ',' : ''); + } + return $traceArgs; + } +} diff --git a/app/Lib/Helpers/FileStorageHelper.php b/app/Lib/Helpers/FileStorageHelper.php new file mode 100644 index 0000000..0e691d6 --- /dev/null +++ b/app/Lib/Helpers/FileStorageHelper.php @@ -0,0 +1,472 @@ + + */ +class FileStorageHelper +{ + /** + * Destroy the file associate with the attribute. + * + * @param \Illuminate\Database\Eloquent\Model $model + * @param string $attribute + * @return void + */ + public static function removeFile(Model $model, string $attribute): void + { + $path = \ltrim(\urldecode($model->{$attribute}), '/'); + if (\strpos($path, 'storage') !== 0) { + return; + } + $path = ToolboxHelper::mbReplace('storage/', '', $path); + if (Storage::disk('public')->exists($path)) { + Storage::disk('public')->delete($path); + } + } + + /** + * Destroy the file associate with the attribute old value (before updated to DB). + * + * @param \Illuminate\Database\Eloquent\Model $model + * @param string $attribute + * @param boolean $onlyIfUpdated + * @return void + */ + public static function removeOldFile(Model $model, string $attribute, bool $onlyIfUpdated = true): void + { + // * Ignore If removal has to be done only if the field has changed and it actually hasnt. + if ($onlyIfUpdated and $model->{$attribute} === ToolboxHelper::getOriginal($model, $attribute)) { + return; + } + $originalPath = \ltrim(\urldecode(ToolboxHelper::getOriginal($model, $attribute)), '/'); + if (\strpos($originalPath, 'storage') !== 0) { + return; + } + $originalPath = ToolboxHelper::mbReplace('storage/', '', $originalPath); + if (Storage::disk('public')->exists($originalPath)) { + Storage::disk('public')->delete($originalPath); + } + } + + /** + * Store a file using optimized storage strategy + * + * You can use filename param to overload file name. + * + * @param \Illuminate\Database\Eloquent\Model $model The model that will hold the picture. + * @param \Illuminate\Http\UploadedFile|\SplFileInfo|string $file The file, will just return itself is string. + * @param boolean $slugify Force filename slugification. + * @param string|null $filename This string may be used to store the file. + * @param boolean $private To store the file in a private space. + * @return string + * @throws \RuntimeException If file copy fails. + * @phpcs:disable Generic.Metrics.CyclomaticComplexity.TooHigh + */ + public static function storeFile( + Model $model, + $file, + bool $slugify = false, + string $filename = null, + bool $private = false + ): string { + // phpcs:enable + $tableName = $model->getTable(); + if (\is_object($file) and $file instanceof \Illuminate\Http\UploadedFile) { + /** @var \Illuminate\Http\UploadedFile $file */ + $filename = $filename ?: $file->getClientOriginalName(); + $filename = $slugify ? self::slugifyFileName($filename) : $filename; + $newPath = self::prepareMoveFile($tableName, $filename, $private); + $newPath = str_replace(storage_path('app'), '', $newPath); + + if (!$private) { + // * Store public file. + $file->storePubliclyAs( + pathinfo($newPath, \PATHINFO_DIRNAME), + pathinfo($newPath, \PATHINFO_BASENAME) + ); + return 'storage' . str_replace('/public', '', $newPath); + } + + $file->storeAs( + pathinfo($newPath, \PATHINFO_DIRNAME), + pathinfo($newPath, \PATHINFO_BASENAME) + ); + + return str_replace('/private/', '', $newPath); + } //end if + if (\is_object($file) and $file instanceof \SplFileInfo) { + /** @var \SplFileInfo $file */ + $filename = $filename ?: $file->getBaseName(); + $filename = $slugify ? self::slugifyFileName($filename) : $filename; + $newPath = self::prepareMoveFile($tableName, $filename, $private); + if (!File::copy($file->getRealPath(), $newPath)) { + throw new \RuntimeException(sprintf( + 'Failed to copy file %s to %s', + $file->getRealPath(), + $newPath + )); + } + return $private ? + \ltrim(str_replace(\storage_path('app/private'), '/storage/app/private', $newPath), '/') : + \ltrim(str_replace(\storage_path('app/public'), '/storage', $newPath), '/'); + } + return strval($file); + } + + /** + * Store all files from string attribute html + * If oldHtmlString is passed, a diff is done with new and old files + * to keep only files that are present in the new html string. + * + * @param \Illuminate\Database\Eloquent\Model $model The model that will hold the picture. + * @param string $htmlString The html string to parse and modify files. + * @param string|null $oldHtmlString The old html string with alreadyParsed + * files using storeModelFilesFromHtml. + * @return string Html with files pathes replaced using storage strategy. + */ + public static function storeModelFilesFromHtml( + Model $model, + string $htmlString, + string $oldHtmlString = null + ): string { + \collect(self::onlyUploadedFilesWithFileManager(self::findFilesInHtml($htmlString))) + ->each(function (string $path) use ($model, &$htmlString) { + /** @var \Illuminate\Filesystem\FilesystemAdapter */ + $disk = Storage::disk('uploads'); + $fileInfo = new \SplFileInfo($disk->path( + ToolboxHelper::mbReplace('/uploads/', '', \urldecode($path)) + )); + $htmlString = ToolboxHelper::mbReplace( + $path, + '/' . self::storeFile($model, $fileInfo, true), + $htmlString + ); + }); + + if ($oldHtmlString) { + self::removeOldModelFilesFromHtml($htmlString, $oldHtmlString); + } + + return $htmlString; + } + + /** + * Remove all old files from string attribute html that are stored in public that + * are nove present anymore on new html string + * + * @param string $newHtmlString The html string with alreadyParsed files using storeModelFilesFromHtml. + * @param string $oldHtmlString The old html string with alreadyParsed files using storeModelFilesFromHtml. + * @return void + */ + public static function removeOldModelFilesFromHtml(string $newHtmlString, string $oldHtmlString): void + { + self::removeOldFiles(self::findFilesInHtml($oldHtmlString), self::findFilesInHtml($newHtmlString)); + } + + /** + * Remove all old files that are stored in public that + * are not present anymore on new array files + * + * @param string[] $oldFiles The old array files. + * @param string[] $newFiles The new array files. + * @return void + */ + public static function removeOldFiles(array $oldFiles, array $newFiles): void + { + $oldFiles = \collect(self::onlyUploadedFilesWithFileStorageHelper($oldFiles)); + $filesToKeep = \collect(self::onlyUploadedFilesWithFileStorageHelper($newFiles)); + $filesToRemove = $oldFiles->diff($filesToKeep); + $filesToRemove->each(function (string $publicStorageFilePath) { + $path = ToolboxHelper::mbReplace('storage/', '', \ltrim(\urldecode($publicStorageFilePath), '/')); + if (Storage::disk('public')->exists($path)) { + Storage::disk('public')->delete($path); + } + }); + } + + /** + * Remove all files from string attribute html that are stored in public + * + * @param string $htmlString The html string with alreadyParsed files using storeModelFilesFromHtml. + * @return void + */ + public static function removeModelFilesOfHtml(string $htmlString): void + { + $filesToRemove = \collect(self::onlyUploadedFilesWithFileStorageHelper(self::findFilesInHtml($htmlString))); + $filesToRemove->each(function (string $publicStorageFilePath) { + $path = ToolboxHelper::mbReplace('storage/', '', \ltrim(\urldecode($publicStorageFilePath), '/')); + if (Storage::disk('public')->exists($path)) { + Storage::disk('public')->delete($path); + } + }); + } + + /** + * Find all occurence of files in html + * + * @param string $html + * @return array + */ + public static function findFilesInHtml(string $html): array + { + preg_match_all('/href="(?P.*)"|src="(?P.*)"|url="(?P.*)"/Um', $html, $m, PREG_SET_ORDER, 0); + return collect($m)->pluck('href')->filter() + ->concat(collect($m)->pluck('url')->filter()) + ->concat(collect($m)->pluck('src')->filter()) + ->all(); + } + + /** + * Filter array to get only uploaded files that exists + * on disk 'public' (using helper storage strategy) + * + * @param array $urls + * @return array + */ + public static function onlyUploadedFilesWithFileStorageHelper(array $urls): array + { + return \collect($urls)->unique() + // * Filter to get only /uploads and using app url or empty + ->filter(function (string $url) { + $path = \parse_url($url, \PHP_URL_PATH); + return \strpos(\ltrim($path, '/'), 'storage/modelfiles') === 0; + })->filter(function (string $url) { + $path = \parse_url($url, \PHP_URL_PATH); + return Storage::disk('public') + ->exists(ToolboxHelper::mbReplace('storage/', '', \ltrim(\urldecode($path), '/'))); + })->all(); + } + + /** + * Filter array to get only uploaded files that exists + * on disk 'uploads' + * + * @param array $urls + * @return array + */ + private static function onlyUploadedFilesWithFileManager(array $urls): array + { + return \collect($urls)->unique() + // * Filter to get only /uploads and using app url or empty + ->filter(function (string $url) { + $host = \parse_url($url, \PHP_URL_HOST); + $path = \parse_url($url, \PHP_URL_PATH); + return ($host === \parse_url(config('app.url'), PHP_URL_HOST) or \is_null($host)) and + \strpos(\ltrim($path, '/'), 'uploads') === 0; + })->filter(function (string $url) { + $path = \parse_url($url, \PHP_URL_PATH); + return Storage::disk('uploads') + ->exists(ToolboxHelper::mbReplace('uploads/', '', \ltrim(\urldecode($path), '/'))); + })->all(); + } + + /** + * Prepare storage path and return + * the file full path + * + * @param string $tableName Model table name. + * @param string $filename The basename for the file. + * @param boolean $private May the file be stored in a private dir. + * @return string + */ + private static function prepareMoveFile(string $tableName, string $filename, bool $private = false): string + { + // * Security filter + $filename = \htmlspecialchars($filename); + // * Security filter + beautifier + $filename = self::sanitizeFileName($filename); + // * Slugify filename + $ext = \pathinfo($filename, \PATHINFO_EXTENSION); + $filename = Str::slug(\pathinfo($filename, \PATHINFO_FILENAME)) . + (\strlen($ext) ? ".{$ext}" : ''); + + $folderPath = self::getStoragePath( + $private ? 'app/private/modelfiles' : 'app/public/modelfiles', + $tableName, + $filename, + $private + ); + $filename = self::getFileUniqueName($folderPath, $filename); + return "{$folderPath}/{$filename}"; + } + + /** + * Create sub folders to store files using pattern + * storage/modelfiles/posts/10/04/19/5f + * year/month/day/md5 first 2 letters + * + * @param string $storage_dir + * @param string $table + * @param string $filename + * @return string + */ + private static function getStoragePath(string $storage_dir, string $table, string $filename): string + { + $filenameHash = \md5($filename); + $pathFolder = \storage_path(sprintf( + '%s/%s/%s/%s/%s/%s', + $storage_dir, + $table, + gmdate('y'), + gmdate('m'), + gmdate('d'), + substr($filenameHash, 0, 2) + )); + if (!File::exists($pathFolder)) { + File::makeDirectory($pathFolder, 0755, true); + } + return $pathFolder; + } + + /** + * Get unique filename if the path is already occupied + * + * @param string $folderPath + * @param string $filename + * @return string + * @throws \RuntimeException If a unique filename cannot be obtained. + */ + private static function getFileUniqueName(string $folderPath, string $filename): string + { + $attempts = 0; + $maxAttempts = 20; + while (File::exists("{$folderPath}/{$filename}")) { + if ($attempts++ >= $maxAttempts) { + throw new \RuntimeException("Failed to have a unique filename for {$folderPath}/{$filename}"); + } + $filename = pathinfo($filename, \PATHINFO_FILENAME) . + \uniqid('-') . '.' . + pathinfo($filename, \PATHINFO_EXTENSION); + } + return $filename; + } + + /** + * Slugify the filename + * + * @param string $filename + * @return string + */ + public static function slugifyFileName(string $filename): string + { + return Str::slug(pathinfo($filename, \PATHINFO_FILENAME)) . '.' . pathinfo($filename, \PATHINFO_EXTENSION); + } + + /** + * Sanitize File name for uploaded files + * + * @param string $filename The original uploaded client file name. + * @param boolean $beautify Beautify the filename. + * @return string The sanitized file name. + */ + public static function sanitizeFileName(string $filename, bool $beautify = true): string + { + // * Sanitize filename + // phpcs:disable Generic.Files.LineLength.TooLong + $filename = preg_replace( + '~ + [<>:"/\\\|?*]| # file system reserved https://en.wikipedia.org/wiki/Filename#Reserved_characters_and_words + [\x00-\x1F]| # control characters http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx + [\x7F\xA0\xAD]| # non-printing characters DEL, NO-BREAK SPACE, SOFT HYPHEN + [#\[\]@!$&\'()+,;=]| # URI reserved https://tools.ietf.org/html/rfc3986#section-2.2 + [{}^\~`] # URL unsafe characters https://www.ietf.org/rfc/rfc1738.txt + ~x', + '-', + $filename + ); + // phpcs:enable + // * Avoids '.' '..' or '.hiddenFiles' . + $filename = Str::of($filename)->ltrim('.-'); + // * Optional beautification + if ($beautify) { + $filename = static::beautifyFilename($filename); + } + // * Maximize filename length to 255 bytes http://serverfault.com/a/9548/44086 + /** @var string */ + $extension = pathinfo($filename, \PATHINFO_EXTENSION); + /** @var string */ + $filename = pathinfo($filename, \PATHINFO_FILENAME); + + $encoding = mb_detect_encoding($filename); + $encoding = $encoding ? $encoding : null; + return \mb_strcut( + $filename, + 0, + 255 - (!empty($extension) ? strlen($extension) + 1 : 0), + $encoding + ) . (!empty($extension) ? ".$extension" : ''); + } + + /** + * Beautify a filename + * + * @param string $filename + * @return string + */ + private static function beautifyFilename(string $filename): string + { + // Reduce consecutive characters. + $filename = preg_replace([ + // * "file name.zip" becomes 'file-name.zip' + '/ +/', + // * "file___name.zip" becomes 'file-name.zip' + '/_+/', + // * "file---name.zip" becomes 'file-name.zip' + '/-+/' + ], '-', $filename); + $filename = preg_replace([ + // * "file--.--.-.--name.zip" becomes "file.name.zip" + '/-*\.-*/', + // * "file...name..zip" becomes "file.name.zip" + '/\.{2,}/' + ], '.', $filename); + // Lowercase for windows/unix interoperability http://support.microsoft.com/kb/100625 . + $filename = mb_strtolower($filename, mb_detect_encoding($filename)); + // * ".file-name.-" becomes "file-name" + $filename = trim($filename, '.-'); + return $filename; + } + + /** + * Remove all model files for the given Model. + * + * @param \Illuminate\Database\Eloquent\Model $model + * @return void + */ + public static function removeModelFiles(Model $model): void + { + $tableName = $model::query()->getModel()->getTable(); + + if (!empty(Storage::disk('public')->allFiles("modelfiles/{$tableName}"))) { + Storage::disk('public')->deleteDirectory("modelfiles/{$tableName}"); + } + if (!empty(Storage::disk('private')->allFiles("modelfiles/{$tableName}"))) { + Storage::disk('private')->deleteDirectory("modelfiles/{$tableName}"); + } + } +} diff --git a/app/Lib/Helpers/ToolboxHelper.php b/app/Lib/Helpers/ToolboxHelper.php new file mode 100644 index 0000000..b3cd701 --- /dev/null +++ b/app/Lib/Helpers/ToolboxHelper.php @@ -0,0 +1,540 @@ + $array1 + * @param array $array2 + * + * @return array + */ + public static function arrayMergeRecursiveDistinct(array &$array1, array &$array2): array + { + $merged = $array1; + foreach ($array2 as $key => &$value) { + if (is_array($value) && isset($merged[$key]) && is_array($merged[$key])) { + $merged[$key] = self::arrayMergeRecursiveDistinct($merged[$key], $value); + } else { + $merged[$key] = $value; + } + } + + return $merged; + } + + /** + * Validate recaptcha + * + * @param \Illuminate\Http\Request $request + * @param boolean $isV3 + * @return void + */ + public static function validateRecaptcha(Request $request, bool $isV3 = true) + { + Validator::validate($request->all(), [ + 'g-recaptcha-response' => [ + 'required', 'string', + // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed, Generic.CodeAnalysis.UnusedFunctionParameter.FoundBeforeLastUsed + function ($attribute, $value, $fail) use ($isV3) { + try { + $response = Http::asForm()->post('https://www.google.com/recaptcha/api/siteverify', [ + 'secret' => config('services.google.recaptcha.private'), + 'response' => \strval($value), + 'remoteip' => app('clientIp') + ]); + if ($e = $response->toException()) { + throw $e; + } + if ($isV3) { + if ( + !$response->json('success') or + !$response->json('challenge_ts') or + Carbon::parse($response->json('challenge_ts'))->lessThan(\now('utc')->subMinutes(5)) or + $response->json('hostname') !== \parse_url(config('app.url'), \PHP_URL_HOST) or + !$response->json('score') + ) { + throw new \RuntimeException(); + } + if (\floatval($response->json('score')) < 0.8) { + $fail(trans('recaptcha.not_enough_score')); + } + return; + } + if ( + !$response->json('success') or + !$response->json('challenge_ts') or + Carbon::parse($response->json('challenge_ts'))->lessThan(\now('utc')->subMinutes(5)) or + $response->json('hostname') !== \parse_url(config('app.url'), \PHP_URL_HOST) + ) { + throw new \RuntimeException(); + } + } catch (\Exception $e) { + $fail(trans('recaptcha.error')); + } //end try + } + ] + ], [], ['g-recaptcha-response' => 'reCaptcha']); + } + + /** + * Strip scheme (https) on oembed urls + * Only embed allowed are for MP4 self hosted videos right now + * + * https is force by ckeditor MediaElements which natively supports + * only cloud hosted medias (youtube, spotify etc..) + * + * @param string $input + * @return string + */ + public static function stripCkEditorSchemesOnMediaInputs(string $input): string + { + $input = \preg_replace('/(?<=)/m', '', $input); + return $input; + } + + /** + * Assert That no Back Office url is present on txt + * + * @param string $field + * @param string $text + * @return string + * @throws \Illuminate\Validation\ValidationException If url is a bo url. + */ + public static function assertNoInternalBoUrls(string $field, string $text): string + { + $routes = Route::getRoutes(); + // * Url replace and email replace. + $text = preg_replace_callback( + // phpcs:ignore Generic.Files.LineLength.TooLong + '/(?P(?:http[s]?:\/\/.)?(?:www\.)?[-a-zA-Z0-9@%._\+~#=]{2,256}\.[a-z]{2,6}\b(?:[-a-zA-Z0-9@:%_\+.~#?&\/\/=]*))/', + function ($matches) use ($routes, $field) { + $match = collect($matches)->first() ?? ''; + $url = $match; + try { + $request = Request::create($url); + // If a route is match then it do not throws exception. + if ( + \parse_url(config('app.url'), \PHP_URL_HOST) === \parse_url($url, \PHP_URL_HOST) && + trim($routes->match($request)->getPrefix() ?? '', '/') === 'bo' + ) { + // Removes the matched url. + throw ValidationException::withMessages([ + $field => trans( + 'crud.libs.toolbox.assertNoInternalBoUrls', + ['attribute' => $field] + ) + ]); + } + return $match; + } catch (NotFoundHttpException $e) { + return $match; + } + }, + $text + ); + return $text; + } + + /** + * Assert That only external url is present on txt + * + * @param string $field + * @param string $text + * @return string + * @throws \Illuminate\Validation\ValidationException If url is a bo url. + */ + public static function assertNoInternalUrls(string $field, string $text): string + { + self::assertNoInternalBoUrls($field, $text); + $routes = Route::getRoutes(); + // * Url replace and email replace. + $text = preg_replace_callback( + // phpcs:ignore Generic.Files.LineLength.TooLong + '/(?P(?:http[s]?:\/\/.)?(?:www\.)?[-a-zA-Z0-9@%._\+~#=]{2,256}\.[a-z]{2,6}\b(?:[-a-zA-Z0-9@:%_\+.~#?&\/\/=]*))/', + function ($matches) use ($routes, $field) { + $match = collect($matches)->first() ?? ''; + $url = $match; + try { + $request = Request::create($url); + // If a route is match then it do not throws exception. + if ( + \parse_url(config('app.url'), \PHP_URL_HOST) === \parse_url($url, \PHP_URL_HOST) && + $routes->match($request) + ) { + // Removes the matched url. + throw ValidationException::withMessages([ + $field => trans( + 'crud.libs.toolbox.assertNoInternalUrls', + ['attribute' => $field, 'appname' => config('app.name')] + ) + ]); + } + return $match; + } catch (NotFoundHttpException $e) { + return $match; + } + }, + $text + ); + return $text; + } + + /** + * Mutltibyte string replace + * + * @param array|string $search + * @param array|string $replace + * @param array|string $subject + * @param integer $count + * @return array|string + */ + public static function mbReplace( + array|string $search, + array|string $replace, + array|string $subject, + int &$count = 0 + ): array|string { + if (!is_array($search) && is_array($replace)) { + return false; + } + if (is_array($subject)) { + // Call mb_replace for each single string in $subject . + foreach ($subject as &$string) { + $string = &self::mbReplace($search, $replace, $string, $count); + } + } elseif (is_array($search)) { + if (!is_array($replace)) { + foreach ($search as &$string) { + $subject = self::mbReplace($string, $replace, $subject, $count); + } + } else { + $n = max(count($search), count($replace)); + while ($n--) { + $subject = self::mbReplace(current($search), current($replace), $subject, $count); + next($search); + next($replace); + } + } + } else { + $parts = mb_split(preg_quote($search), $subject); + $count = count($parts) - 1; + $subject = implode($replace, $parts); + } //end if + return $subject; + } + + /** + * Asserts that the field is unique + * + * @param string $table + * @param string $field + * @param string|integer|float|boolean|null|array $value + * @param integer|null $id + * @param callable|null $query + * @return void + * @throws \Illuminate\Validation\ValidationException If the field is not unique. + */ + public static function assertFieldIsUnique( + string $table, + string $field, + string|int|float|bool|null|array $value, + ?int $id = null, + ?callable $query = null + ) { + if (!$query) { + Validator::make([$field => $value], [ + self::mbReplace('.', '\.', $field) => Rule::unique($table, $field)->ignore($id), + ], [ + self::mbReplace('.', '\.', "{$field}.unique") + => trans('crud.libs.toolbox.assertFieldIsUnique', ['attribute' => $field, 'value' => $value]) + ])->validate(); + return; + } + Validator::make([$field => $value], [ + $field => Rule::unique($table)->where($query)->ignore($id), + ], [ + $field . '.unique' => trans( + 'crud.libs.toolbox.assertFieldIsUnique', + ['attribute' => $field, 'value' => $value] + ) + ])->validate(); + } + + /** + * Get original polyfill with autotranslate behavior + * + * @param \Illuminate\Database\Eloquent\Model $model + * @param string $attribute + * @return mixed + */ + public static function getOriginal(Model $model, string $attribute): mixed + { + if (\in_array('Spatie\Translatable\HasTranslations', \class_uses_recursive($model))) { + return $model->getTranslation( + $attribute, + $model->getLocale(), + $model->useFallbackLocale() + ); + } + return $model->getOriginal($attribute); + } + + /** + * Dynamic model query + * + * @param string $defaultLocale + * @param \Illuminate\Contracts\Database\Eloquent\Builder $q + * @param string $column + * @param string $value + * @return \Illuminate\Contracts\Database\Eloquent\Builder + */ + public static function queryColumnWithLocales( + string $defaultLocale, + Builder $q, + string $column, + string $value + ): Builder { + $currentLocale = app()->currentLocale(); + $locales = collect(config('app.locales')) + ->mapWithKeys(fn (string $locale) => [$locale => $locale]); + if (!$locales->has($defaultLocale)) { + // * Remove default locale. + $locales->pull($defaultLocale); + } + if (!$locales->has($currentLocale)) { + // * Remove current locale. + $locales->pull($currentLocale); + } + + return $q->where(function (Builder $q) use ($defaultLocale, $currentLocale, $locales, $column, $value) { + // * Query default locale + $q->whereRaw("JSON_EXTRACT({$column}, '$.{$defaultLocale}') = '{$value}'"); + if ($defaultLocale !== $currentLocale) { + // * Query current locale + $q->whereRaw("JSON_EXTRACT({$column}, '$.{$currentLocale}') = '{$value}'"); + } + // * Query any other locale + $locales->each(fn ($locale) => $q->orWhereRaw( + "JSON_EXTRACT({$column}, '$.{$locale}') = '{$value}'" + )); + }); + } + + /** + * Generates an array from a dot separated string + * + * @param string $path + * @param mixed $value + * @param string $separator + * @return array + */ + public static function dotStringToNestedArray(string $path, mixed $value, string $separator = '.'): array + { + $arr = $value; + $keys = array_reverse(explode($separator, $path)); + + foreach ($keys as $key) { + $arr = [$key => $arr]; + } + return $arr; + } + + /** + * Convert deeply an object to array + * + * @param array|object $input + * @return array + * @throws \RuntimeException If $input var is a scalar value. + */ + public static function objectToArray($input): array + { + // Only process if it's an object or array being passed to the function. + if (is_object($input) or is_array($input)) { + $ret = (array)$input; + foreach ($ret as &$item) { + // Recursively process EACH element only if not scalar. + $item = (is_object($item) or is_array($item)) ? + self::objectToArray($item) : $item; + } + return $ret; + } else { + throw new \RuntimeException('Cannot handle $input of type ' . \gettype($input)); + } + } + + /** + * Convert deeply an array to object + * + * @param array|object $input + * @return object + * @throws \RuntimeException If $input var is a scalar value. + */ + public static function arrayToObject($input): object + { + // Only process if it's an object or array being passed to the function. + if (is_object($input) or is_array($input)) { + $ret = (object)$input; + foreach ($ret as &$item) { + // Recursively process EACH element only if not scalar. + $item = (is_object($item) or is_array($item)) ? + self::arrayToObject($item) : $item; + } + return $ret; + } else { + throw new \RuntimeException('Cannot handle $input of type ' . \gettype($input)); + } + } + + /** + * Validate picture + * + * @param string $attribute + * @param string|null $value + * @param callback $fail + * @param object $sizes + * @return void + */ + public static function validatePicture(string $attribute, string|null $value, callable $fail, object $sizes) + { + if (!($useStorage = Storage::exists($value)) and !File::exists($value)) { + $fail(trans(':attribute n\'existe pas dans le système de fichier', [ + 'attribute' => $attribute + ])); + return; + } + /** @var string */ + $fileFullPath = self::getUploadedFileFullPath($value, $useStorage); + if ( + !\in_array(self::getUploadedFileMimeType($value, $useStorage), [ + 'image/jpeg', 'image/jpg', 'image/png', 'image/gif' + ]) + ) { + $fail(trans(':attribute doit être une image de type \'image/jpeg,image/jpg,image/png,image/gif\'', [ + 'attribute' => $attribute + ])); + } + if (!($dimensions = \getimagesize($fileFullPath)) or !isset($dimensions[0]) or !isset($dimensions[1])) { + $fail(trans(':attribute impossible de valider les dimensions', [ + 'attribute' => $attribute + ])); + } else { + $width = intval($dimensions[0]); + $height = intval($dimensions[1]); + + $xMessage = trans( + ":attribute la largeur doit être comprise entre {$sizes->minWith}px et {$sizes->maxWith}px" + ); + if ($sizes->minWith === $sizes->maxWith) { + $xMessage = trans(":attribute la largeur doit être de {$sizes->minWith}px"); + } + $yMessage = trans( + ":attribute la hauteur doit être comprise entre {$sizes->minWith}px et {$sizes->maxWith}px" + ); + if ($sizes->minHeight === $sizes->maxHeight) { + $yMessage = trans(":attribute la hauteur doit être de {$sizes->minHeight}px"); + } + + if (($width < $sizes->minWith) or ($width > $sizes->maxWith)) { + $fail($xMessage); + } + if (($height < $sizes->minHeight) or ($height > $sizes->maxHeight)) { + $fail($yMessage); + } + } //end if + } + + /** + * Get the file full path + * + * @param string $value + * @param boolean $useStorage + * @return string + */ + private static function getUploadedFileFullPath(string $value, bool $useStorage): string + { + /** @var \Illuminate\Filesystem\FilesystemAdapter */ + $disk = Storage::disk(); + return !$useStorage ? (realpath($value) ?: $value) : $disk->path($value); + } + + /** + * Get the file mimetype + * + * @param string $value + * @param boolean $useStorage + * @return string|false + */ + private static function getUploadedFileMimeType(string $value, bool $useStorage) + { + return !$useStorage ? File::mimeType($value) : Storage::mimeType($value); + } + + /** + * Fetch class list from a specific namespace + * + * @param string $namespace + * @return array An array of classe namespaces + */ + public static function getClassesUsingNamespace(string $namespace): array + { + return collect(File::files(\app_path(Str::of($namespace)->replaceFirst('\App', '')))) + ->filter(fn (SplFileInfo $splFileInfo) => $splFileInfo->getExtension() === 'php') + ->map(fn (SplFileInfo $splFileInfo) => Str::of($splFileInfo->getBasename()) + ->replace('.' . $splFileInfo->getExtension(), '')->prepend("{$namespace}\\"))->all(); + } + + /** + * Get all classes from a specific namespace that implement a specific interface + * + * @param string $namespace + * @param string $interface + * @return array An array of classe namespaces + */ + public static function getClassesUsingInterface(string $namespace, string $interface): array + { + return Arr::where( + static::getClassesUsingNamespace($namespace), + fn (string $class_namespace) => \collect(class_implements($class_namespace, true))->filter() + ->contains(fn (string $class_interface) => $class_interface === $interface) + ); + } + + /** + * Get validated pagination from request. + * + * @param integer $default + * @param string $field + * @param string $enumPath + * @return integer + */ + public static function getValidatedEnum(int $default, string $field, string $enumPath): int + { + try { + return \intval(Validator::make( + [$field => \request()->get($field)], + [$field => new Enum($enumPath)] + )->validated()[$field]); + } catch (ValidationException $e) { + return $default; + } + } +} diff --git a/app/Lib/vendor/LDCWEB/MesBR.php b/app/Lib/vendor/LDCWEB/MesBR.php new file mode 100644 index 0000000..5115481 --- /dev/null +++ b/app/Lib/vendor/LDCWEB/MesBR.php @@ -0,0 +1,73 @@ +endpoint = $endpoint; + $this->refCamp = $refCamp; + } + public function createCustomer(string $hashcode, string $email, string $country) + { + return $this->callAPI("POST", '/customer', ['hashcode' => $hashcode, 'email' => $email, 'country' => $country]); + } + public function updateCustomer(string $hashcode, string $email, string $country) + { + return $this->callAPI("POST", '/customer', ['hashcode' => $hashcode, 'email' => $email, 'country' => $country]); + } + public function getMurCustomer(string $hashcode) + { + return $this->callAPI("GET", '/customer/mur', ['refcamp' => $this->refCamp, 'hashcode' => $hashcode]); + } + public function getMur() + { + return $this->callAPI("GET", '/mur', ['refcamp' => $this->refCamp]); + } + public function printCoupons(string $hashcode, array $coupons) + { + return $this->callAPI("GET", '/coupons/print', ['refcamp' => $this->refCamp, 'hashcode' => $hashcode, 'coupons' => implode(",", $coupons)]); + } + private function callAPI($method, $url, $data = []) + { + $url = $this->endpoint . '/api/v1' . $url; + $curl = curl_init(); + switch ($method) { + case "POST": + curl_setopt($curl, CURLOPT_POST, 1); + if ($data) { + curl_setopt($curl, CURLOPT_POSTFIELDS, $data); + } + break; + case "PUT": + case "DELETE": + curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $method); + if ($data) { + curl_setopt($curl, CURLOPT_POSTFIELDS, http_build_query($data)); + } + break; + default: + if ($data) { + $url = sprintf("%s?%s", $url, http_build_query($data)); + } + } + curl_setopt($curl, CURLOPT_URL, $url); + curl_setopt($curl, CURLOPT_COOKIESESSION, true); + curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); + + $result = curl_exec($curl); + if (!curl_errno($curl)) { + $http_code = curl_getinfo($curl, CURLINFO_HTTP_CODE); + if (!in_array($http_code, [200, 201])) { + return (object)['status' => 'KO', 'code' => 500, 'message' => 'Connection to API failed - Code HTTP : ' . $http_code]; + } + } else { + return (object)['status' => 'KO', 'code' => 500, 'message' => 'Connection to API failed : ' . curl_error($curl)]; + } + curl_close($curl); + return json_decode($result); + } +} diff --git a/app/Lib/vendor/crm-client-3.0.6/.editorconfig b/app/Lib/vendor/crm-client-3.0.6/.editorconfig new file mode 100644 index 0000000..0a72ec6 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/.editorconfig @@ -0,0 +1,18 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +indent_style = space +indent_size = 4 +trim_trailing_whitespace = true + +[*.json] +indent_size = 4 + +[*.md] +trim_trailing_whitespace = false + +[*.{yml,yaml}] +indent_size = 2 diff --git a/app/Lib/vendor/crm-client-3.0.6/.env.default b/app/Lib/vendor/crm-client-3.0.6/.env.default new file mode 100644 index 0000000..2bbcb69 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/.env.default @@ -0,0 +1,3 @@ +crm.token=qsdqsd +crm.password=qsdqsdqsds +crm.endpoint=localhost diff --git a/app/Lib/vendor/crm-client-3.0.6/.gitignore b/app/Lib/vendor/crm-client-3.0.6/.gitignore new file mode 100644 index 0000000..5ee5d3c --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/.gitignore @@ -0,0 +1,5 @@ +workspace.code-workspace +vendor +node_modules +.phpdoc +.phive diff --git a/app/Lib/vendor/crm-client-3.0.6/.gitkeep b/app/Lib/vendor/crm-client-3.0.6/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/app/Lib/vendor/crm-client-3.0.6/.gitlab-ci.yml b/app/Lib/vendor/crm-client-3.0.6/.gitlab-ci.yml new file mode 100644 index 0000000..2c93b54 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/.gitlab-ci.yml @@ -0,0 +1,26 @@ +# This file is a template, and might need editing before it works on your project. +# To contribute improvements to CI/CD templates, please follow the Development guide at: +# https://docs.gitlab.com/ee/development/cicd/templates.html +# This specific template is located at: +# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Composer.gitlab-ci.yml + +# Publishes a tag/branch to Composer Packages of the current project +package-publish: + image: curlimages/curl:latest + stage: build + variables: + URL: "$CI_SERVER_PROTOCOL://$CI_SERVER_HOST:$CI_SERVER_PORT/api/v4/projects/$CI_PROJECT_ID/packages/composer?job_token=$CI_JOB_TOKEN" + script: + - insecure=$([ "$CI_SERVER_PROTOCOL" = "http" ] && echo "--insecure" || echo "") + - response=$(curl -s -w "\n%{http_code}" $insecure --data tag=$CI_COMMIT_TAG $URL) + - code=$(echo "$response" | tail -n 1) + - body=$(echo "$response" | head -n 1) + # Output state information + - if [ $code -eq 201 ]; then + echo "Package created - Code $code - $body"; + else + echo "Could not create package - Code $code - $body"; + exit 1; + fi + rules: + - if: '$CI_COMMIT_TAG =~ /^\d+.\d+.\d+/' diff --git a/app/Lib/vendor/crm-client-3.0.6/.vscode/launch.json b/app/Lib/vendor/crm-client-3.0.6/.vscode/launch.json new file mode 100644 index 0000000..964a7bf --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/.vscode/launch.json @@ -0,0 +1,22 @@ +{ + // Utilisez IntelliSense pour en savoir plus sur les attributs possibles. + // Pointez pour afficher la description des attributs existants. + // Pour plus d'informations, visitez : https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "Listen for XDebug", + "type": "php", + "request": "launch", + "port": 9000 + }, + { + "name": "Launch currently open script", + "type": "php", + "request": "launch", + "program": "${file}", + "cwd": "${fileDirname}", + "port": 9000 + } + ] +} diff --git a/app/Lib/vendor/crm-client-3.0.6/apiConfig.readonly.json b/app/Lib/vendor/crm-client-3.0.6/apiConfig.readonly.json new file mode 100644 index 0000000..26a7377 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/apiConfig.readonly.json @@ -0,0 +1,6 @@ +{ + "version": "3.0.6", + "timestampTimeout": 30, + "apiRequestRatePerMinute": 256, + "servicesDBCache": 10 +} \ No newline at end of file diff --git a/app/Lib/vendor/crm-client-3.0.6/changelog.md b/app/Lib/vendor/crm-client-3.0.6/changelog.md new file mode 100644 index 0000000..97b070b --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/changelog.md @@ -0,0 +1,92 @@ +# Changelog + +### All notable changes to `CRM CLient V2` will be documented in this file. + +# version 3.0.6 +- Added: SingleOptin::unsetStatusWithHashcode to allow customers to unsubscribe using a hashcode, now single optins do have hashcodes. +# version 3.0.5 +- Bumped to follow CRM updates + +# version 3.0.4 +- Added CI configuration + +# version 3.0.3 +- Update Country enum +- Fixed : request merge method of data to query (Request.php) +- Fixed : validate json check should check if really false (Response.php) +- Bumped composer deps + +# version 3.0.2 +- Regen documentation with php documentor + +# version 3.0.1 +- Fixed : Customer do not call update if there are no updated fields +- Fixed : WPCrm bootSessionIfNeeded trying to access $_SESSION['wpcrm'] before session was started +- Fixed : WPCrm now only returns a boolean +- Fixed : get crm info when client used in laravel +- Changed : WpCrm::makeApiV2Call Change LogLevel on error from Emerge to Critical +- Changed : WPCrm readd forceLogin() + +# version 3.0.0 + +This removes api authentication with token in favor of signature method. +Refactored code and clean up. It add more unit test plus code coverage +in test/coverage. + +- Added : mardown documentation. +- Changed : WPCrm::login now only returns a boolean +- Changed : model Stats::getQuestionStats to pass question as route parameter +- Changed : now requests need to have a signature generated with a private key (crm password) using hmac sha256 wrapping url, method and parameters +- Changed : now timestamp will timeout if request is slower than "timestampTimeout", this means crm will reject the request +- Changed : throw ValidationException s instead of TypeErrors +- Changed : timestamp has to be send in request with a DateTime format, it also has to a UTC value +- Fixed : Change WPCRM dynamic session key, this could prevent spoofing session in some cases. +- Fixed : closure validation +- Fixed : model mutator not catching reflectionException +- Fixed : really send json request using Guzzle internal lib methods. +- Removed : Api AUTH system with api token +- Removed : ApiError::needAuth +- Removed : composer vlucas/dotenv, .env file is not handled any more. +- Removed : LoginException +- Removed : memcached dependency +- Removed : need of memcached +- Removed : unused service provider +- Removed : WpCrm::forceLogin +- Removed : WpCrm::sendArcadiaMailDefault +- Removed : WpCrm::sendArcadiaMailGame +- Updated : PHPCS rules, phpcs fixes and refactored code + +# version 2.3.2 +- Hotfixed arcadia order + +# version 2.3.1 +- Fixed Consider fill attributes as can be nullable +- Fixed Respect sometimes validation + +# version 2.3.0 +- Added Stats call by brand and by question +- Added min rule valdation for integers as well as for strings in Utils + +# version 2.2.3 +- Changed for bool casting for response parse field 'status' when is int 1 or 0 +- Changed, properties are filled from CRM after a save or update action, this will allow for props to be set on model as it is on the crm, after all checks and casts (firstname capitalized, ... etc) + +# version 2.2.2 +- Fixed Arcadia mail where sending parameters as query instead of Data + +# version 2.2.1 +- Fixed fill methods on models to handle all enums + arrays +- Changed validation on customer, city minimum is now 2 chars, + firstname and lastname min are now 1 char, phone min 10 has been removed, + other validations are made on backend side such as limit countries, + right now limit is FR, BE, NL. + Anyway dont forget to handle ValidationException which returns crm message. +- Include Drom Com to allowed countries +- Update Country enum to remove '-' chars + +# version 2.2.0 +- Fixed Utils.php getResquest method +- Changed Arcadia mails, add customer parameters for these calls + +# version 2.1.9 +- Fixed method CrmClientModel::fill now validates data and put value to updatedValues array diff --git a/app/Lib/vendor/crm-client-3.0.6/composer.json b/app/Lib/vendor/crm-client-3.0.6/composer.json new file mode 100644 index 0000000..e63bef9 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/composer.json @@ -0,0 +1,47 @@ +{ + "name": "ldc/ldccrmv2client", + "type": "library", + "description": "LDC CRM Client V2", + "license": "MIT", + "version": "3.0.6", + "authors": [ + { + "name": "Jérémy Munsch", + "email": "jeremy.munsch@ldc.fr", + "homepage": "https://jeremydev.ovh" + } + ], + "homepage": "https://github.com/kwaadpepper", + "keywords": [ + "Laravel", + "CRM", + "Client", + "LDC" + ], + "require": { + "kwaadpepper/enum": "^2.1", + "guzzlehttp/guzzle": "^7.4", + "respect/validation": "^2.2" + }, + "require-dev": { + "phpunit/phpunit": "~9.0", + "squizlabs/php_codesniffer": "^3.5", + "orchestra/testbench": "^6.13", + "slevomat/coding-standard": "^7.0" + }, + "autoload": { + "psr-4": { + "LDC\\LDCCRM\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { + "LDC\\LDCCRM\\Tests\\": "tests" + } + }, + "config": { + "allow-plugins": { + "dealerdirect/phpcodesniffer-composer-installer": true + } + } +} diff --git a/app/Lib/vendor/crm-client-3.0.6/composer.lock b/app/Lib/vendor/crm-client-3.0.6/composer.lock new file mode 100644 index 0000000..d19719a --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/composer.lock @@ -0,0 +1,8082 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", + "This file is @generated automatically" + ], + "content-hash": "9fc0e0c41d5cadd6137da5643e676e9d", + "packages": [ + { + "name": "guzzlehttp/guzzle", + "version": "7.4.3", + "source": { + "type": "git", + "url": "https://github.com/guzzle/guzzle.git", + "reference": "74a8602c6faec9ef74b7a9391ac82c5e65b1cdab" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/74a8602c6faec9ef74b7a9391ac82c5e65b1cdab", + "reference": "74a8602c6faec9ef74b7a9391ac82c5e65b1cdab", + "shasum": "" + }, + "require": { + "ext-json": "*", + "guzzlehttp/promises": "^1.5", + "guzzlehttp/psr7": "^1.8.3 || ^2.1", + "php": "^7.2.5 || ^8.0", + "psr/http-client": "^1.0", + "symfony/deprecation-contracts": "^2.2 || ^3.0" + }, + "provide": { + "psr/http-client-implementation": "1.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.4.1", + "ext-curl": "*", + "php-http/client-integration-tests": "^3.0", + "phpunit/phpunit": "^8.5.5 || ^9.3.5", + "psr/log": "^1.1 || ^2.0 || ^3.0" + }, + "suggest": { + "ext-curl": "Required for CURL handler support", + "ext-intl": "Required for Internationalized Domain Name (IDN) support", + "psr/log": "Required for using the Log middleware" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "7.4-dev" + } + }, + "autoload": { + "files": [ + "src/functions_include.php" + ], + "psr-4": { + "GuzzleHttp\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Jeremy Lindblom", + "email": "jeremeamia@gmail.com", + "homepage": "https://github.com/jeremeamia" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://github.com/sagikazarmark" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + } + ], + "description": "Guzzle is a PHP HTTP client library", + "keywords": [ + "client", + "curl", + "framework", + "http", + "http client", + "psr-18", + "psr-7", + "rest", + "web service" + ], + "support": { + "issues": "https://github.com/guzzle/guzzle/issues", + "source": "https://github.com/guzzle/guzzle/tree/7.4.3" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/guzzle", + "type": "tidelift" + } + ], + "time": "2022-05-25T13:24:33+00:00" + }, + { + "name": "guzzlehttp/promises", + "version": "1.5.1", + "source": { + "type": "git", + "url": "https://github.com/guzzle/promises.git", + "reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/promises/zipball/fe752aedc9fd8fcca3fe7ad05d419d32998a06da", + "reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da", + "shasum": "" + }, + "require": { + "php": ">=5.5" + }, + "require-dev": { + "symfony/phpunit-bridge": "^4.4 || ^5.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.5-dev" + } + }, + "autoload": { + "files": [ + "src/functions_include.php" + ], + "psr-4": { + "GuzzleHttp\\Promise\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + } + ], + "description": "Guzzle promises library", + "keywords": [ + "promise" + ], + "support": { + "issues": "https://github.com/guzzle/promises/issues", + "source": "https://github.com/guzzle/promises/tree/1.5.1" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/promises", + "type": "tidelift" + } + ], + "time": "2021-10-22T20:56:57+00:00" + }, + { + "name": "guzzlehttp/psr7", + "version": "2.3.0", + "source": { + "type": "git", + "url": "https://github.com/guzzle/psr7.git", + "reference": "83260bb50b8fc753c72d14dc1621a2dac31877ee" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/83260bb50b8fc753c72d14dc1621a2dac31877ee", + "reference": "83260bb50b8fc753c72d14dc1621a2dac31877ee", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0", + "psr/http-factory": "^1.0", + "psr/http-message": "^1.0", + "ralouphie/getallheaders": "^3.0" + }, + "provide": { + "psr/http-factory-implementation": "1.0", + "psr/http-message-implementation": "1.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.4.1", + "http-interop/http-factory-tests": "^0.9", + "phpunit/phpunit": "^8.5.8 || ^9.3.10" + }, + "suggest": { + "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.3-dev" + } + }, + "autoload": { + "psr-4": { + "GuzzleHttp\\Psr7\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://github.com/sagikazarmark" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://sagikazarmark.hu" + } + ], + "description": "PSR-7 message implementation that also provides common utility methods", + "keywords": [ + "http", + "message", + "psr-7", + "request", + "response", + "stream", + "uri", + "url" + ], + "support": { + "issues": "https://github.com/guzzle/psr7/issues", + "source": "https://github.com/guzzle/psr7/tree/2.3.0" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/psr7", + "type": "tidelift" + } + ], + "time": "2022-06-09T08:26:02+00:00" + }, + { + "name": "kwaadpepper/enum", + "version": "2.1.2", + "source": { + "type": "git", + "url": "https://github.com/Kwaadpepper/enum.git", + "reference": "bbd08723895cad5a41bc0d57e565fe64fa13ca41" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Kwaadpepper/enum/zipball/bbd08723895cad5a41bc0d57e565fe64fa13ca41", + "reference": "bbd08723895cad5a41bc0d57e565fe64fa13ca41", + "shasum": "" + }, + "require": { + "php": "^7.3" + }, + "require-dev": { + "orchestra/testbench": "^5", + "phpunit/php-code-coverage": "^9.2", + "phpunit/phpunit": "~9.0", + "slevomat/coding-standard": "^7.0", + "squizlabs/php_codesniffer": "^3.5" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Kwaadpepper\\Enum\\EnumServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Kwaadpepper\\Enum\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jérémy Munsch", + "email": "github@jeremydev.ovh", + "homepage": "https://jeremydev.ovh" + } + ], + "description": "Enums to use for any project", + "homepage": "https://github.com/kwaadpepper/enum", + "keywords": [ + "enum", + "laravel" + ], + "support": { + "issues": "https://github.com/Kwaadpepper/enum/issues", + "source": "https://github.com/Kwaadpepper/enum/tree/2.1.2" + }, + "time": "2021-11-18T16:52:08+00:00" + }, + { + "name": "psr/http-client", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-client.git", + "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-client/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", + "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", + "shasum": "" + }, + "require": { + "php": "^7.0 || ^8.0", + "psr/http-message": "^1.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Client\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP clients", + "homepage": "https://github.com/php-fig/http-client", + "keywords": [ + "http", + "http-client", + "psr", + "psr-18" + ], + "support": { + "source": "https://github.com/php-fig/http-client/tree/master" + }, + "time": "2020-06-29T06:28:15+00:00" + }, + { + "name": "psr/http-factory", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-factory.git", + "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "shasum": "" + }, + "require": { + "php": ">=7.0.0", + "psr/http-message": "^1.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interfaces for PSR-7 HTTP message factories", + "keywords": [ + "factory", + "http", + "message", + "psr", + "psr-17", + "psr-7", + "request", + "response" + ], + "support": { + "source": "https://github.com/php-fig/http-factory/tree/master" + }, + "time": "2019-04-30T12:38:16+00:00" + }, + { + "name": "psr/http-message", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-message.git", + "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", + "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP messages", + "homepage": "https://github.com/php-fig/http-message", + "keywords": [ + "http", + "http-message", + "psr", + "psr-7", + "request", + "response" + ], + "support": { + "source": "https://github.com/php-fig/http-message/tree/master" + }, + "time": "2016-08-06T14:39:51+00:00" + }, + { + "name": "ralouphie/getallheaders", + "version": "3.0.3", + "source": { + "type": "git", + "url": "https://github.com/ralouphie/getallheaders.git", + "reference": "120b605dfeb996808c31b6477290a714d356e822" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822", + "reference": "120b605dfeb996808c31b6477290a714d356e822", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "require-dev": { + "php-coveralls/php-coveralls": "^2.1", + "phpunit/phpunit": "^5 || ^6.5" + }, + "type": "library", + "autoload": { + "files": [ + "src/getallheaders.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ralph Khattar", + "email": "ralph.khattar@gmail.com" + } + ], + "description": "A polyfill for getallheaders.", + "support": { + "issues": "https://github.com/ralouphie/getallheaders/issues", + "source": "https://github.com/ralouphie/getallheaders/tree/develop" + }, + "time": "2019-03-08T08:55:37+00:00" + }, + { + "name": "respect/stringifier", + "version": "0.2.0", + "source": { + "type": "git", + "url": "https://github.com/Respect/Stringifier.git", + "reference": "e55af3c8aeaeaa2abb5fa47a58a8e9688cc23b59" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Respect/Stringifier/zipball/e55af3c8aeaeaa2abb5fa47a58a8e9688cc23b59", + "reference": "e55af3c8aeaeaa2abb5fa47a58a8e9688cc23b59", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^2.8", + "malukenho/docheader": "^0.1.7", + "phpunit/phpunit": "^6.4" + }, + "type": "library", + "autoload": { + "files": [ + "src/stringify.php" + ], + "psr-4": { + "Respect\\Stringifier\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Respect/Stringifier Contributors", + "homepage": "https://github.com/Respect/Stringifier/graphs/contributors" + } + ], + "description": "Converts any value to a string", + "homepage": "http://respect.github.io/Stringifier/", + "keywords": [ + "respect", + "stringifier", + "stringify" + ], + "support": { + "issues": "https://github.com/Respect/Stringifier/issues", + "source": "https://github.com/Respect/Stringifier/tree/0.2.0" + }, + "time": "2017-12-29T19:39:25+00:00" + }, + { + "name": "respect/validation", + "version": "2.2.3", + "source": { + "type": "git", + "url": "https://github.com/Respect/Validation.git", + "reference": "4c21a7ffc9a4915673cb2c2843963919e664e627" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Respect/Validation/zipball/4c21a7ffc9a4915673cb2c2843963919e664e627", + "reference": "4c21a7ffc9a4915673cb2c2843963919e664e627", + "shasum": "" + }, + "require": { + "php": "^7.3 || ^8.0", + "respect/stringifier": "^0.2.0", + "symfony/polyfill-mbstring": "^1.2" + }, + "require-dev": { + "egulias/email-validator": "^3.0", + "malukenho/docheader": "^0.1", + "mikey179/vfsstream": "^1.6", + "phpstan/phpstan": "^0.12", + "phpstan/phpstan-deprecation-rules": "^0.12", + "phpstan/phpstan-phpunit": "^0.12", + "phpunit/phpunit": "^9.3", + "psr/http-message": "^1.0", + "respect/coding-standard": "^3.0", + "squizlabs/php_codesniffer": "^3.5", + "symfony/validator": "^3.0||^4.0", + "zendframework/zend-validator": "^2.1" + }, + "suggest": { + "egulias/email-validator": "Strict (RFC compliant) email validation", + "ext-bcmath": "Arbitrary Precision Mathematics", + "ext-fileinfo": "File Information", + "ext-mbstring": "Multibyte String Functions", + "symfony/validator": "Use Symfony validator through Respect\\Validation", + "zendframework/zend-validator": "Use Zend Framework validator through Respect\\Validation" + }, + "type": "library", + "autoload": { + "psr-4": { + "Respect\\Validation\\": "library/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Respect/Validation Contributors", + "homepage": "https://github.com/Respect/Validation/graphs/contributors" + } + ], + "description": "The most awesome validation engine ever created for PHP", + "homepage": "http://respect.github.io/Validation/", + "keywords": [ + "respect", + "validation", + "validator" + ], + "support": { + "issues": "https://github.com/Respect/Validation/issues", + "source": "https://github.com/Respect/Validation/tree/2.2.3" + }, + "time": "2021-03-19T14:12:45+00:00" + }, + { + "name": "symfony/deprecation-contracts", + "version": "v2.5.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/deprecation-contracts.git", + "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e8b495ea28c1d97b5e0c121748d6f9b53d075c66", + "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.5-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "files": [ + "function.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "A generic function and convention to trigger deprecation notices", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-01-02T09:53:40+00:00" + }, + { + "name": "symfony/polyfill-mbstring", + "version": "v1.26.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", + "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "provide": { + "ext-mbstring": "*" + }, + "suggest": { + "ext-mbstring": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.26-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for the Mbstring extension", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "mbstring", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.26.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-24T11:49:31+00:00" + } + ], + "packages-dev": [ + { + "name": "brick/math", + "version": "0.9.3", + "source": { + "type": "git", + "url": "https://github.com/brick/math.git", + "reference": "ca57d18f028f84f777b2168cd1911b0dee2343ae" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/brick/math/zipball/ca57d18f028f84f777b2168cd1911b0dee2343ae", + "reference": "ca57d18f028f84f777b2168cd1911b0dee2343ae", + "shasum": "" + }, + "require": { + "ext-json": "*", + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "php-coveralls/php-coveralls": "^2.2", + "phpunit/phpunit": "^7.5.15 || ^8.5 || ^9.0", + "vimeo/psalm": "4.9.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "Brick\\Math\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Arbitrary-precision arithmetic library", + "keywords": [ + "Arbitrary-precision", + "BigInteger", + "BigRational", + "arithmetic", + "bigdecimal", + "bignum", + "brick", + "math" + ], + "support": { + "issues": "https://github.com/brick/math/issues", + "source": "https://github.com/brick/math/tree/0.9.3" + }, + "funding": [ + { + "url": "https://github.com/BenMorel", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/brick/math", + "type": "tidelift" + } + ], + "time": "2021-08-15T20:50:18+00:00" + }, + { + "name": "dealerdirect/phpcodesniffer-composer-installer", + "version": "v0.7.2", + "source": { + "type": "git", + "url": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer.git", + "reference": "1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Dealerdirect/phpcodesniffer-composer-installer/zipball/1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db", + "reference": "1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db", + "shasum": "" + }, + "require": { + "composer-plugin-api": "^1.0 || ^2.0", + "php": ">=5.3", + "squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0" + }, + "require-dev": { + "composer/composer": "*", + "php-parallel-lint/php-parallel-lint": "^1.3.1", + "phpcompatibility/php-compatibility": "^9.0" + }, + "type": "composer-plugin", + "extra": { + "class": "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin" + }, + "autoload": { + "psr-4": { + "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Franck Nijhof", + "email": "franck.nijhof@dealerdirect.com", + "homepage": "http://www.frenck.nl", + "role": "Developer / IT Manager" + }, + { + "name": "Contributors", + "homepage": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer/graphs/contributors" + } + ], + "description": "PHP_CodeSniffer Standards Composer Installer Plugin", + "homepage": "http://www.dealerdirect.com", + "keywords": [ + "PHPCodeSniffer", + "PHP_CodeSniffer", + "code quality", + "codesniffer", + "composer", + "installer", + "phpcbf", + "phpcs", + "plugin", + "qa", + "quality", + "standard", + "standards", + "style guide", + "stylecheck", + "tests" + ], + "support": { + "issues": "https://github.com/dealerdirect/phpcodesniffer-composer-installer/issues", + "source": "https://github.com/dealerdirect/phpcodesniffer-composer-installer" + }, + "time": "2022-02-04T12:51:07+00:00" + }, + { + "name": "doctrine/inflector", + "version": "2.0.4", + "source": { + "type": "git", + "url": "https://github.com/doctrine/inflector.git", + "reference": "8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/inflector/zipball/8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89", + "reference": "8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^8.2", + "phpstan/phpstan": "^0.12", + "phpstan/phpstan-phpunit": "^0.12", + "phpstan/phpstan-strict-rules": "^0.12", + "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0", + "vimeo/psalm": "^4.10" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Inflector\\": "lib/Doctrine/Inflector" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + }, + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" + } + ], + "description": "PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.", + "homepage": "https://www.doctrine-project.org/projects/inflector.html", + "keywords": [ + "inflection", + "inflector", + "lowercase", + "manipulation", + "php", + "plural", + "singular", + "strings", + "uppercase", + "words" + ], + "support": { + "issues": "https://github.com/doctrine/inflector/issues", + "source": "https://github.com/doctrine/inflector/tree/2.0.4" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finflector", + "type": "tidelift" + } + ], + "time": "2021-10-22T20:16:43+00:00" + }, + { + "name": "doctrine/instantiator", + "version": "1.4.1", + "source": { + "type": "git", + "url": "https://github.com/doctrine/instantiator.git", + "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/10dcfce151b967d20fde1b34ae6640712c3891bc", + "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^9", + "ext-pdo": "*", + "ext-phar": "*", + "phpbench/phpbench": "^0.16 || ^1", + "phpstan/phpstan": "^1.4", + "phpstan/phpstan-phpunit": "^1", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "vimeo/psalm": "^4.22" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "homepage": "https://ocramius.github.io/" + } + ], + "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", + "homepage": "https://www.doctrine-project.org/projects/instantiator.html", + "keywords": [ + "constructor", + "instantiate" + ], + "support": { + "issues": "https://github.com/doctrine/instantiator/issues", + "source": "https://github.com/doctrine/instantiator/tree/1.4.1" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", + "type": "tidelift" + } + ], + "time": "2022-03-03T08:28:38+00:00" + }, + { + "name": "doctrine/lexer", + "version": "1.2.3", + "source": { + "type": "git", + "url": "https://github.com/doctrine/lexer.git", + "reference": "c268e882d4dbdd85e36e4ad69e02dc284f89d229" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/lexer/zipball/c268e882d4dbdd85e36e4ad69e02dc284f89d229", + "reference": "c268e882d4dbdd85e36e4ad69e02dc284f89d229", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^9.0", + "phpstan/phpstan": "^1.3", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "vimeo/psalm": "^4.11" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Common\\Lexer\\": "lib/Doctrine/Common/Lexer" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" + } + ], + "description": "PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.", + "homepage": "https://www.doctrine-project.org/projects/lexer.html", + "keywords": [ + "annotations", + "docblock", + "lexer", + "parser", + "php" + ], + "support": { + "issues": "https://github.com/doctrine/lexer/issues", + "source": "https://github.com/doctrine/lexer/tree/1.2.3" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Flexer", + "type": "tidelift" + } + ], + "time": "2022-02-28T11:07:21+00:00" + }, + { + "name": "dragonmantank/cron-expression", + "version": "v3.3.1", + "source": { + "type": "git", + "url": "https://github.com/dragonmantank/cron-expression.git", + "reference": "be85b3f05b46c39bbc0d95f6c071ddff669510fa" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/be85b3f05b46c39bbc0d95f6c071ddff669510fa", + "reference": "be85b3f05b46c39bbc0d95f6c071ddff669510fa", + "shasum": "" + }, + "require": { + "php": "^7.2|^8.0", + "webmozart/assert": "^1.0" + }, + "replace": { + "mtdowling/cron-expression": "^1.0" + }, + "require-dev": { + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^1.0", + "phpstan/phpstan-webmozart-assert": "^1.0", + "phpunit/phpunit": "^7.0|^8.0|^9.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Cron\\": "src/Cron/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Chris Tankersley", + "email": "chris@ctankersley.com", + "homepage": "https://github.com/dragonmantank" + } + ], + "description": "CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due", + "keywords": [ + "cron", + "schedule" + ], + "support": { + "issues": "https://github.com/dragonmantank/cron-expression/issues", + "source": "https://github.com/dragonmantank/cron-expression/tree/v3.3.1" + }, + "funding": [ + { + "url": "https://github.com/dragonmantank", + "type": "github" + } + ], + "time": "2022-01-18T15:43:28+00:00" + }, + { + "name": "egulias/email-validator", + "version": "2.1.25", + "source": { + "type": "git", + "url": "https://github.com/egulias/EmailValidator.git", + "reference": "0dbf5d78455d4d6a41d186da50adc1122ec066f4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/0dbf5d78455d4d6a41d186da50adc1122ec066f4", + "reference": "0dbf5d78455d4d6a41d186da50adc1122ec066f4", + "shasum": "" + }, + "require": { + "doctrine/lexer": "^1.0.1", + "php": ">=5.5", + "symfony/polyfill-intl-idn": "^1.10" + }, + "require-dev": { + "dominicsayers/isemail": "^3.0.7", + "phpunit/phpunit": "^4.8.36|^7.5.15", + "satooshi/php-coveralls": "^1.0.1" + }, + "suggest": { + "ext-intl": "PHP Internationalization Libraries are required to use the SpoofChecking validation" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Egulias\\EmailValidator\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Eduardo Gulias Davis" + } + ], + "description": "A library for validating emails against several RFCs", + "homepage": "https://github.com/egulias/EmailValidator", + "keywords": [ + "email", + "emailvalidation", + "emailvalidator", + "validation", + "validator" + ], + "support": { + "issues": "https://github.com/egulias/EmailValidator/issues", + "source": "https://github.com/egulias/EmailValidator/tree/2.1.25" + }, + "funding": [ + { + "url": "https://github.com/egulias", + "type": "github" + } + ], + "time": "2020-12-29T14:50:06+00:00" + }, + { + "name": "fakerphp/faker", + "version": "v1.19.0", + "source": { + "type": "git", + "url": "https://github.com/FakerPHP/Faker.git", + "reference": "d7f08a622b3346766325488aa32ddc93ccdecc75" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/d7f08a622b3346766325488aa32ddc93ccdecc75", + "reference": "d7f08a622b3346766325488aa32ddc93ccdecc75", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0", + "psr/container": "^1.0 || ^2.0", + "symfony/deprecation-contracts": "^2.2 || ^3.0" + }, + "conflict": { + "fzaninotto/faker": "*" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.4.1", + "doctrine/persistence": "^1.3 || ^2.0", + "ext-intl": "*", + "symfony/phpunit-bridge": "^4.4 || ^5.2" + }, + "suggest": { + "doctrine/orm": "Required to use Faker\\ORM\\Doctrine", + "ext-curl": "Required by Faker\\Provider\\Image to download images.", + "ext-dom": "Required by Faker\\Provider\\HtmlLorem for generating random HTML.", + "ext-iconv": "Required by Faker\\Provider\\ru_RU\\Text::realText() for generating real Russian text.", + "ext-mbstring": "Required for multibyte Unicode string functionality." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "v1.19-dev" + } + }, + "autoload": { + "psr-4": { + "Faker\\": "src/Faker/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "François Zaninotto" + } + ], + "description": "Faker is a PHP library that generates fake data for you.", + "keywords": [ + "data", + "faker", + "fixtures" + ], + "support": { + "issues": "https://github.com/FakerPHP/Faker/issues", + "source": "https://github.com/FakerPHP/Faker/tree/v1.19.0" + }, + "time": "2022-02-02T17:38:57+00:00" + }, + { + "name": "graham-campbell/result-type", + "version": "v1.0.4", + "source": { + "type": "git", + "url": "https://github.com/GrahamCampbell/Result-Type.git", + "reference": "0690bde05318336c7221785f2a932467f98b64ca" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/0690bde05318336c7221785f2a932467f98b64ca", + "reference": "0690bde05318336c7221785f2a932467f98b64ca", + "shasum": "" + }, + "require": { + "php": "^7.0 || ^8.0", + "phpoption/phpoption": "^1.8" + }, + "require-dev": { + "phpunit/phpunit": "^6.5.14 || ^7.5.20 || ^8.5.19 || ^9.5.8" + }, + "type": "library", + "autoload": { + "psr-4": { + "GrahamCampbell\\ResultType\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + } + ], + "description": "An Implementation Of The Result Type", + "keywords": [ + "Graham Campbell", + "GrahamCampbell", + "Result Type", + "Result-Type", + "result" + ], + "support": { + "issues": "https://github.com/GrahamCampbell/Result-Type/issues", + "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.0.4" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/graham-campbell/result-type", + "type": "tidelift" + } + ], + "time": "2021-11-21T21:41:47+00:00" + }, + { + "name": "hamcrest/hamcrest-php", + "version": "v2.0.1", + "source": { + "type": "git", + "url": "https://github.com/hamcrest/hamcrest-php.git", + "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", + "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", + "shasum": "" + }, + "require": { + "php": "^5.3|^7.0|^8.0" + }, + "replace": { + "cordoval/hamcrest-php": "*", + "davedevelopment/hamcrest-php": "*", + "kodova/hamcrest-php": "*" + }, + "require-dev": { + "phpunit/php-file-iterator": "^1.4 || ^2.0", + "phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.1-dev" + } + }, + "autoload": { + "classmap": [ + "hamcrest" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "This is the PHP port of Hamcrest Matchers", + "keywords": [ + "test" + ], + "support": { + "issues": "https://github.com/hamcrest/hamcrest-php/issues", + "source": "https://github.com/hamcrest/hamcrest-php/tree/v2.0.1" + }, + "time": "2020-07-09T08:09:16+00:00" + }, + { + "name": "laravel/framework", + "version": "v8.83.16", + "source": { + "type": "git", + "url": "https://github.com/laravel/framework.git", + "reference": "6be5abd144faf517879af7298e9d79f06f250f75" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/framework/zipball/6be5abd144faf517879af7298e9d79f06f250f75", + "reference": "6be5abd144faf517879af7298e9d79f06f250f75", + "shasum": "" + }, + "require": { + "doctrine/inflector": "^1.4|^2.0", + "dragonmantank/cron-expression": "^3.0.2", + "egulias/email-validator": "^2.1.10", + "ext-json": "*", + "ext-mbstring": "*", + "ext-openssl": "*", + "laravel/serializable-closure": "^1.0", + "league/commonmark": "^1.3|^2.0.2", + "league/flysystem": "^1.1", + "monolog/monolog": "^2.0", + "nesbot/carbon": "^2.53.1", + "opis/closure": "^3.6", + "php": "^7.3|^8.0", + "psr/container": "^1.0", + "psr/log": "^1.0|^2.0", + "psr/simple-cache": "^1.0", + "ramsey/uuid": "^4.2.2", + "swiftmailer/swiftmailer": "^6.3", + "symfony/console": "^5.4", + "symfony/error-handler": "^5.4", + "symfony/finder": "^5.4", + "symfony/http-foundation": "^5.4", + "symfony/http-kernel": "^5.4", + "symfony/mime": "^5.4", + "symfony/process": "^5.4", + "symfony/routing": "^5.4", + "symfony/var-dumper": "^5.4", + "tijsverkoyen/css-to-inline-styles": "^2.2.2", + "vlucas/phpdotenv": "^5.4.1", + "voku/portable-ascii": "^1.6.1" + }, + "conflict": { + "tightenco/collect": "<5.5.33" + }, + "provide": { + "psr/container-implementation": "1.0", + "psr/simple-cache-implementation": "1.0" + }, + "replace": { + "illuminate/auth": "self.version", + "illuminate/broadcasting": "self.version", + "illuminate/bus": "self.version", + "illuminate/cache": "self.version", + "illuminate/collections": "self.version", + "illuminate/config": "self.version", + "illuminate/console": "self.version", + "illuminate/container": "self.version", + "illuminate/contracts": "self.version", + "illuminate/cookie": "self.version", + "illuminate/database": "self.version", + "illuminate/encryption": "self.version", + "illuminate/events": "self.version", + "illuminate/filesystem": "self.version", + "illuminate/hashing": "self.version", + "illuminate/http": "self.version", + "illuminate/log": "self.version", + "illuminate/macroable": "self.version", + "illuminate/mail": "self.version", + "illuminate/notifications": "self.version", + "illuminate/pagination": "self.version", + "illuminate/pipeline": "self.version", + "illuminate/queue": "self.version", + "illuminate/redis": "self.version", + "illuminate/routing": "self.version", + "illuminate/session": "self.version", + "illuminate/support": "self.version", + "illuminate/testing": "self.version", + "illuminate/translation": "self.version", + "illuminate/validation": "self.version", + "illuminate/view": "self.version" + }, + "require-dev": { + "aws/aws-sdk-php": "^3.198.1", + "doctrine/dbal": "^2.13.3|^3.1.4", + "filp/whoops": "^2.14.3", + "guzzlehttp/guzzle": "^6.5.5|^7.0.1", + "league/flysystem-cached-adapter": "^1.0", + "mockery/mockery": "^1.4.4", + "orchestra/testbench-core": "^6.27", + "pda/pheanstalk": "^4.0", + "phpunit/phpunit": "^8.5.19|^9.5.8", + "predis/predis": "^1.1.9", + "symfony/cache": "^5.4" + }, + "suggest": { + "ably/ably-php": "Required to use the Ably broadcast driver (^1.0).", + "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage and SES mail driver (^3.198.1).", + "brianium/paratest": "Required to run tests in parallel (^6.0).", + "doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.13.3|^3.1.4).", + "ext-bcmath": "Required to use the multiple_of validation rule.", + "ext-ftp": "Required to use the Flysystem FTP driver.", + "ext-gd": "Required to use Illuminate\\Http\\Testing\\FileFactory::image().", + "ext-memcached": "Required to use the memcache cache driver.", + "ext-pcntl": "Required to use all features of the queue worker.", + "ext-posix": "Required to use all features of the queue worker.", + "ext-redis": "Required to use the Redis cache and queue drivers (^4.0|^5.0).", + "fakerphp/faker": "Required to use the eloquent factory builder (^1.9.1).", + "filp/whoops": "Required for friendly error pages in development (^2.14.3).", + "guzzlehttp/guzzle": "Required to use the HTTP Client, Mailgun mail driver and the ping methods on schedules (^6.5.5|^7.0.1).", + "laravel/tinker": "Required to use the tinker console command (^2.0).", + "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^1.0).", + "league/flysystem-cached-adapter": "Required to use the Flysystem cache (^1.0).", + "league/flysystem-sftp": "Required to use the Flysystem SFTP driver (^1.0).", + "mockery/mockery": "Required to use mocking (^1.4.4).", + "nyholm/psr7": "Required to use PSR-7 bridging features (^1.2).", + "pda/pheanstalk": "Required to use the beanstalk queue driver (^4.0).", + "phpunit/phpunit": "Required to use assertions and run tests (^8.5.19|^9.5.8).", + "predis/predis": "Required to use the predis connector (^1.1.9).", + "psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).", + "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^4.0|^5.0|^6.0|^7.0).", + "symfony/cache": "Required to PSR-6 cache bridge (^5.4).", + "symfony/filesystem": "Required to enable support for relative symbolic links (^5.4).", + "symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^2.0).", + "wildbit/swiftmailer-postmark": "Required to use Postmark mail driver (^3.0)." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "8.x-dev" + } + }, + "autoload": { + "files": [ + "src/Illuminate/Collections/helpers.php", + "src/Illuminate/Events/functions.php", + "src/Illuminate/Foundation/helpers.php", + "src/Illuminate/Support/helpers.php" + ], + "psr-4": { + "Illuminate\\": "src/Illuminate/", + "Illuminate\\Support\\": [ + "src/Illuminate/Macroable/", + "src/Illuminate/Collections/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Laravel Framework.", + "homepage": "https://laravel.com", + "keywords": [ + "framework", + "laravel" + ], + "support": { + "issues": "https://github.com/laravel/framework/issues", + "source": "https://github.com/laravel/framework" + }, + "time": "2022-06-07T15:09:06+00:00" + }, + { + "name": "laravel/serializable-closure", + "version": "v1.2.0", + "source": { + "type": "git", + "url": "https://github.com/laravel/serializable-closure.git", + "reference": "09f0e9fb61829f628205b7c94906c28740ff9540" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/09f0e9fb61829f628205b7c94906c28740ff9540", + "reference": "09f0e9fb61829f628205b7c94906c28740ff9540", + "shasum": "" + }, + "require": { + "php": "^7.3|^8.0" + }, + "require-dev": { + "pestphp/pest": "^1.18", + "phpstan/phpstan": "^0.12.98", + "symfony/var-dumper": "^5.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Laravel\\SerializableClosure\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + }, + { + "name": "Nuno Maduro", + "email": "nuno@laravel.com" + } + ], + "description": "Laravel Serializable Closure provides an easy and secure way to serialize closures in PHP.", + "keywords": [ + "closure", + "laravel", + "serializable" + ], + "support": { + "issues": "https://github.com/laravel/serializable-closure/issues", + "source": "https://github.com/laravel/serializable-closure" + }, + "time": "2022-05-16T17:09:47+00:00" + }, + { + "name": "league/commonmark", + "version": "1.6.7", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/commonmark.git", + "reference": "2b8185c13bc9578367a5bf901881d1c1b5bbd09b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/2b8185c13bc9578367a5bf901881d1c1b5bbd09b", + "reference": "2b8185c13bc9578367a5bf901881d1c1b5bbd09b", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "php": "^7.1 || ^8.0" + }, + "conflict": { + "scrutinizer/ocular": "1.7.*" + }, + "require-dev": { + "cebe/markdown": "~1.0", + "commonmark/commonmark.js": "0.29.2", + "erusev/parsedown": "~1.0", + "ext-json": "*", + "github/gfm": "0.29.0", + "michelf/php-markdown": "~1.4", + "mikehaertl/php-shellcommand": "^1.4", + "phpstan/phpstan": "^0.12.90", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.2", + "scrutinizer/ocular": "^1.5", + "symfony/finder": "^4.2" + }, + "bin": [ + "bin/commonmark" + ], + "type": "library", + "autoload": { + "psr-4": { + "League\\CommonMark\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Colin O'Dell", + "email": "colinodell@gmail.com", + "homepage": "https://www.colinodell.com", + "role": "Lead Developer" + } + ], + "description": "Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and Github-Flavored Markdown (GFM)", + "homepage": "https://commonmark.thephpleague.com", + "keywords": [ + "commonmark", + "flavored", + "gfm", + "github", + "github-flavored", + "markdown", + "md", + "parser" + ], + "support": { + "docs": "https://commonmark.thephpleague.com/", + "issues": "https://github.com/thephpleague/commonmark/issues", + "rss": "https://github.com/thephpleague/commonmark/releases.atom", + "source": "https://github.com/thephpleague/commonmark" + }, + "funding": [ + { + "url": "https://www.colinodell.com/sponsor", + "type": "custom" + }, + { + "url": "https://www.paypal.me/colinpodell/10.00", + "type": "custom" + }, + { + "url": "https://github.com/colinodell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/league/commonmark", + "type": "tidelift" + } + ], + "time": "2022-01-13T17:18:13+00:00" + }, + { + "name": "league/flysystem", + "version": "1.1.9", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/flysystem.git", + "reference": "094defdb4a7001845300334e7c1ee2335925ef99" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/094defdb4a7001845300334e7c1ee2335925ef99", + "reference": "094defdb4a7001845300334e7c1ee2335925ef99", + "shasum": "" + }, + "require": { + "ext-fileinfo": "*", + "league/mime-type-detection": "^1.3", + "php": "^7.2.5 || ^8.0" + }, + "conflict": { + "league/flysystem-sftp": "<1.0.6" + }, + "require-dev": { + "phpspec/prophecy": "^1.11.1", + "phpunit/phpunit": "^8.5.8" + }, + "suggest": { + "ext-ftp": "Allows you to use FTP server storage", + "ext-openssl": "Allows you to use FTPS server storage", + "league/flysystem-aws-s3-v2": "Allows you to use S3 storage with AWS SDK v2", + "league/flysystem-aws-s3-v3": "Allows you to use S3 storage with AWS SDK v3", + "league/flysystem-azure": "Allows you to use Windows Azure Blob storage", + "league/flysystem-cached-adapter": "Flysystem adapter decorator for metadata caching", + "league/flysystem-eventable-filesystem": "Allows you to use EventableFilesystem", + "league/flysystem-rackspace": "Allows you to use Rackspace Cloud Files", + "league/flysystem-sftp": "Allows you to use SFTP server storage via phpseclib", + "league/flysystem-webdav": "Allows you to use WebDAV storage", + "league/flysystem-ziparchive": "Allows you to use ZipArchive adapter", + "spatie/flysystem-dropbox": "Allows you to use Dropbox storage", + "srmklive/flysystem-dropbox-v2": "Allows you to use Dropbox storage for PHP 5 applications" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1-dev" + } + }, + "autoload": { + "psr-4": { + "League\\Flysystem\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Frank de Jonge", + "email": "info@frenky.net" + } + ], + "description": "Filesystem abstraction: Many filesystems, one API.", + "keywords": [ + "Cloud Files", + "WebDAV", + "abstraction", + "aws", + "cloud", + "copy.com", + "dropbox", + "file systems", + "files", + "filesystem", + "filesystems", + "ftp", + "rackspace", + "remote", + "s3", + "sftp", + "storage" + ], + "support": { + "issues": "https://github.com/thephpleague/flysystem/issues", + "source": "https://github.com/thephpleague/flysystem/tree/1.1.9" + }, + "funding": [ + { + "url": "https://offset.earth/frankdejonge", + "type": "other" + } + ], + "time": "2021-12-09T09:40:50+00:00" + }, + { + "name": "league/mime-type-detection", + "version": "1.11.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/mime-type-detection.git", + "reference": "ff6248ea87a9f116e78edd6002e39e5128a0d4dd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/ff6248ea87a9f116e78edd6002e39e5128a0d4dd", + "reference": "ff6248ea87a9f116e78edd6002e39e5128a0d4dd", + "shasum": "" + }, + "require": { + "ext-fileinfo": "*", + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.2", + "phpstan/phpstan": "^0.12.68", + "phpunit/phpunit": "^8.5.8 || ^9.3" + }, + "type": "library", + "autoload": { + "psr-4": { + "League\\MimeTypeDetection\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Frank de Jonge", + "email": "info@frankdejonge.nl" + } + ], + "description": "Mime-type detection for Flysystem", + "support": { + "issues": "https://github.com/thephpleague/mime-type-detection/issues", + "source": "https://github.com/thephpleague/mime-type-detection/tree/1.11.0" + }, + "funding": [ + { + "url": "https://github.com/frankdejonge", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/league/flysystem", + "type": "tidelift" + } + ], + "time": "2022-04-17T13:12:02+00:00" + }, + { + "name": "mockery/mockery", + "version": "1.5.0", + "source": { + "type": "git", + "url": "https://github.com/mockery/mockery.git", + "reference": "c10a5f6e06fc2470ab1822fa13fa2a7380f8fbac" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/mockery/mockery/zipball/c10a5f6e06fc2470ab1822fa13fa2a7380f8fbac", + "reference": "c10a5f6e06fc2470ab1822fa13fa2a7380f8fbac", + "shasum": "" + }, + "require": { + "hamcrest/hamcrest-php": "^2.0.1", + "lib-pcre": ">=7.0", + "php": "^7.3 || ^8.0" + }, + "conflict": { + "phpunit/phpunit": "<8.0" + }, + "require-dev": { + "phpunit/phpunit": "^8.5 || ^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.4.x-dev" + } + }, + "autoload": { + "psr-0": { + "Mockery": "library/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Pádraic Brady", + "email": "padraic.brady@gmail.com", + "homepage": "http://blog.astrumfutura.com" + }, + { + "name": "Dave Marshall", + "email": "dave.marshall@atstsolutions.co.uk", + "homepage": "http://davedevelopment.co.uk" + } + ], + "description": "Mockery is a simple yet flexible PHP mock object framework", + "homepage": "https://github.com/mockery/mockery", + "keywords": [ + "BDD", + "TDD", + "library", + "mock", + "mock objects", + "mockery", + "stub", + "test", + "test double", + "testing" + ], + "support": { + "issues": "https://github.com/mockery/mockery/issues", + "source": "https://github.com/mockery/mockery/tree/1.5.0" + }, + "time": "2022-01-20T13:18:17+00:00" + }, + { + "name": "monolog/monolog", + "version": "2.7.0", + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "5579edf28aee1190a798bfa5be8bc16c563bd524" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/5579edf28aee1190a798bfa5be8bc16c563bd524", + "reference": "5579edf28aee1190a798bfa5be8bc16c563bd524", + "shasum": "" + }, + "require": { + "php": ">=7.2", + "psr/log": "^1.0.1 || ^2.0 || ^3.0" + }, + "provide": { + "psr/log-implementation": "1.0.0 || 2.0.0 || 3.0.0" + }, + "require-dev": { + "aws/aws-sdk-php": "^2.4.9 || ^3.0", + "doctrine/couchdb": "~1.0@dev", + "elasticsearch/elasticsearch": "^7 || ^8", + "ext-json": "*", + "graylog2/gelf-php": "^1.4.2", + "guzzlehttp/guzzle": "^7.4", + "guzzlehttp/psr7": "^2.2", + "mongodb/mongodb": "^1.8", + "php-amqplib/php-amqplib": "~2.4 || ^3", + "php-console/php-console": "^3.1.3", + "phpspec/prophecy": "^1.15", + "phpstan/phpstan": "^0.12.91", + "phpunit/phpunit": "^8.5.14", + "predis/predis": "^1.1", + "rollbar/rollbar": "^1.3 || ^2 || ^3", + "ruflin/elastica": "^7", + "swiftmailer/swiftmailer": "^5.3|^6.0", + "symfony/mailer": "^5.4 || ^6", + "symfony/mime": "^5.4 || ^6" + }, + "suggest": { + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "elasticsearch/elasticsearch": "Allow sending log messages to an Elasticsearch server via official client", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-curl": "Required to send log messages using the IFTTTHandler, the LogglyHandler, the SendGridHandler, the SlackWebhookHandler or the TelegramBotHandler", + "ext-mbstring": "Allow to work properly with unicode symbols", + "ext-mongodb": "Allow sending log messages to a MongoDB server (via driver)", + "ext-openssl": "Required to send log messages using SSL", + "ext-sockets": "Allow sending log messages to a Syslog server (via UDP driver)", + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "mongodb/mongodb": "Allow sending log messages to a MongoDB server (via library)", + "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "php-console/php-console": "Allow sending log messages to Google Chrome", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.x-dev" + } + }, + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "https://seld.be" + } + ], + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "homepage": "https://github.com/Seldaek/monolog", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "support": { + "issues": "https://github.com/Seldaek/monolog/issues", + "source": "https://github.com/Seldaek/monolog/tree/2.7.0" + }, + "funding": [ + { + "url": "https://github.com/Seldaek", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/monolog/monolog", + "type": "tidelift" + } + ], + "time": "2022-06-09T08:59:12+00:00" + }, + { + "name": "myclabs/deep-copy", + "version": "1.11.0", + "source": { + "type": "git", + "url": "https://github.com/myclabs/DeepCopy.git", + "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/14daed4296fae74d9e3201d2c4925d1acb7aa614", + "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "conflict": { + "doctrine/collections": "<1.6.8", + "doctrine/common": "<2.13.3 || >=3,<3.2.2" + }, + "require-dev": { + "doctrine/collections": "^1.6.8", + "doctrine/common": "^2.13.3 || ^3.2.2", + "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" + }, + "type": "library", + "autoload": { + "files": [ + "src/DeepCopy/deep_copy.php" + ], + "psr-4": { + "DeepCopy\\": "src/DeepCopy/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Create deep copies (clones) of your objects", + "keywords": [ + "clone", + "copy", + "duplicate", + "object", + "object graph" + ], + "support": { + "issues": "https://github.com/myclabs/DeepCopy/issues", + "source": "https://github.com/myclabs/DeepCopy/tree/1.11.0" + }, + "funding": [ + { + "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", + "type": "tidelift" + } + ], + "time": "2022-03-03T13:19:32+00:00" + }, + { + "name": "nesbot/carbon", + "version": "2.58.0", + "source": { + "type": "git", + "url": "https://github.com/briannesbitt/Carbon.git", + "reference": "97a34af22bde8d0ac20ab34b29d7bfe360902055" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/97a34af22bde8d0ac20ab34b29d7bfe360902055", + "reference": "97a34af22bde8d0ac20ab34b29d7bfe360902055", + "shasum": "" + }, + "require": { + "ext-json": "*", + "php": "^7.1.8 || ^8.0", + "symfony/polyfill-mbstring": "^1.0", + "symfony/polyfill-php80": "^1.16", + "symfony/translation": "^3.4 || ^4.0 || ^5.0 || ^6.0" + }, + "require-dev": { + "doctrine/dbal": "^2.0 || ^3.0", + "doctrine/orm": "^2.7", + "friendsofphp/php-cs-fixer": "^3.0", + "kylekatarnls/multi-tester": "^2.0", + "phpmd/phpmd": "^2.9", + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^0.12.54 || ^1.0", + "phpunit/php-file-iterator": "^2.0.5", + "phpunit/phpunit": "^7.5.20 || ^8.5.23", + "squizlabs/php_codesniffer": "^3.4" + }, + "bin": [ + "bin/carbon" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-3.x": "3.x-dev", + "dev-master": "2.x-dev" + }, + "laravel": { + "providers": [ + "Carbon\\Laravel\\ServiceProvider" + ] + }, + "phpstan": { + "includes": [ + "extension.neon" + ] + } + }, + "autoload": { + "psr-4": { + "Carbon\\": "src/Carbon/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Brian Nesbitt", + "email": "brian@nesbot.com", + "homepage": "https://markido.com" + }, + { + "name": "kylekatarnls", + "homepage": "https://github.com/kylekatarnls" + } + ], + "description": "An API extension for DateTime that supports 281 different languages.", + "homepage": "https://carbon.nesbot.com", + "keywords": [ + "date", + "datetime", + "time" + ], + "support": { + "docs": "https://carbon.nesbot.com/docs", + "issues": "https://github.com/briannesbitt/Carbon/issues", + "source": "https://github.com/briannesbitt/Carbon" + }, + "funding": [ + { + "url": "https://opencollective.com/Carbon", + "type": "open_collective" + }, + { + "url": "https://tidelift.com/funding/github/packagist/nesbot/carbon", + "type": "tidelift" + } + ], + "time": "2022-04-25T19:31:17+00:00" + }, + { + "name": "nikic/php-parser", + "version": "v4.14.0", + "source": { + "type": "git", + "url": "https://github.com/nikic/PHP-Parser.git", + "reference": "34bea19b6e03d8153165d8f30bba4c3be86184c1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/34bea19b6e03d8153165d8f30bba4c3be86184c1", + "reference": "34bea19b6e03d8153165d8f30bba4c3be86184c1", + "shasum": "" + }, + "require": { + "ext-tokenizer": "*", + "php": ">=7.0" + }, + "require-dev": { + "ircmaxell/php-yacc": "^0.0.7", + "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" + }, + "bin": [ + "bin/php-parse" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.9-dev" + } + }, + "autoload": { + "psr-4": { + "PhpParser\\": "lib/PhpParser" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Nikita Popov" + } + ], + "description": "A PHP parser written in PHP", + "keywords": [ + "parser", + "php" + ], + "support": { + "issues": "https://github.com/nikic/PHP-Parser/issues", + "source": "https://github.com/nikic/PHP-Parser/tree/v4.14.0" + }, + "time": "2022-05-31T20:59:12+00:00" + }, + { + "name": "opis/closure", + "version": "3.6.3", + "source": { + "type": "git", + "url": "https://github.com/opis/closure.git", + "reference": "3d81e4309d2a927abbe66df935f4bb60082805ad" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/opis/closure/zipball/3d81e4309d2a927abbe66df935f4bb60082805ad", + "reference": "3d81e4309d2a927abbe66df935f4bb60082805ad", + "shasum": "" + }, + "require": { + "php": "^5.4 || ^7.0 || ^8.0" + }, + "require-dev": { + "jeremeamia/superclosure": "^2.0", + "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.6.x-dev" + } + }, + "autoload": { + "files": [ + "functions.php" + ], + "psr-4": { + "Opis\\Closure\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marius Sarca", + "email": "marius.sarca@gmail.com" + }, + { + "name": "Sorin Sarca", + "email": "sarca_sorin@hotmail.com" + } + ], + "description": "A library that can be used to serialize closures (anonymous functions) and arbitrary objects.", + "homepage": "https://opis.io/closure", + "keywords": [ + "anonymous functions", + "closure", + "function", + "serializable", + "serialization", + "serialize" + ], + "support": { + "issues": "https://github.com/opis/closure/issues", + "source": "https://github.com/opis/closure/tree/3.6.3" + }, + "time": "2022-01-27T09:35:39+00:00" + }, + { + "name": "orchestra/testbench", + "version": "v6.24.1", + "source": { + "type": "git", + "url": "https://github.com/orchestral/testbench.git", + "reference": "7b6a225851f6c148a80e241af5cbd833c83e572c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/orchestral/testbench/zipball/7b6a225851f6c148a80e241af5cbd833c83e572c", + "reference": "7b6a225851f6c148a80e241af5cbd833c83e572c", + "shasum": "" + }, + "require": { + "laravel/framework": "^8.75", + "mockery/mockery": "^1.4.4", + "orchestra/testbench-core": "^6.28.1", + "php": "^7.3 || ^8.0", + "phpunit/phpunit": "^8.5.21 || ^9.5.10", + "spatie/laravel-ray": "^1.26.2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "6.0-dev" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mior Muhammad Zaki", + "email": "crynobone@gmail.com", + "homepage": "https://github.com/crynobone" + } + ], + "description": "Laravel Testing Helper for Packages Development", + "homepage": "https://packages.tools/testbench/", + "keywords": [ + "BDD", + "TDD", + "laravel", + "orchestra-platform", + "orchestral", + "testing" + ], + "support": { + "issues": "https://github.com/orchestral/testbench/issues", + "source": "https://github.com/orchestral/testbench/tree/v6.24.1" + }, + "funding": [ + { + "url": "https://paypal.me/crynobone", + "type": "custom" + }, + { + "url": "https://liberapay.com/crynobone", + "type": "liberapay" + } + ], + "time": "2022-02-08T12:57:17+00:00" + }, + { + "name": "orchestra/testbench-core", + "version": "v6.28.1", + "source": { + "type": "git", + "url": "https://github.com/orchestral/testbench-core.git", + "reference": "e66074e825e21b40b3433703dc3f76f2bfebebe0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/orchestral/testbench-core/zipball/e66074e825e21b40b3433703dc3f76f2bfebebe0", + "reference": "e66074e825e21b40b3433703dc3f76f2bfebebe0", + "shasum": "" + }, + "require": { + "fakerphp/faker": "^1.9.1", + "php": "^7.3 || ^8.0", + "symfony/yaml": "^5.0", + "vlucas/phpdotenv": "^5.1" + }, + "require-dev": { + "laravel/framework": "^8.75", + "laravel/laravel": "8.x-dev", + "mockery/mockery": "^1.4.4", + "orchestra/canvas": "^6.1", + "phpunit/phpunit": "^8.5.21 || ^9.5.10 || ^10.0", + "spatie/laravel-ray": "^1.7.1", + "symfony/process": "^5.0" + }, + "suggest": { + "laravel/framework": "Required for testing (^8.75).", + "mockery/mockery": "Allow using Mockery for testing (^1.4.4).", + "orchestra/testbench-browser-kit": "Allow using legacy Laravel BrowserKit for testing (^6.0).", + "orchestra/testbench-dusk": "Allow using Laravel Dusk for testing (^6.0).", + "phpunit/phpunit": "Allow using PHPUnit for testing (^8.5.21|^9.5.10|^10.0)." + }, + "bin": [ + "testbench" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "6.0-dev" + } + }, + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Orchestra\\Testbench\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mior Muhammad Zaki", + "email": "crynobone@gmail.com", + "homepage": "https://github.com/crynobone" + } + ], + "description": "Testing Helper for Laravel Development", + "homepage": "https://packages.tools/testbench", + "keywords": [ + "BDD", + "TDD", + "laravel", + "orchestra-platform", + "orchestral", + "testing" + ], + "support": { + "issues": "https://github.com/orchestral/testbench/issues", + "source": "https://github.com/orchestral/testbench-core" + }, + "funding": [ + { + "url": "https://paypal.me/crynobone", + "type": "custom" + }, + { + "url": "https://liberapay.com/crynobone", + "type": "liberapay" + } + ], + "time": "2022-02-08T12:50:35+00:00" + }, + { + "name": "phar-io/manifest", + "version": "2.0.3", + "source": { + "type": "git", + "url": "https://github.com/phar-io/manifest.git", + "reference": "97803eca37d319dfa7826cc2437fc020857acb53" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53", + "reference": "97803eca37d319dfa7826cc2437fc020857acb53", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-phar": "*", + "ext-xmlwriter": "*", + "phar-io/version": "^3.0.1", + "php": "^7.2 || ^8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", + "support": { + "issues": "https://github.com/phar-io/manifest/issues", + "source": "https://github.com/phar-io/manifest/tree/2.0.3" + }, + "time": "2021-07-20T11:28:43+00:00" + }, + { + "name": "phar-io/version", + "version": "3.2.1", + "source": { + "type": "git", + "url": "https://github.com/phar-io/version.git", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "description": "Library for handling version information and constraints", + "support": { + "issues": "https://github.com/phar-io/version/issues", + "source": "https://github.com/phar-io/version/tree/3.2.1" + }, + "time": "2022-02-21T01:04:05+00:00" + }, + { + "name": "phpdocumentor/reflection-common", + "version": "2.2.0", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/ReflectionCommon.git", + "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/1d01c49d4ed62f25aa84a747ad35d5a16924662b", + "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-2.x": "2.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jaap van Otterdijk", + "email": "opensource@ijaap.nl" + } + ], + "description": "Common reflection classes used by phpdocumentor to reflect the code structure", + "homepage": "http://www.phpdoc.org", + "keywords": [ + "FQSEN", + "phpDocumentor", + "phpdoc", + "reflection", + "static analysis" + ], + "support": { + "issues": "https://github.com/phpDocumentor/ReflectionCommon/issues", + "source": "https://github.com/phpDocumentor/ReflectionCommon/tree/2.x" + }, + "time": "2020-06-27T09:03:43+00:00" + }, + { + "name": "phpdocumentor/reflection-docblock", + "version": "5.3.0", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", + "reference": "622548b623e81ca6d78b721c5e029f4ce664f170" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/622548b623e81ca6d78b721c5e029f4ce664f170", + "reference": "622548b623e81ca6d78b721c5e029f4ce664f170", + "shasum": "" + }, + "require": { + "ext-filter": "*", + "php": "^7.2 || ^8.0", + "phpdocumentor/reflection-common": "^2.2", + "phpdocumentor/type-resolver": "^1.3", + "webmozart/assert": "^1.9.1" + }, + "require-dev": { + "mockery/mockery": "~1.3.2", + "psalm/phar": "^4.8" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mike van Riel", + "email": "me@mikevanriel.com" + }, + { + "name": "Jaap van Otterdijk", + "email": "account@ijaap.nl" + } + ], + "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", + "support": { + "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues", + "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.3.0" + }, + "time": "2021-10-19T17:43:47+00:00" + }, + { + "name": "phpdocumentor/type-resolver", + "version": "1.6.1", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/TypeResolver.git", + "reference": "77a32518733312af16a44300404e945338981de3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/77a32518733312af16a44300404e945338981de3", + "reference": "77a32518733312af16a44300404e945338981de3", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0", + "phpdocumentor/reflection-common": "^2.0" + }, + "require-dev": { + "ext-tokenizer": "*", + "psalm/phar": "^4.8" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-1.x": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mike van Riel", + "email": "me@mikevanriel.com" + } + ], + "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", + "support": { + "issues": "https://github.com/phpDocumentor/TypeResolver/issues", + "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.6.1" + }, + "time": "2022-03-15T21:29:03+00:00" + }, + { + "name": "phpoption/phpoption", + "version": "1.8.1", + "source": { + "type": "git", + "url": "https://github.com/schmittjoh/php-option.git", + "reference": "eab7a0df01fe2344d172bff4cd6dbd3f8b84ad15" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/eab7a0df01fe2344d172bff4cd6dbd3f8b84ad15", + "reference": "eab7a0df01fe2344d172bff4cd6dbd3f8b84ad15", + "shasum": "" + }, + "require": { + "php": "^7.0 || ^8.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.4.1", + "phpunit/phpunit": "^6.5.14 || ^7.5.20 || ^8.5.19 || ^9.5.8" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.8-dev" + } + }, + "autoload": { + "psr-4": { + "PhpOption\\": "src/PhpOption/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "Johannes M. Schmitt", + "email": "schmittjoh@gmail.com", + "homepage": "https://github.com/schmittjoh" + }, + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + } + ], + "description": "Option Type for PHP", + "keywords": [ + "language", + "option", + "php", + "type" + ], + "support": { + "issues": "https://github.com/schmittjoh/php-option/issues", + "source": "https://github.com/schmittjoh/php-option/tree/1.8.1" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpoption/phpoption", + "type": "tidelift" + } + ], + "time": "2021-12-04T23:24:31+00:00" + }, + { + "name": "phpspec/prophecy", + "version": "v1.15.0", + "source": { + "type": "git", + "url": "https://github.com/phpspec/prophecy.git", + "reference": "bbcd7380b0ebf3961ee21409db7b38bc31d69a13" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/bbcd7380b0ebf3961ee21409db7b38bc31d69a13", + "reference": "bbcd7380b0ebf3961ee21409db7b38bc31d69a13", + "shasum": "" + }, + "require": { + "doctrine/instantiator": "^1.2", + "php": "^7.2 || ~8.0, <8.2", + "phpdocumentor/reflection-docblock": "^5.2", + "sebastian/comparator": "^3.0 || ^4.0", + "sebastian/recursion-context": "^3.0 || ^4.0" + }, + "require-dev": { + "phpspec/phpspec": "^6.0 || ^7.0", + "phpunit/phpunit": "^8.0 || ^9.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Prophecy\\": "src/Prophecy" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Konstantin Kudryashov", + "email": "ever.zet@gmail.com", + "homepage": "http://everzet.com" + }, + { + "name": "Marcello Duarte", + "email": "marcello.duarte@gmail.com" + } + ], + "description": "Highly opinionated mocking framework for PHP 5.3+", + "homepage": "https://github.com/phpspec/prophecy", + "keywords": [ + "Double", + "Dummy", + "fake", + "mock", + "spy", + "stub" + ], + "support": { + "issues": "https://github.com/phpspec/prophecy/issues", + "source": "https://github.com/phpspec/prophecy/tree/v1.15.0" + }, + "time": "2021-12-08T12:19:24+00:00" + }, + { + "name": "phpstan/phpdoc-parser", + "version": "1.5.1", + "source": { + "type": "git", + "url": "https://github.com/phpstan/phpdoc-parser.git", + "reference": "981cc368a216c988e862a75e526b6076987d1b50" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/981cc368a216c988e862a75e526b6076987d1b50", + "reference": "981cc368a216c988e862a75e526b6076987d1b50", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "php-parallel-lint/php-parallel-lint": "^1.2", + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^1.5", + "phpstan/phpstan-strict-rules": "^1.0", + "phpunit/phpunit": "^9.5", + "symfony/process": "^5.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "PHPStan\\PhpDocParser\\": [ + "src/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "PHPDoc parser with support for nullable, intersection and generic types", + "support": { + "issues": "https://github.com/phpstan/phpdoc-parser/issues", + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.5.1" + }, + "time": "2022-05-05T11:32:40+00:00" + }, + { + "name": "phpunit/php-code-coverage", + "version": "9.2.15", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-code-coverage.git", + "reference": "2e9da11878c4202f97915c1cb4bb1ca318a63f5f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/2e9da11878c4202f97915c1cb4bb1ca318a63f5f", + "reference": "2e9da11878c4202f97915c1cb4bb1ca318a63f5f", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-libxml": "*", + "ext-xmlwriter": "*", + "nikic/php-parser": "^4.13.0", + "php": ">=7.3", + "phpunit/php-file-iterator": "^3.0.3", + "phpunit/php-text-template": "^2.0.2", + "sebastian/code-unit-reverse-lookup": "^2.0.2", + "sebastian/complexity": "^2.0", + "sebastian/environment": "^5.1.2", + "sebastian/lines-of-code": "^1.0.3", + "sebastian/version": "^3.0.1", + "theseer/tokenizer": "^1.2.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-pcov": "*", + "ext-xdebug": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "9.2-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", + "homepage": "https://github.com/sebastianbergmann/php-code-coverage", + "keywords": [ + "coverage", + "testing", + "xunit" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.15" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2022-03-07T09:28:20+00:00" + }, + { + "name": "phpunit/php-file-iterator", + "version": "3.0.6", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-file-iterator.git", + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "FilterIterator implementation that filters files based on a list of suffixes.", + "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", + "keywords": [ + "filesystem", + "iterator" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2021-12-02T12:48:52+00:00" + }, + { + "name": "phpunit/php-invoker", + "version": "3.1.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-invoker.git", + "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "ext-pcntl": "*", + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-pcntl": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Invoke callables with a timeout", + "homepage": "https://github.com/sebastianbergmann/php-invoker/", + "keywords": [ + "process" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-invoker/issues", + "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T05:58:55+00:00" + }, + { + "name": "phpunit/php-text-template", + "version": "2.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-text-template.git", + "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", + "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Simple template engine.", + "homepage": "https://github.com/sebastianbergmann/php-text-template/", + "keywords": [ + "template" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-text-template/issues", + "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T05:33:50+00:00" + }, + { + "name": "phpunit/php-timer", + "version": "5.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-timer.git", + "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", + "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Utility class for timing", + "homepage": "https://github.com/sebastianbergmann/php-timer/", + "keywords": [ + "timer" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-timer/issues", + "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:16:10+00:00" + }, + { + "name": "phpunit/phpunit", + "version": "9.5.20", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/phpunit.git", + "reference": "12bc8879fb65aef2138b26fc633cb1e3620cffba" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/12bc8879fb65aef2138b26fc633cb1e3620cffba", + "reference": "12bc8879fb65aef2138b26fc633cb1e3620cffba", + "shasum": "" + }, + "require": { + "doctrine/instantiator": "^1.3.1", + "ext-dom": "*", + "ext-json": "*", + "ext-libxml": "*", + "ext-mbstring": "*", + "ext-xml": "*", + "ext-xmlwriter": "*", + "myclabs/deep-copy": "^1.10.1", + "phar-io/manifest": "^2.0.3", + "phar-io/version": "^3.0.2", + "php": ">=7.3", + "phpspec/prophecy": "^1.12.1", + "phpunit/php-code-coverage": "^9.2.13", + "phpunit/php-file-iterator": "^3.0.5", + "phpunit/php-invoker": "^3.1.1", + "phpunit/php-text-template": "^2.0.3", + "phpunit/php-timer": "^5.0.2", + "sebastian/cli-parser": "^1.0.1", + "sebastian/code-unit": "^1.0.6", + "sebastian/comparator": "^4.0.5", + "sebastian/diff": "^4.0.3", + "sebastian/environment": "^5.1.3", + "sebastian/exporter": "^4.0.3", + "sebastian/global-state": "^5.0.1", + "sebastian/object-enumerator": "^4.0.3", + "sebastian/resource-operations": "^3.0.3", + "sebastian/type": "^3.0", + "sebastian/version": "^3.0.2" + }, + "require-dev": { + "ext-pdo": "*", + "phpspec/prophecy-phpunit": "^2.0.1" + }, + "suggest": { + "ext-soap": "*", + "ext-xdebug": "*" + }, + "bin": [ + "phpunit" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "9.5-dev" + } + }, + "autoload": { + "files": [ + "src/Framework/Assert/Functions.php" + ], + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "The PHP Unit Testing framework.", + "homepage": "https://phpunit.de/", + "keywords": [ + "phpunit", + "testing", + "xunit" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/phpunit/issues", + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.20" + }, + "funding": [ + { + "url": "https://phpunit.de/sponsors.html", + "type": "custom" + }, + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2022-04-01T12:37:26+00:00" + }, + { + "name": "pimple/pimple", + "version": "v3.5.0", + "source": { + "type": "git", + "url": "https://github.com/silexphp/Pimple.git", + "reference": "a94b3a4db7fb774b3d78dad2315ddc07629e1bed" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/silexphp/Pimple/zipball/a94b3a4db7fb774b3d78dad2315ddc07629e1bed", + "reference": "a94b3a4db7fb774b3d78dad2315ddc07629e1bed", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "psr/container": "^1.1 || ^2.0" + }, + "require-dev": { + "symfony/phpunit-bridge": "^5.4@dev" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.4.x-dev" + } + }, + "autoload": { + "psr-0": { + "Pimple": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + } + ], + "description": "Pimple, a simple Dependency Injection Container", + "homepage": "https://pimple.symfony.com", + "keywords": [ + "container", + "dependency injection" + ], + "support": { + "source": "https://github.com/silexphp/Pimple/tree/v3.5.0" + }, + "time": "2021-10-28T11:13:42+00:00" + }, + { + "name": "psr/container", + "version": "1.1.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/container.git", + "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/container/zipball/8622567409010282b7aeebe4bb841fe98b58dcaf", + "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf", + "shasum": "" + }, + "require": { + "php": ">=7.2.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Psr\\Container\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", + "keywords": [ + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" + ], + "support": { + "issues": "https://github.com/php-fig/container/issues", + "source": "https://github.com/php-fig/container/tree/1.1.1" + }, + "time": "2021-03-05T17:36:06+00:00" + }, + { + "name": "psr/event-dispatcher", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/event-dispatcher.git", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0", + "shasum": "" + }, + "require": { + "php": ">=7.2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\EventDispatcher\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Standard interfaces for event handling.", + "keywords": [ + "events", + "psr", + "psr-14" + ], + "support": { + "issues": "https://github.com/php-fig/event-dispatcher/issues", + "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0" + }, + "time": "2019-01-08T18:20:26+00:00" + }, + { + "name": "psr/log", + "version": "1.1.4", + "source": { + "type": "git", + "url": "https://github.com/php-fig/log.git", + "reference": "d49695b909c3b7628b6289db5479a1c204601f11" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11", + "reference": "d49695b909c3b7628b6289db5479a1c204601f11", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Log\\": "Psr/Log/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", + "keywords": [ + "log", + "psr", + "psr-3" + ], + "support": { + "source": "https://github.com/php-fig/log/tree/1.1.4" + }, + "time": "2021-05-03T11:20:27+00:00" + }, + { + "name": "psr/simple-cache", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/simple-cache.git", + "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", + "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\SimpleCache\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interfaces for simple caching", + "keywords": [ + "cache", + "caching", + "psr", + "psr-16", + "simple-cache" + ], + "support": { + "source": "https://github.com/php-fig/simple-cache/tree/master" + }, + "time": "2017-10-23T01:57:42+00:00" + }, + { + "name": "ramsey/collection", + "version": "1.2.2", + "source": { + "type": "git", + "url": "https://github.com/ramsey/collection.git", + "reference": "cccc74ee5e328031b15640b51056ee8d3bb66c0a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ramsey/collection/zipball/cccc74ee5e328031b15640b51056ee8d3bb66c0a", + "reference": "cccc74ee5e328031b15640b51056ee8d3bb66c0a", + "shasum": "" + }, + "require": { + "php": "^7.3 || ^8", + "symfony/polyfill-php81": "^1.23" + }, + "require-dev": { + "captainhook/captainhook": "^5.3", + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", + "ergebnis/composer-normalize": "^2.6", + "fakerphp/faker": "^1.5", + "hamcrest/hamcrest-php": "^2", + "jangregor/phpstan-prophecy": "^0.8", + "mockery/mockery": "^1.3", + "phpspec/prophecy-phpunit": "^2.0", + "phpstan/extension-installer": "^1", + "phpstan/phpstan": "^0.12.32", + "phpstan/phpstan-mockery": "^0.12.5", + "phpstan/phpstan-phpunit": "^0.12.11", + "phpunit/phpunit": "^8.5 || ^9", + "psy/psysh": "^0.10.4", + "slevomat/coding-standard": "^6.3", + "squizlabs/php_codesniffer": "^3.5", + "vimeo/psalm": "^4.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "Ramsey\\Collection\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ben Ramsey", + "email": "ben@benramsey.com", + "homepage": "https://benramsey.com" + } + ], + "description": "A PHP library for representing and manipulating collections.", + "keywords": [ + "array", + "collection", + "hash", + "map", + "queue", + "set" + ], + "support": { + "issues": "https://github.com/ramsey/collection/issues", + "source": "https://github.com/ramsey/collection/tree/1.2.2" + }, + "funding": [ + { + "url": "https://github.com/ramsey", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/ramsey/collection", + "type": "tidelift" + } + ], + "time": "2021-10-10T03:01:02+00:00" + }, + { + "name": "ramsey/uuid", + "version": "4.2.3", + "source": { + "type": "git", + "url": "https://github.com/ramsey/uuid.git", + "reference": "fc9bb7fb5388691fd7373cd44dcb4d63bbcf24df" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/fc9bb7fb5388691fd7373cd44dcb4d63bbcf24df", + "reference": "fc9bb7fb5388691fd7373cd44dcb4d63bbcf24df", + "shasum": "" + }, + "require": { + "brick/math": "^0.8 || ^0.9", + "ext-json": "*", + "php": "^7.2 || ^8.0", + "ramsey/collection": "^1.0", + "symfony/polyfill-ctype": "^1.8", + "symfony/polyfill-php80": "^1.14" + }, + "replace": { + "rhumsaa/uuid": "self.version" + }, + "require-dev": { + "captainhook/captainhook": "^5.10", + "captainhook/plugin-composer": "^5.3", + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", + "doctrine/annotations": "^1.8", + "ergebnis/composer-normalize": "^2.15", + "mockery/mockery": "^1.3", + "moontoast/math": "^1.1", + "paragonie/random-lib": "^2", + "php-mock/php-mock": "^2.2", + "php-mock/php-mock-mockery": "^1.3", + "php-parallel-lint/php-parallel-lint": "^1.1", + "phpbench/phpbench": "^1.0", + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^0.12", + "phpstan/phpstan-mockery": "^0.12", + "phpstan/phpstan-phpunit": "^0.12", + "phpunit/phpunit": "^8.5 || ^9", + "slevomat/coding-standard": "^7.0", + "squizlabs/php_codesniffer": "^3.5", + "vimeo/psalm": "^4.9" + }, + "suggest": { + "ext-bcmath": "Enables faster math with arbitrary-precision integers using BCMath.", + "ext-ctype": "Enables faster processing of character classification using ctype functions.", + "ext-gmp": "Enables faster math with arbitrary-precision integers using GMP.", + "ext-uuid": "Enables the use of PeclUuidTimeGenerator and PeclUuidRandomGenerator.", + "paragonie/random-lib": "Provides RandomLib for use with the RandomLibAdapter", + "ramsey/uuid-doctrine": "Allows the use of Ramsey\\Uuid\\Uuid as Doctrine field type." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "4.x-dev" + }, + "captainhook": { + "force-install": true + } + }, + "autoload": { + "files": [ + "src/functions.php" + ], + "psr-4": { + "Ramsey\\Uuid\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "A PHP library for generating and working with universally unique identifiers (UUIDs).", + "keywords": [ + "guid", + "identifier", + "uuid" + ], + "support": { + "issues": "https://github.com/ramsey/uuid/issues", + "source": "https://github.com/ramsey/uuid/tree/4.2.3" + }, + "funding": [ + { + "url": "https://github.com/ramsey", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/ramsey/uuid", + "type": "tidelift" + } + ], + "time": "2021-09-25T23:10:38+00:00" + }, + { + "name": "sebastian/cli-parser", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/cli-parser.git", + "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for parsing CLI options", + "homepage": "https://github.com/sebastianbergmann/cli-parser", + "support": { + "issues": "https://github.com/sebastianbergmann/cli-parser/issues", + "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T06:08:49+00:00" + }, + { + "name": "sebastian/code-unit", + "version": "1.0.8", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/code-unit.git", + "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120", + "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Collection of value objects that represent the PHP code units", + "homepage": "https://github.com/sebastianbergmann/code-unit", + "support": { + "issues": "https://github.com/sebastianbergmann/code-unit/issues", + "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:08:54+00:00" + }, + { + "name": "sebastian/code-unit-reverse-lookup", + "version": "2.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", + "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Looks up which function or method a line of code belongs to", + "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", + "support": { + "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T05:30:19+00:00" + }, + { + "name": "sebastian/comparator", + "version": "4.0.6", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/comparator.git", + "reference": "55f4261989e546dc112258c7a75935a81a7ce382" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/55f4261989e546dc112258c7a75935a81a7ce382", + "reference": "55f4261989e546dc112258c7a75935a81a7ce382", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "sebastian/diff": "^4.0", + "sebastian/exporter": "^4.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@2bepublished.at" + } + ], + "description": "Provides the functionality to compare PHP values for equality", + "homepage": "https://github.com/sebastianbergmann/comparator", + "keywords": [ + "comparator", + "compare", + "equality" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/comparator/issues", + "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.6" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T15:49:45+00:00" + }, + { + "name": "sebastian/complexity", + "version": "2.0.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/complexity.git", + "reference": "739b35e53379900cc9ac327b2147867b8b6efd88" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88", + "reference": "739b35e53379900cc9ac327b2147867b8b6efd88", + "shasum": "" + }, + "require": { + "nikic/php-parser": "^4.7", + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for calculating the complexity of PHP code units", + "homepage": "https://github.com/sebastianbergmann/complexity", + "support": { + "issues": "https://github.com/sebastianbergmann/complexity/issues", + "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T15:52:27+00:00" + }, + { + "name": "sebastian/diff", + "version": "4.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/diff.git", + "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/3461e3fccc7cfdfc2720be910d3bd73c69be590d", + "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3", + "symfony/process": "^4.2 || ^5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Kore Nordmann", + "email": "mail@kore-nordmann.de" + } + ], + "description": "Diff implementation", + "homepage": "https://github.com/sebastianbergmann/diff", + "keywords": [ + "diff", + "udiff", + "unidiff", + "unified diff" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/diff/issues", + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:10:38+00:00" + }, + { + "name": "sebastian/environment", + "version": "5.1.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/environment.git", + "reference": "1b5dff7bb151a4db11d49d90e5408e4e938270f7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/1b5dff7bb151a4db11d49d90e5408e4e938270f7", + "reference": "1b5dff7bb151a4db11d49d90e5408e4e938270f7", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-posix": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides functionality to handle HHVM/PHP environments", + "homepage": "http://www.github.com/sebastianbergmann/environment", + "keywords": [ + "Xdebug", + "environment", + "hhvm" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/environment/issues", + "source": "https://github.com/sebastianbergmann/environment/tree/5.1.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2022-04-03T09:37:03+00:00" + }, + { + "name": "sebastian/exporter", + "version": "4.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/exporter.git", + "reference": "65e8b7db476c5dd267e65eea9cab77584d3cfff9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/65e8b7db476c5dd267e65eea9cab77584d3cfff9", + "reference": "65e8b7db476c5dd267e65eea9cab77584d3cfff9", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "sebastian/recursion-context": "^4.0" + }, + "require-dev": { + "ext-mbstring": "*", + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Provides the functionality to export PHP variables for visualization", + "homepage": "https://www.github.com/sebastianbergmann/exporter", + "keywords": [ + "export", + "exporter" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/exporter/issues", + "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2021-11-11T14:18:36+00:00" + }, + { + "name": "sebastian/global-state", + "version": "5.0.5", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/global-state.git", + "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/0ca8db5a5fc9c8646244e629625ac486fa286bf2", + "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" + }, + "require-dev": { + "ext-dom": "*", + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-uopz": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Snapshotting of global state", + "homepage": "http://www.github.com/sebastianbergmann/global-state", + "keywords": [ + "global state" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/global-state/issues", + "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.5" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2022-02-14T08:28:10+00:00" + }, + { + "name": "sebastian/lines-of-code", + "version": "1.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/lines-of-code.git", + "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "shasum": "" + }, + "require": { + "nikic/php-parser": "^4.6", + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for counting the lines of code in PHP source code", + "homepage": "https://github.com/sebastianbergmann/lines-of-code", + "support": { + "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-28T06:42:11+00:00" + }, + { + "name": "sebastian/object-enumerator", + "version": "4.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/object-enumerator.git", + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71", + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Traverses array structures and object graphs to enumerate all referenced objects", + "homepage": "https://github.com/sebastianbergmann/object-enumerator/", + "support": { + "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:12:34+00:00" + }, + { + "name": "sebastian/object-reflector", + "version": "2.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/object-reflector.git", + "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", + "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Allows reflection of object attributes, including inherited and non-public ones", + "homepage": "https://github.com/sebastianbergmann/object-reflector/", + "support": { + "issues": "https://github.com/sebastianbergmann/object-reflector/issues", + "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:14:26+00:00" + }, + { + "name": "sebastian/recursion-context", + "version": "4.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/recursion-context.git", + "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/cd9d8cf3c5804de4341c283ed787f099f5506172", + "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + } + ], + "description": "Provides functionality to recursively process PHP variables", + "homepage": "http://www.github.com/sebastianbergmann/recursion-context", + "support": { + "issues": "https://github.com/sebastianbergmann/recursion-context/issues", + "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:17:30+00:00" + }, + { + "name": "sebastian/resource-operations", + "version": "3.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/resource-operations.git", + "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", + "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides a list of PHP built-in functions that operate on resources", + "homepage": "https://www.github.com/sebastianbergmann/resource-operations", + "support": { + "issues": "https://github.com/sebastianbergmann/resource-operations/issues", + "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T06:45:17+00:00" + }, + { + "name": "sebastian/type", + "version": "3.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/type.git", + "reference": "b233b84bc4465aff7b57cf1c4bc75c86d00d6dad" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/b233b84bc4465aff7b57cf1c4bc75c86d00d6dad", + "reference": "b233b84bc4465aff7b57cf1c4bc75c86d00d6dad", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Collection of value objects that represent the types of the PHP type system", + "homepage": "https://github.com/sebastianbergmann/type", + "support": { + "issues": "https://github.com/sebastianbergmann/type/issues", + "source": "https://github.com/sebastianbergmann/type/tree/3.0.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2022-03-15T09:54:48+00:00" + }, + { + "name": "sebastian/version", + "version": "3.0.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/version.git", + "reference": "c6c1022351a901512170118436c764e473f6de8c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c", + "reference": "c6c1022351a901512170118436c764e473f6de8c", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library that helps with managing the version number of Git-hosted PHP projects", + "homepage": "https://github.com/sebastianbergmann/version", + "support": { + "issues": "https://github.com/sebastianbergmann/version/issues", + "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T06:39:44+00:00" + }, + { + "name": "slevomat/coding-standard", + "version": "7.2.1", + "source": { + "type": "git", + "url": "https://github.com/slevomat/coding-standard.git", + "reference": "aff06ae7a84e4534bf6f821dc982a93a5d477c90" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/aff06ae7a84e4534bf6f821dc982a93a5d477c90", + "reference": "aff06ae7a84e4534bf6f821dc982a93a5d477c90", + "shasum": "" + }, + "require": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7", + "php": "^7.2 || ^8.0", + "phpstan/phpdoc-parser": "^1.5.1", + "squizlabs/php_codesniffer": "^3.6.2" + }, + "require-dev": { + "phing/phing": "2.17.3", + "php-parallel-lint/php-parallel-lint": "1.3.2", + "phpstan/phpstan": "1.4.10|1.7.1", + "phpstan/phpstan-deprecation-rules": "1.0.0", + "phpstan/phpstan-phpunit": "1.0.0|1.1.1", + "phpstan/phpstan-strict-rules": "1.2.3", + "phpunit/phpunit": "7.5.20|8.5.21|9.5.20" + }, + "type": "phpcodesniffer-standard", + "extra": { + "branch-alias": { + "dev-master": "7.x-dev" + } + }, + "autoload": { + "psr-4": { + "SlevomatCodingStandard\\": "SlevomatCodingStandard" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Slevomat Coding Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.", + "support": { + "issues": "https://github.com/slevomat/coding-standard/issues", + "source": "https://github.com/slevomat/coding-standard/tree/7.2.1" + }, + "funding": [ + { + "url": "https://github.com/kukulich", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/slevomat/coding-standard", + "type": "tidelift" + } + ], + "time": "2022-05-25T10:58:12+00:00" + }, + { + "name": "spatie/backtrace", + "version": "1.2.1", + "source": { + "type": "git", + "url": "https://github.com/spatie/backtrace.git", + "reference": "4ee7d41aa5268107906ea8a4d9ceccde136dbd5b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/backtrace/zipball/4ee7d41aa5268107906ea8a4d9ceccde136dbd5b", + "reference": "4ee7d41aa5268107906ea8a4d9ceccde136dbd5b", + "shasum": "" + }, + "require": { + "php": "^7.3|^8.0" + }, + "require-dev": { + "ext-json": "*", + "phpunit/phpunit": "^9.3", + "symfony/var-dumper": "^5.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "Spatie\\Backtrace\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van de Herten", + "email": "freek@spatie.be", + "homepage": "https://spatie.be", + "role": "Developer" + } + ], + "description": "A better backtrace", + "homepage": "https://github.com/spatie/backtrace", + "keywords": [ + "Backtrace", + "spatie" + ], + "support": { + "issues": "https://github.com/spatie/backtrace/issues", + "source": "https://github.com/spatie/backtrace/tree/1.2.1" + }, + "funding": [ + { + "url": "https://github.com/sponsors/spatie", + "type": "github" + }, + { + "url": "https://spatie.be/open-source/support-us", + "type": "other" + } + ], + "time": "2021-11-09T10:57:15+00:00" + }, + { + "name": "spatie/laravel-ray", + "version": "1.29.7", + "source": { + "type": "git", + "url": "https://github.com/spatie/laravel-ray.git", + "reference": "97b8ccdb9975e3339069765417990e89474254ee" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/laravel-ray/zipball/97b8ccdb9975e3339069765417990e89474254ee", + "reference": "97b8ccdb9975e3339069765417990e89474254ee", + "shasum": "" + }, + "require": { + "ext-json": "*", + "illuminate/contracts": "^7.20|^8.19|^9.0", + "illuminate/database": "^7.20|^8.19|^9.0", + "illuminate/queue": "^7.20|^8.19|^9.0", + "illuminate/support": "^7.20|^8.19|^9.0", + "php": "^7.3|^8.0", + "spatie/backtrace": "^1.0", + "spatie/ray": "^1.33", + "symfony/stopwatch": "4.2|^5.1|^6.0", + "zbateson/mail-mime-parser": "^1.3.1|^2.0" + }, + "require-dev": { + "guzzlehttp/guzzle": "^7.3", + "laravel/framework": "^7.20|^8.19|^9.0", + "orchestra/testbench-core": "^5.0|^6.0|^7.0", + "phpstan/phpstan": "^0.12.93", + "phpunit/phpunit": "^9.3", + "spatie/phpunit-snapshot-assertions": "^4.2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.29.x-dev" + }, + "laravel": { + "providers": [ + "Spatie\\LaravelRay\\RayServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Spatie\\LaravelRay\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "homepage": "https://spatie.be", + "role": "Developer" + } + ], + "description": "Easily debug Laravel apps", + "homepage": "https://github.com/spatie/laravel-ray", + "keywords": [ + "laravel-ray", + "spatie" + ], + "support": { + "issues": "https://github.com/spatie/laravel-ray/issues", + "source": "https://github.com/spatie/laravel-ray/tree/1.29.7" + }, + "funding": [ + { + "url": "https://github.com/sponsors/spatie", + "type": "github" + }, + { + "url": "https://spatie.be/open-source/support-us", + "type": "other" + } + ], + "time": "2022-05-27T18:45:58+00:00" + }, + { + "name": "spatie/macroable", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/spatie/macroable.git", + "reference": "7a99549fc001c925714b329220dea680c04bfa48" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/macroable/zipball/7a99549fc001c925714b329220dea680c04bfa48", + "reference": "7a99549fc001c925714b329220dea680c04bfa48", + "shasum": "" + }, + "require": { + "php": "^7.2|^8.0" + }, + "require-dev": { + "phpunit/phpunit": "^8.0|^9.3" + }, + "type": "library", + "autoload": { + "psr-4": { + "Spatie\\Macroable\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "homepage": "https://spatie.be", + "role": "Developer" + } + ], + "description": "A trait to dynamically add methods to a class", + "homepage": "https://github.com/spatie/macroable", + "keywords": [ + "macroable", + "spatie" + ], + "support": { + "issues": "https://github.com/spatie/macroable/issues", + "source": "https://github.com/spatie/macroable/tree/1.0.1" + }, + "time": "2020-11-03T10:15:05+00:00" + }, + { + "name": "spatie/ray", + "version": "1.34.5", + "source": { + "type": "git", + "url": "https://github.com/spatie/ray.git", + "reference": "2d64ea264eecbdc7ec01e4e8b45978cae80815d2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/ray/zipball/2d64ea264eecbdc7ec01e4e8b45978cae80815d2", + "reference": "2d64ea264eecbdc7ec01e4e8b45978cae80815d2", + "shasum": "" + }, + "require": { + "ext-curl": "*", + "ext-json": "*", + "php": "^7.3|^8.0", + "ramsey/uuid": "^3.0|^4.1", + "spatie/backtrace": "^1.1", + "spatie/macroable": "^1.0|^2.0", + "symfony/stopwatch": "^4.0|^5.1|^6.0", + "symfony/var-dumper": "^4.2|^5.1|^6.0" + }, + "require-dev": { + "illuminate/support": "6.x|^8.18|^9.0", + "nesbot/carbon": "^2.43", + "phpstan/phpstan": "^0.12.92", + "phpunit/phpunit": "^9.5", + "spatie/phpunit-snapshot-assertions": "^4.2", + "spatie/test-time": "^1.2" + }, + "type": "library", + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Spatie\\Ray\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "homepage": "https://spatie.be", + "role": "Developer" + } + ], + "description": "Debug with Ray to fix problems faster", + "homepage": "https://github.com/spatie/ray", + "keywords": [ + "ray", + "spatie" + ], + "support": { + "issues": "https://github.com/spatie/ray/issues", + "source": "https://github.com/spatie/ray/tree/1.34.5" + }, + "funding": [ + { + "url": "https://github.com/sponsors/spatie", + "type": "github" + }, + { + "url": "https://spatie.be/open-source/support-us", + "type": "other" + } + ], + "time": "2022-06-03T12:32:57+00:00" + }, + { + "name": "squizlabs/php_codesniffer", + "version": "3.6.2", + "source": { + "type": "git", + "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", + "reference": "5e4e71592f69da17871dba6e80dd51bce74a351a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/5e4e71592f69da17871dba6e80dd51bce74a351a", + "reference": "5e4e71592f69da17871dba6e80dd51bce74a351a", + "shasum": "" + }, + "require": { + "ext-simplexml": "*", + "ext-tokenizer": "*", + "ext-xmlwriter": "*", + "php": ">=5.4.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" + }, + "bin": [ + "bin/phpcs", + "bin/phpcbf" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.x-dev" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Greg Sherwood", + "role": "lead" + } + ], + "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.", + "homepage": "https://github.com/squizlabs/PHP_CodeSniffer", + "keywords": [ + "phpcs", + "standards" + ], + "support": { + "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues", + "source": "https://github.com/squizlabs/PHP_CodeSniffer", + "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" + }, + "time": "2021-12-12T21:44:58+00:00" + }, + { + "name": "swiftmailer/swiftmailer", + "version": "v6.3.0", + "source": { + "type": "git", + "url": "https://github.com/swiftmailer/swiftmailer.git", + "reference": "8a5d5072dca8f48460fce2f4131fcc495eec654c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/8a5d5072dca8f48460fce2f4131fcc495eec654c", + "reference": "8a5d5072dca8f48460fce2f4131fcc495eec654c", + "shasum": "" + }, + "require": { + "egulias/email-validator": "^2.0|^3.1", + "php": ">=7.0.0", + "symfony/polyfill-iconv": "^1.0", + "symfony/polyfill-intl-idn": "^1.10", + "symfony/polyfill-mbstring": "^1.0" + }, + "require-dev": { + "mockery/mockery": "^1.0", + "symfony/phpunit-bridge": "^4.4|^5.4" + }, + "suggest": { + "ext-intl": "Needed to support internationalized email addresses" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "6.2-dev" + } + }, + "autoload": { + "files": [ + "lib/swift_required.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Chris Corbyn" + }, + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + } + ], + "description": "Swiftmailer, free feature-rich PHP mailer", + "homepage": "https://swiftmailer.symfony.com", + "keywords": [ + "email", + "mail", + "mailer" + ], + "support": { + "issues": "https://github.com/swiftmailer/swiftmailer/issues", + "source": "https://github.com/swiftmailer/swiftmailer/tree/v6.3.0" + }, + "funding": [ + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/swiftmailer/swiftmailer", + "type": "tidelift" + } + ], + "abandoned": "symfony/mailer", + "time": "2021-10-18T15:26:12+00:00" + }, + { + "name": "symfony/console", + "version": "v5.4.9", + "source": { + "type": "git", + "url": "https://github.com/symfony/console.git", + "reference": "829d5d1bf60b2efeb0887b7436873becc71a45eb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/console/zipball/829d5d1bf60b2efeb0887b7436873becc71a45eb", + "reference": "829d5d1bf60b2efeb0887b7436873becc71a45eb", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php73": "^1.9", + "symfony/polyfill-php80": "^1.16", + "symfony/service-contracts": "^1.1|^2|^3", + "symfony/string": "^5.1|^6.0" + }, + "conflict": { + "psr/log": ">=3", + "symfony/dependency-injection": "<4.4", + "symfony/dotenv": "<5.1", + "symfony/event-dispatcher": "<4.4", + "symfony/lock": "<4.4", + "symfony/process": "<4.4" + }, + "provide": { + "psr/log-implementation": "1.0|2.0" + }, + "require-dev": { + "psr/log": "^1|^2", + "symfony/config": "^4.4|^5.0|^6.0", + "symfony/dependency-injection": "^4.4|^5.0|^6.0", + "symfony/event-dispatcher": "^4.4|^5.0|^6.0", + "symfony/lock": "^4.4|^5.0|^6.0", + "symfony/process": "^4.4|^5.0|^6.0", + "symfony/var-dumper": "^4.4|^5.0|^6.0" + }, + "suggest": { + "psr/log": "For using the console logger", + "symfony/event-dispatcher": "", + "symfony/lock": "", + "symfony/process": "" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Console\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Eases the creation of beautiful and testable command line interfaces", + "homepage": "https://symfony.com", + "keywords": [ + "cli", + "command line", + "console", + "terminal" + ], + "support": { + "source": "https://github.com/symfony/console/tree/v5.4.9" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-18T06:17:34+00:00" + }, + { + "name": "symfony/css-selector", + "version": "v5.4.3", + "source": { + "type": "git", + "url": "https://github.com/symfony/css-selector.git", + "reference": "b0a190285cd95cb019237851205b8140ef6e368e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/b0a190285cd95cb019237851205b8140ef6e368e", + "reference": "b0a190285cd95cb019237851205b8140ef6e368e", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/polyfill-php80": "^1.16" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\CssSelector\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Jean-François Simon", + "email": "jeanfrancois.simon@sensiolabs.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Converts CSS selectors to XPath expressions", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/css-selector/tree/v5.4.3" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-01-02T09:53:40+00:00" + }, + { + "name": "symfony/error-handler", + "version": "v5.4.9", + "source": { + "type": "git", + "url": "https://github.com/symfony/error-handler.git", + "reference": "c116cda1f51c678782768dce89a45f13c949455d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/c116cda1f51c678782768dce89a45f13c949455d", + "reference": "c116cda1f51c678782768dce89a45f13c949455d", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "psr/log": "^1|^2|^3", + "symfony/var-dumper": "^4.4|^5.0|^6.0" + }, + "require-dev": { + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/http-kernel": "^4.4|^5.0|^6.0", + "symfony/serializer": "^4.4|^5.0|^6.0" + }, + "bin": [ + "Resources/bin/patch-type-declarations" + ], + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\ErrorHandler\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides tools to manage errors and ease debugging PHP code", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/error-handler/tree/v5.4.9" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-21T13:57:48+00:00" + }, + { + "name": "symfony/event-dispatcher", + "version": "v5.4.9", + "source": { + "type": "git", + "url": "https://github.com/symfony/event-dispatcher.git", + "reference": "8e6ce1cc0279e3ff3c8ff0f43813bc88d21ca1bc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/8e6ce1cc0279e3ff3c8ff0f43813bc88d21ca1bc", + "reference": "8e6ce1cc0279e3ff3c8ff0f43813bc88d21ca1bc", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/event-dispatcher-contracts": "^2|^3", + "symfony/polyfill-php80": "^1.16" + }, + "conflict": { + "symfony/dependency-injection": "<4.4" + }, + "provide": { + "psr/event-dispatcher-implementation": "1.0", + "symfony/event-dispatcher-implementation": "2.0" + }, + "require-dev": { + "psr/log": "^1|^2|^3", + "symfony/config": "^4.4|^5.0|^6.0", + "symfony/dependency-injection": "^4.4|^5.0|^6.0", + "symfony/error-handler": "^4.4|^5.0|^6.0", + "symfony/expression-language": "^4.4|^5.0|^6.0", + "symfony/http-foundation": "^4.4|^5.0|^6.0", + "symfony/service-contracts": "^1.1|^2|^3", + "symfony/stopwatch": "^4.4|^5.0|^6.0" + }, + "suggest": { + "symfony/dependency-injection": "", + "symfony/http-kernel": "" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\EventDispatcher\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/event-dispatcher/tree/v5.4.9" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-05T16:45:39+00:00" + }, + { + "name": "symfony/event-dispatcher-contracts", + "version": "v2.5.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/event-dispatcher-contracts.git", + "reference": "f98b54df6ad059855739db6fcbc2d36995283fe1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/f98b54df6ad059855739db6fcbc2d36995283fe1", + "reference": "f98b54df6ad059855739db6fcbc2d36995283fe1", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "psr/event-dispatcher": "^1" + }, + "suggest": { + "symfony/event-dispatcher-implementation": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.5-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\EventDispatcher\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to dispatching event", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.5.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-01-02T09:53:40+00:00" + }, + { + "name": "symfony/finder", + "version": "v5.4.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/finder.git", + "reference": "9b630f3427f3ebe7cd346c277a1408b00249dad9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/finder/zipball/9b630f3427f3ebe7cd346c277a1408b00249dad9", + "reference": "9b630f3427f3ebe7cd346c277a1408b00249dad9", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-php80": "^1.16" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Finder\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Finds files and directories via an intuitive fluent interface", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/finder/tree/v5.4.8" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-04-15T08:07:45+00:00" + }, + { + "name": "symfony/http-foundation", + "version": "v5.4.9", + "source": { + "type": "git", + "url": "https://github.com/symfony/http-foundation.git", + "reference": "6b0d0e4aca38d57605dcd11e2416994b38774522" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/6b0d0e4aca38d57605dcd11e2416994b38774522", + "reference": "6b0d0e4aca38d57605dcd11e2416994b38774522", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-mbstring": "~1.1", + "symfony/polyfill-php80": "^1.16" + }, + "require-dev": { + "predis/predis": "~1.0", + "symfony/cache": "^4.4|^5.0|^6.0", + "symfony/expression-language": "^4.4|^5.0|^6.0", + "symfony/mime": "^4.4|^5.0|^6.0" + }, + "suggest": { + "symfony/mime": "To use the file extension guesser" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\HttpFoundation\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Defines an object-oriented layer for the HTTP specification", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/http-foundation/tree/v5.4.9" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-17T15:07:29+00:00" + }, + { + "name": "symfony/http-kernel", + "version": "v5.4.9", + "source": { + "type": "git", + "url": "https://github.com/symfony/http-kernel.git", + "reference": "34b121ad3dc761f35fe1346d2f15618f8cbf77f8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/34b121ad3dc761f35fe1346d2f15618f8cbf77f8", + "reference": "34b121ad3dc761f35fe1346d2f15618f8cbf77f8", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "psr/log": "^1|^2", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/error-handler": "^4.4|^5.0|^6.0", + "symfony/event-dispatcher": "^5.0|^6.0", + "symfony/http-foundation": "^5.3.7|^6.0", + "symfony/polyfill-ctype": "^1.8", + "symfony/polyfill-php73": "^1.9", + "symfony/polyfill-php80": "^1.16" + }, + "conflict": { + "symfony/browser-kit": "<5.4", + "symfony/cache": "<5.0", + "symfony/config": "<5.0", + "symfony/console": "<4.4", + "symfony/dependency-injection": "<5.3", + "symfony/doctrine-bridge": "<5.0", + "symfony/form": "<5.0", + "symfony/http-client": "<5.0", + "symfony/mailer": "<5.0", + "symfony/messenger": "<5.0", + "symfony/translation": "<5.0", + "symfony/twig-bridge": "<5.0", + "symfony/validator": "<5.0", + "twig/twig": "<2.13" + }, + "provide": { + "psr/log-implementation": "1.0|2.0" + }, + "require-dev": { + "psr/cache": "^1.0|^2.0|^3.0", + "symfony/browser-kit": "^5.4|^6.0", + "symfony/config": "^5.0|^6.0", + "symfony/console": "^4.4|^5.0|^6.0", + "symfony/css-selector": "^4.4|^5.0|^6.0", + "symfony/dependency-injection": "^5.3|^6.0", + "symfony/dom-crawler": "^4.4|^5.0|^6.0", + "symfony/expression-language": "^4.4|^5.0|^6.0", + "symfony/finder": "^4.4|^5.0|^6.0", + "symfony/http-client-contracts": "^1.1|^2|^3", + "symfony/process": "^4.4|^5.0|^6.0", + "symfony/routing": "^4.4|^5.0|^6.0", + "symfony/stopwatch": "^4.4|^5.0|^6.0", + "symfony/translation": "^4.4|^5.0|^6.0", + "symfony/translation-contracts": "^1.1|^2|^3", + "twig/twig": "^2.13|^3.0.4" + }, + "suggest": { + "symfony/browser-kit": "", + "symfony/config": "", + "symfony/console": "", + "symfony/dependency-injection": "" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\HttpKernel\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides a structured process for converting a Request into a Response", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/http-kernel/tree/v5.4.9" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-27T07:09:08+00:00" + }, + { + "name": "symfony/mime", + "version": "v5.4.9", + "source": { + "type": "git", + "url": "https://github.com/symfony/mime.git", + "reference": "2b3802a24e48d0cfccf885173d2aac91e73df92e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/mime/zipball/2b3802a24e48d0cfccf885173d2aac91e73df92e", + "reference": "2b3802a24e48d0cfccf885173d2aac91e73df92e", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-intl-idn": "^1.10", + "symfony/polyfill-mbstring": "^1.0", + "symfony/polyfill-php80": "^1.16" + }, + "conflict": { + "egulias/email-validator": "~3.0.0", + "phpdocumentor/reflection-docblock": "<3.2.2", + "phpdocumentor/type-resolver": "<1.4.0", + "symfony/mailer": "<4.4" + }, + "require-dev": { + "egulias/email-validator": "^2.1.10|^3.1", + "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0", + "symfony/dependency-injection": "^4.4|^5.0|^6.0", + "symfony/property-access": "^4.4|^5.1|^6.0", + "symfony/property-info": "^4.4|^5.1|^6.0", + "symfony/serializer": "^5.2|^6.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Mime\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Allows manipulating MIME messages", + "homepage": "https://symfony.com", + "keywords": [ + "mime", + "mime-type" + ], + "support": { + "source": "https://github.com/symfony/mime/tree/v5.4.9" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-21T10:24:18+00:00" + }, + { + "name": "symfony/polyfill-ctype", + "version": "v1.26.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4", + "reference": "6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "provide": { + "ext-ctype": "*" + }, + "suggest": { + "ext-ctype": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.26-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Gert de Pagter", + "email": "BackEndTea@gmail.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for ctype functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "ctype", + "polyfill", + "portable" + ], + "support": { + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.26.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-24T11:49:31+00:00" + }, + { + "name": "symfony/polyfill-iconv", + "version": "v1.26.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-iconv.git", + "reference": "143f1881e655bebca1312722af8068de235ae5dc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-iconv/zipball/143f1881e655bebca1312722af8068de235ae5dc", + "reference": "143f1881e655bebca1312722af8068de235ae5dc", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "provide": { + "ext-iconv": "*" + }, + "suggest": { + "ext-iconv": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.26-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Iconv\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for the Iconv extension", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "iconv", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-iconv/tree/v1.26.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-24T11:49:31+00:00" + }, + { + "name": "symfony/polyfill-intl-grapheme", + "version": "v1.26.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-grapheme.git", + "reference": "433d05519ce6990bf3530fba6957499d327395c2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/433d05519ce6990bf3530fba6957499d327395c2", + "reference": "433d05519ce6990bf3530fba6957499d327395c2", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.26-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Grapheme\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's grapheme_* functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "grapheme", + "intl", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.26.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-24T11:49:31+00:00" + }, + { + "name": "symfony/polyfill-intl-idn", + "version": "v1.26.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-idn.git", + "reference": "59a8d271f00dd0e4c2e518104cc7963f655a1aa8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/59a8d271f00dd0e4c2e518104cc7963f655a1aa8", + "reference": "59a8d271f00dd0e4c2e518104cc7963f655a1aa8", + "shasum": "" + }, + "require": { + "php": ">=7.1", + "symfony/polyfill-intl-normalizer": "^1.10", + "symfony/polyfill-php72": "^1.10" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.26-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Idn\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Laurent Bassin", + "email": "laurent@bassin.info" + }, + { + "name": "Trevor Rowbotham", + "email": "trevor.rowbotham@pm.me" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "idn", + "intl", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.26.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-24T11:49:31+00:00" + }, + { + "name": "symfony/polyfill-intl-normalizer", + "version": "v1.26.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-normalizer.git", + "reference": "219aa369ceff116e673852dce47c3a41794c14bd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/219aa369ceff116e673852dce47c3a41794c14bd", + "reference": "219aa369ceff116e673852dce47c3a41794c14bd", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.26-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Normalizer\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's Normalizer class and related functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "intl", + "normalizer", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.26.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-24T11:49:31+00:00" + }, + { + "name": "symfony/polyfill-php72", + "version": "v1.26.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php72.git", + "reference": "bf44a9fd41feaac72b074de600314a93e2ae78e2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/bf44a9fd41feaac72b074de600314a93e2ae78e2", + "reference": "bf44a9fd41feaac72b074de600314a93e2ae78e2", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.26-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php72\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php72/tree/v1.26.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-24T11:49:31+00:00" + }, + { + "name": "symfony/polyfill-php73", + "version": "v1.26.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php73.git", + "reference": "e440d35fa0286f77fb45b79a03fedbeda9307e85" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/e440d35fa0286f77fb45b79a03fedbeda9307e85", + "reference": "e440d35fa0286f77fb45b79a03fedbeda9307e85", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.26-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php73\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php73/tree/v1.26.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-24T11:49:31+00:00" + }, + { + "name": "symfony/polyfill-php80", + "version": "v1.26.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php80.git", + "reference": "cfa0ae98841b9e461207c13ab093d76b0fa7bace" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/cfa0ae98841b9e461207c13ab093d76b0fa7bace", + "reference": "cfa0ae98841b9e461207c13ab093d76b0fa7bace", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.26-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php80\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ion Bazan", + "email": "ion.bazan@gmail.com" + }, + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php80/tree/v1.26.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-10T07:21:04+00:00" + }, + { + "name": "symfony/polyfill-php81", + "version": "v1.26.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php81.git", + "reference": "13f6d1271c663dc5ae9fb843a8f16521db7687a1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/13f6d1271c663dc5ae9fb843a8f16521db7687a1", + "reference": "13f6d1271c663dc5ae9fb843a8f16521db7687a1", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.26-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php81\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php81/tree/v1.26.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-24T11:49:31+00:00" + }, + { + "name": "symfony/process", + "version": "v5.4.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/process.git", + "reference": "597f3fff8e3e91836bb0bd38f5718b56ddbde2f3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/process/zipball/597f3fff8e3e91836bb0bd38f5718b56ddbde2f3", + "reference": "597f3fff8e3e91836bb0bd38f5718b56ddbde2f3", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/polyfill-php80": "^1.16" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Process\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Executes commands in sub-processes", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/process/tree/v5.4.8" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-04-08T05:07:18+00:00" + }, + { + "name": "symfony/routing", + "version": "v5.4.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/routing.git", + "reference": "e07817bb6244ea33ef5ad31abc4a9288bef3f2f7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/routing/zipball/e07817bb6244ea33ef5ad31abc4a9288bef3f2f7", + "reference": "e07817bb6244ea33ef5ad31abc4a9288bef3f2f7", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-php80": "^1.16" + }, + "conflict": { + "doctrine/annotations": "<1.12", + "symfony/config": "<5.3", + "symfony/dependency-injection": "<4.4", + "symfony/yaml": "<4.4" + }, + "require-dev": { + "doctrine/annotations": "^1.12", + "psr/log": "^1|^2|^3", + "symfony/config": "^5.3|^6.0", + "symfony/dependency-injection": "^4.4|^5.0|^6.0", + "symfony/expression-language": "^4.4|^5.0|^6.0", + "symfony/http-foundation": "^4.4|^5.0|^6.0", + "symfony/yaml": "^4.4|^5.0|^6.0" + }, + "suggest": { + "symfony/config": "For using the all-in-one router or any loader", + "symfony/expression-language": "For using expression matching", + "symfony/http-foundation": "For using a Symfony Request object", + "symfony/yaml": "For using the YAML loader" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Routing\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Maps an HTTP request to a set of configuration variables", + "homepage": "https://symfony.com", + "keywords": [ + "router", + "routing", + "uri", + "url" + ], + "support": { + "source": "https://github.com/symfony/routing/tree/v5.4.8" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-04-18T21:45:37+00:00" + }, + { + "name": "symfony/service-contracts", + "version": "v2.5.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/service-contracts.git", + "reference": "24d9dc654b83e91aa59f9d167b131bc3b5bea24c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/24d9dc654b83e91aa59f9d167b131bc3b5bea24c", + "reference": "24d9dc654b83e91aa59f9d167b131bc3b5bea24c", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "psr/container": "^1.1", + "symfony/deprecation-contracts": "^2.1|^3" + }, + "conflict": { + "ext-psr": "<1.1|>=2" + }, + "suggest": { + "symfony/service-implementation": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.5-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\Service\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to writing services", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/service-contracts/tree/v2.5.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-03-13T20:07:29+00:00" + }, + { + "name": "symfony/stopwatch", + "version": "v5.4.5", + "source": { + "type": "git", + "url": "https://github.com/symfony/stopwatch.git", + "reference": "4d04b5c24f3c9a1a168a131f6cbe297155bc0d30" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/4d04b5c24f3c9a1a168a131f6cbe297155bc0d30", + "reference": "4d04b5c24f3c9a1a168a131f6cbe297155bc0d30", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/service-contracts": "^1|^2|^3" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Stopwatch\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides a way to profile code", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/stopwatch/tree/v5.4.5" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-02-18T16:06:09+00:00" + }, + { + "name": "symfony/string", + "version": "v5.4.9", + "source": { + "type": "git", + "url": "https://github.com/symfony/string.git", + "reference": "985e6a9703ef5ce32ba617c9c7d97873bb7b2a99" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/string/zipball/985e6a9703ef5ce32ba617c9c7d97873bb7b2a99", + "reference": "985e6a9703ef5ce32ba617c9c7d97873bb7b2a99", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-intl-grapheme": "~1.0", + "symfony/polyfill-intl-normalizer": "~1.0", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php80": "~1.15" + }, + "conflict": { + "symfony/translation-contracts": ">=3.0" + }, + "require-dev": { + "symfony/error-handler": "^4.4|^5.0|^6.0", + "symfony/http-client": "^4.4|^5.0|^6.0", + "symfony/translation-contracts": "^1.1|^2", + "symfony/var-exporter": "^4.4|^5.0|^6.0" + }, + "type": "library", + "autoload": { + "files": [ + "Resources/functions.php" + ], + "psr-4": { + "Symfony\\Component\\String\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", + "homepage": "https://symfony.com", + "keywords": [ + "grapheme", + "i18n", + "string", + "unicode", + "utf-8", + "utf8" + ], + "support": { + "source": "https://github.com/symfony/string/tree/v5.4.9" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-04-19T10:40:37+00:00" + }, + { + "name": "symfony/translation", + "version": "v5.4.9", + "source": { + "type": "git", + "url": "https://github.com/symfony/translation.git", + "reference": "1639abc1177d26bcd4320e535e664cef067ab0ca" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/translation/zipball/1639abc1177d26bcd4320e535e664cef067ab0ca", + "reference": "1639abc1177d26bcd4320e535e664cef067ab0ca", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php80": "^1.16", + "symfony/translation-contracts": "^2.3" + }, + "conflict": { + "symfony/config": "<4.4", + "symfony/console": "<5.3", + "symfony/dependency-injection": "<5.0", + "symfony/http-kernel": "<5.0", + "symfony/twig-bundle": "<5.0", + "symfony/yaml": "<4.4" + }, + "provide": { + "symfony/translation-implementation": "2.3" + }, + "require-dev": { + "psr/log": "^1|^2|^3", + "symfony/config": "^4.4|^5.0|^6.0", + "symfony/console": "^5.4|^6.0", + "symfony/dependency-injection": "^5.0|^6.0", + "symfony/finder": "^4.4|^5.0|^6.0", + "symfony/http-client-contracts": "^1.1|^2.0|^3.0", + "symfony/http-kernel": "^5.0|^6.0", + "symfony/intl": "^4.4|^5.0|^6.0", + "symfony/polyfill-intl-icu": "^1.21", + "symfony/service-contracts": "^1.1.2|^2|^3", + "symfony/yaml": "^4.4|^5.0|^6.0" + }, + "suggest": { + "psr/log-implementation": "To use logging capability in translator", + "symfony/config": "", + "symfony/yaml": "" + }, + "type": "library", + "autoload": { + "files": [ + "Resources/functions.php" + ], + "psr-4": { + "Symfony\\Component\\Translation\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides tools to internationalize your application", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/translation/tree/v5.4.9" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-06T12:33:37+00:00" + }, + { + "name": "symfony/translation-contracts", + "version": "v2.5.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/translation-contracts.git", + "reference": "1211df0afa701e45a04253110e959d4af4ef0f07" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/1211df0afa701e45a04253110e959d4af4ef0f07", + "reference": "1211df0afa701e45a04253110e959d4af4ef0f07", + "shasum": "" + }, + "require": { + "php": ">=7.2.5" + }, + "suggest": { + "symfony/translation-implementation": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.5-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\Translation\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to translation", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/translation-contracts/tree/v2.5.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-01-02T09:53:40+00:00" + }, + { + "name": "symfony/var-dumper", + "version": "v5.4.9", + "source": { + "type": "git", + "url": "https://github.com/symfony/var-dumper.git", + "reference": "af52239a330fafd192c773795520dc2dd62b5657" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/af52239a330fafd192c773795520dc2dd62b5657", + "reference": "af52239a330fafd192c773795520dc2dd62b5657", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php80": "^1.16" + }, + "conflict": { + "phpunit/phpunit": "<5.4.3", + "symfony/console": "<4.4" + }, + "require-dev": { + "ext-iconv": "*", + "symfony/console": "^4.4|^5.0|^6.0", + "symfony/process": "^4.4|^5.0|^6.0", + "symfony/uid": "^5.1|^6.0", + "twig/twig": "^2.13|^3.0.4" + }, + "suggest": { + "ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).", + "ext-intl": "To show region name in time zone dump", + "symfony/console": "To use the ServerDumpCommand and/or the bin/var-dump-server script" + }, + "bin": [ + "Resources/bin/var-dump-server" + ], + "type": "library", + "autoload": { + "files": [ + "Resources/functions/dump.php" + ], + "psr-4": { + "Symfony\\Component\\VarDumper\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides mechanisms for walking through any arbitrary PHP variable", + "homepage": "https://symfony.com", + "keywords": [ + "debug", + "dump" + ], + "support": { + "source": "https://github.com/symfony/var-dumper/tree/v5.4.9" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-21T10:24:18+00:00" + }, + { + "name": "symfony/yaml", + "version": "v5.4.3", + "source": { + "type": "git", + "url": "https://github.com/symfony/yaml.git", + "reference": "e80f87d2c9495966768310fc531b487ce64237a2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/yaml/zipball/e80f87d2c9495966768310fc531b487ce64237a2", + "reference": "e80f87d2c9495966768310fc531b487ce64237a2", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-ctype": "^1.8" + }, + "conflict": { + "symfony/console": "<5.3" + }, + "require-dev": { + "symfony/console": "^5.3|^6.0" + }, + "suggest": { + "symfony/console": "For validating YAML files using the lint command" + }, + "bin": [ + "Resources/bin/yaml-lint" + ], + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Yaml\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Loads and dumps YAML files", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/yaml/tree/v5.4.3" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-01-26T16:32:32+00:00" + }, + { + "name": "theseer/tokenizer", + "version": "1.2.1", + "source": { + "type": "git", + "url": "https://github.com/theseer/tokenizer.git", + "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e", + "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-tokenizer": "*", + "ext-xmlwriter": "*", + "php": "^7.2 || ^8.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + } + ], + "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", + "support": { + "issues": "https://github.com/theseer/tokenizer/issues", + "source": "https://github.com/theseer/tokenizer/tree/1.2.1" + }, + "funding": [ + { + "url": "https://github.com/theseer", + "type": "github" + } + ], + "time": "2021-07-28T10:34:58+00:00" + }, + { + "name": "tijsverkoyen/css-to-inline-styles", + "version": "2.2.4", + "source": { + "type": "git", + "url": "https://github.com/tijsverkoyen/CssToInlineStyles.git", + "reference": "da444caae6aca7a19c0c140f68c6182e337d5b1c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/da444caae6aca7a19c0c140f68c6182e337d5b1c", + "reference": "da444caae6aca7a19c0c140f68c6182e337d5b1c", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-libxml": "*", + "php": "^5.5 || ^7.0 || ^8.0", + "symfony/css-selector": "^2.7 || ^3.0 || ^4.0 || ^5.0 || ^6.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0 || ^7.5 || ^8.5.21 || ^9.5.10" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.2.x-dev" + } + }, + "autoload": { + "psr-4": { + "TijsVerkoyen\\CssToInlineStyles\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Tijs Verkoyen", + "email": "css_to_inline_styles@verkoyen.eu", + "role": "Developer" + } + ], + "description": "CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.", + "homepage": "https://github.com/tijsverkoyen/CssToInlineStyles", + "support": { + "issues": "https://github.com/tijsverkoyen/CssToInlineStyles/issues", + "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/2.2.4" + }, + "time": "2021-12-08T09:12:39+00:00" + }, + { + "name": "vlucas/phpdotenv", + "version": "v5.4.1", + "source": { + "type": "git", + "url": "https://github.com/vlucas/phpdotenv.git", + "reference": "264dce589e7ce37a7ba99cb901eed8249fbec92f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/264dce589e7ce37a7ba99cb901eed8249fbec92f", + "reference": "264dce589e7ce37a7ba99cb901eed8249fbec92f", + "shasum": "" + }, + "require": { + "ext-pcre": "*", + "graham-campbell/result-type": "^1.0.2", + "php": "^7.1.3 || ^8.0", + "phpoption/phpoption": "^1.8", + "symfony/polyfill-ctype": "^1.23", + "symfony/polyfill-mbstring": "^1.23.1", + "symfony/polyfill-php80": "^1.23.1" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.4.1", + "ext-filter": "*", + "phpunit/phpunit": "^7.5.20 || ^8.5.21 || ^9.5.10" + }, + "suggest": { + "ext-filter": "Required to use the boolean validator." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.4-dev" + } + }, + "autoload": { + "psr-4": { + "Dotenv\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Vance Lucas", + "email": "vance@vancelucas.com", + "homepage": "https://github.com/vlucas" + } + ], + "description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.", + "keywords": [ + "dotenv", + "env", + "environment" + ], + "support": { + "issues": "https://github.com/vlucas/phpdotenv/issues", + "source": "https://github.com/vlucas/phpdotenv/tree/v5.4.1" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/vlucas/phpdotenv", + "type": "tidelift" + } + ], + "time": "2021-12-12T23:22:04+00:00" + }, + { + "name": "voku/portable-ascii", + "version": "1.6.1", + "source": { + "type": "git", + "url": "https://github.com/voku/portable-ascii.git", + "reference": "87337c91b9dfacee02452244ee14ab3c43bc485a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/voku/portable-ascii/zipball/87337c91b9dfacee02452244ee14ab3c43bc485a", + "reference": "87337c91b9dfacee02452244ee14ab3c43bc485a", + "shasum": "" + }, + "require": { + "php": ">=7.0.0" + }, + "require-dev": { + "phpunit/phpunit": "~6.0 || ~7.0 || ~9.0" + }, + "suggest": { + "ext-intl": "Use Intl for transliterator_transliterate() support" + }, + "type": "library", + "autoload": { + "psr-4": { + "voku\\": "src/voku/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Lars Moelleken", + "homepage": "http://www.moelleken.org/" + } + ], + "description": "Portable ASCII library - performance optimized (ascii) string functions for php.", + "homepage": "https://github.com/voku/portable-ascii", + "keywords": [ + "ascii", + "clean", + "php" + ], + "support": { + "issues": "https://github.com/voku/portable-ascii/issues", + "source": "https://github.com/voku/portable-ascii/tree/1.6.1" + }, + "funding": [ + { + "url": "https://www.paypal.me/moelleken", + "type": "custom" + }, + { + "url": "https://github.com/voku", + "type": "github" + }, + { + "url": "https://opencollective.com/portable-ascii", + "type": "open_collective" + }, + { + "url": "https://www.patreon.com/voku", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/voku/portable-ascii", + "type": "tidelift" + } + ], + "time": "2022-01-24T18:55:24+00:00" + }, + { + "name": "webmozart/assert", + "version": "1.11.0", + "source": { + "type": "git", + "url": "https://github.com/webmozarts/assert.git", + "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/webmozarts/assert/zipball/11cb2199493b2f8a3b53e7f19068fc6aac760991", + "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991", + "shasum": "" + }, + "require": { + "ext-ctype": "*", + "php": "^7.2 || ^8.0" + }, + "conflict": { + "phpstan/phpstan": "<0.12.20", + "vimeo/psalm": "<4.6.1 || 4.6.2" + }, + "require-dev": { + "phpunit/phpunit": "^8.5.13" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.10-dev" + } + }, + "autoload": { + "psr-4": { + "Webmozart\\Assert\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Assertions to validate method input/output with nice error messages.", + "keywords": [ + "assert", + "check", + "validate" + ], + "support": { + "issues": "https://github.com/webmozarts/assert/issues", + "source": "https://github.com/webmozarts/assert/tree/1.11.0" + }, + "time": "2022-06-03T18:03:27+00:00" + }, + { + "name": "zbateson/mail-mime-parser", + "version": "2.2.1", + "source": { + "type": "git", + "url": "https://github.com/zbateson/mail-mime-parser.git", + "reference": "24955de7ec352b3258c1d4551efd21202cb8710c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/zbateson/mail-mime-parser/zipball/24955de7ec352b3258c1d4551efd21202cb8710c", + "reference": "24955de7ec352b3258c1d4551efd21202cb8710c", + "shasum": "" + }, + "require": { + "guzzlehttp/psr7": "^1.7.0|^2.0", + "php": ">=5.4", + "pimple/pimple": "^3.0", + "zbateson/mb-wrapper": "^1.0.1", + "zbateson/stream-decorators": "^1.0.6" + }, + "require-dev": { + "mikey179/vfsstream": "^1.6.0", + "sanmai/phpunit-legacy-adapter": "^6.3 || ^8.2" + }, + "suggest": { + "ext-iconv": "For best support/performance", + "ext-mbstring": "For best support/performance" + }, + "type": "library", + "autoload": { + "psr-4": { + "ZBateson\\MailMimeParser\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-2-Clause" + ], + "authors": [ + { + "name": "Zaahid Bateson" + }, + { + "name": "Contributors", + "homepage": "https://github.com/zbateson/mail-mime-parser/graphs/contributors" + } + ], + "description": "MIME email message parser", + "homepage": "https://mail-mime-parser.org", + "keywords": [ + "MimeMailParser", + "email", + "mail", + "mailparse", + "mime", + "mimeparse", + "parser", + "php-imap" + ], + "support": { + "docs": "https://mail-mime-parser.org/#usage-guide", + "issues": "https://github.com/zbateson/mail-mime-parser/issues", + "source": "https://github.com/zbateson/mail-mime-parser" + }, + "funding": [ + { + "url": "https://github.com/zbateson", + "type": "github" + } + ], + "time": "2022-02-22T21:35:59+00:00" + }, + { + "name": "zbateson/mb-wrapper", + "version": "1.1.2", + "source": { + "type": "git", + "url": "https://github.com/zbateson/mb-wrapper.git", + "reference": "5d9d190ef18ce6d424e3ac6f5ebe13901f92b74a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/zbateson/mb-wrapper/zipball/5d9d190ef18ce6d424e3ac6f5ebe13901f92b74a", + "reference": "5d9d190ef18ce6d424e3ac6f5ebe13901f92b74a", + "shasum": "" + }, + "require": { + "php": ">=5.4", + "symfony/polyfill-iconv": "^1.9", + "symfony/polyfill-mbstring": "^1.9" + }, + "require-dev": { + "sanmai/phpunit-legacy-adapter": "^6.3 || ^8" + }, + "suggest": { + "ext-iconv": "For best support/performance", + "ext-mbstring": "For best support/performance" + }, + "type": "library", + "autoload": { + "psr-4": { + "ZBateson\\MbWrapper\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-2-Clause" + ], + "authors": [ + { + "name": "Zaahid Bateson" + } + ], + "description": "Wrapper for mbstring with fallback to iconv for encoding conversion and string manipulation", + "keywords": [ + "charset", + "encoding", + "http", + "iconv", + "mail", + "mb", + "mb_convert_encoding", + "mbstring", + "mime", + "multibyte", + "string" + ], + "support": { + "issues": "https://github.com/zbateson/mb-wrapper/issues", + "source": "https://github.com/zbateson/mb-wrapper/tree/1.1.2" + }, + "funding": [ + { + "url": "https://github.com/zbateson", + "type": "github" + } + ], + "time": "2022-05-26T15:55:05+00:00" + }, + { + "name": "zbateson/stream-decorators", + "version": "1.0.6", + "source": { + "type": "git", + "url": "https://github.com/zbateson/stream-decorators.git", + "reference": "3403c4323bd1cd15fe54348b031b26b064c706af" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/zbateson/stream-decorators/zipball/3403c4323bd1cd15fe54348b031b26b064c706af", + "reference": "3403c4323bd1cd15fe54348b031b26b064c706af", + "shasum": "" + }, + "require": { + "guzzlehttp/psr7": "^1.7.0|^2.0", + "php": ">=5.4", + "zbateson/mb-wrapper": "^1.0.0" + }, + "require-dev": { + "sanmai/phpunit-legacy-adapter": "^6.3 || ^8" + }, + "type": "library", + "autoload": { + "psr-4": { + "ZBateson\\StreamDecorators\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-2-Clause" + ], + "authors": [ + { + "name": "Zaahid Bateson" + } + ], + "description": "PHP psr7 stream decorators for mime message part streams", + "keywords": [ + "base64", + "charset", + "decorators", + "mail", + "mime", + "psr7", + "quoted-printable", + "stream", + "uuencode" + ], + "support": { + "issues": "https://github.com/zbateson/stream-decorators/issues", + "source": "https://github.com/zbateson/stream-decorators/tree/1.0.6" + }, + "funding": [ + { + "url": "https://github.com/zbateson", + "type": "github" + } + ], + "time": "2021-07-08T19:01:59+00:00" + } + ], + "aliases": [], + "minimum-stability": "stable", + "stability-flags": [], + "prefer-stable": false, + "prefer-lowest": false, + "platform": { + "ext-curl": "^7.3", + "php": "^7.3" + }, + "platform-dev": [], + "plugin-api-version": "2.2.0" +} diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-CrmApiV2.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-CrmApiV2.html new file mode 100644 index 0000000..a74a44c --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-CrmApiV2.html @@ -0,0 +1,807 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
+

CRM V2

+ + + + + +
+ +
+
+ + + + +
+ + +
+

+ CrmApiV2 + + +
+ in package + +
+ + +

+ + + +

This is the main class to interact with the CRM

+ + + + + + + + + +

+ Table of Contents + +

+ +
+
+ $apiInterface + +  : ApiInterface +
+
The Api object that will handle requests and responses
+ +
+ __construct() + +  : mixed +
+
CrmApiV2
+ +
+ getCustomer() + +  : Customer|null +
+
Get a customer from its hashcode or email +If it does not exists a new instance +will be returned. You would have +to call its save method later on.
+ +
+ getCustomerOrNew() + +  : Customer +
+
Get a customer from its hashcode or email +If it does not exists a new instance +will be returned. You would have +to call its save method later on.
+ +
+ login() + +  : bool +
+
Test a customer credentials to see if it can login
+ +
+ ping() + +  : bool +
+
Use this the ping the crm and know its current status
+ +
+ setStatus() + +  : bool +
+
Set the single optin status for an email
+ +
+ + + + + + +
+

+ Properties + +

+
+

+ $apiInterface + + + +

+ + +

The Api object that will handle requests and responses

+ + + private + static ApiInterface + $apiInterface + + + + + + +
+
+ +
+

+ Methods + +

+
+

+ __construct() + +

+ + +

CrmApiV2

+ + + public + __construct([string|null $endpoint = null ][, string|null $bearerToken = null ][, string|null $bearerPwd = null ]) : mixed + + +
Parameters
+
+
+ $endpoint + : string|null + = null
+
+ +
+
+ $bearerToken + : string|null + = null
+
+ +
+
+ $bearerPwd + : string|null + = null
+
+ +
+
+ + + +
Return values
+ mixed + — + + +
+
+

+ getCustomer() + +

+ + +

Get a customer from its hashcode or email +If it does not exists a new instance +will be returned. You would have +to call its save method later on.

+ + + public + getCustomer(string $identification) : Customer|null + + +
Parameters
+
+
+ $identification + : string +
+
+

The customer hashcode or email.

+
+ +
+
+ + +
+ Tags + +
+
+
+ throws +
+
+ CrmException + +

If an error occurs on server side or on getting response.

+
+ +
+
+ throws +
+
+ ApiErrorException + +

If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found.

+
+ +
+
+ phpcs:ignore +
+
+ +

Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

+
+ +
+
+ +
Return values
+ Customer|null + — +

Return null if the customer was not found

+
+ + +
+
+

+ getCustomerOrNew() + +

+ + +

Get a customer from its hashcode or email +If it does not exists a new instance +will be returned. You would have +to call its save method later on.

+ + + public + getCustomerOrNew(string $identification) : Customer + + +
Parameters
+
+
+ $identification + : string +
+
+

The customer hashcode or email.

+
+ +
+
+ + +
+ Tags + +
+
+
+ throws +
+
+ CrmException + +

If an error occurs on server side or on getting response.

+
+ +
+
+ throws +
+
+ ApiErrorException + +

If any error or \LDC\LDCCRM\Enums\ApiError occurs.

+
+ +
+
+ phpcs:ignore +
+
+ +

Squiz.Commenting.FunctionComment.EmptyThrows

+
+ +
+
+ +
Return values
+ Customer + — +

A client Customer model.

+
+ + +
+
+

+ login() + +

+ + +

Test a customer credentials to see if it can login

+ + + public + static login(string $email, string $password) : bool + + +
Parameters
+
+
+ $email + : string +
+
+ +
+
+ $password + : string +
+
+ +
+
+ + +
+ Tags + +
+
+
+ throws +
+
+ CrmException + +

If an error occurs on server side or on getting response.

+
+ +
+
+ throws +
+
+ ApiErrorException + +

If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - authFailed, If credentials are not valid. +- customerNotActivated, If the account is not activated.

+
+ +
+
+ phpcs:ignore +
+
+ +

Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

+
+ +
+
+ +
Return values
+ bool + — + + +
+
+

+ ping() + +

+ + +

Use this the ping the crm and know its current status

+ + + public + ping() : bool + + + + +
+ Tags + +
+
+
+ throws +
+
+ CrmException + +

If an error occurs +on server side or on getting response.

+
+ +
+
+ +
Return values
+ bool + — + + +
+
+

+ setStatus() + +

+ + +

Set the single optin status for an email

+ + + public + static setStatus(string $email, bool $opt_in) : bool + + +
Parameters
+
+
+ $email + : string +
+
+ +
+
+ $opt_in + : bool +
+
+ +
+
+ + +
+ Tags + +
+
+
+ throws +
+
+ CrmException + +

If an error occurs on server side or on getting response.

+
+ +
+
+ throws +
+
+ ApiErrorException + +

If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - singleOptinCustomerExists, If a customer exists with this email.

+
+ +
+
+ phpcs:ignore +
+
+ +

Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

+
+ +
+
+ +
Return values
+ bool + — +

true if succeeded

+
+ + +
+
+ + + + +
+
+
+
+

Search results

+ +
+
+
    +
    +
    +
    +
    +
    + + +
    + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-ApiError.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-ApiError.html new file mode 100644 index 0000000..f463e80 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-ApiError.html @@ -0,0 +1,906 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
    +

    CRM V2

    + + + + + +
    + +
    +
    + + + + +
    + + +
    +

    + ApiError + + + extends BaseEnum + + +
    + in package + +
    + + +

    + + + +

    This describes an API error.

    + + + +
    + Tags + +
    +
    +
    + subpackage +
    +
    + +

    enums

    +
    + +
    +
    + + + + + + +

    + Table of Contents + +

    + +
    +
    + apiAuthFailed() + +  : +
    +
    + +
    + authFailed() + +  : +
    +
    + +
    + authorizationException() + +  : +
    +
    + +
    + customerAlreadyActive() + +  : +
    +
    + +
    + customerExists() + +  : +
    +
    + +
    + customerNotActivated() + +  : +
    +
    + +
    + labels() + +  : array<string|int, mixed> +
    +
    Libellés des possibilités de cet énumération (label)
    + +
    + methodNotAllowed() + +  : +
    +
    + +
    + missingParameter() + +  : +
    +
    + +
    + modelNotFound() + +  : +
    +
    + +
    + singleOptinCustomerExists() + +  : +
    +
    + +
    + throttleRequestsException() + +  : +
    +
    + +
    + validationFailed() + +  : +
    +
    + +
    + values() + +  : array<string|int, mixed> +
    +
    Valeurs des possibilités de cet énumération (value)
    + +
    + wrongTimeStamp() + +  : +
    +
    + +
    + + + + + + + +
    +

    + Methods + +

    +
    +

    + apiAuthFailed() + +

    + + + + + public + static apiAuthFailed() : + +

    The authentification to the api failed. You may have to +check into config or .env file for your service credentials

    +
    + + + + +
    Return values
    + + — + + +
    +
    +

    + authFailed() + +

    + + + + + public + static authFailed() : + +

    The authentification for this customer failed because of wrong credentials

    +
    + + + + +
    Return values
    + + — + + +
    +
    +

    + authorizationException() + +

    + + + + + public + static authorizationException() : + +

    You are maybe trying to access data that is out of your range. +This should not happen normally, it is here to allow you to handle this case. +If this happens fill a ticket on https://supportweb.ldc.fr +with some technical details

    +
    + + + + +
    Return values
    + + — + + +
    +
    +

    + customerAlreadyActive() + +

    + + + + + public + static customerAlreadyActive() : + +

    You have requested to activate a customer account, +but it is already active

    +
    + + + + +
    Return values
    + + — + + +
    +
    +

    + customerExists() + +

    + + + + + public + static customerExists() : + +

    The customer already exists

    +
    + + + + +
    Return values
    + + — + + +
    +
    +

    + customerNotActivated() + +

    + + + + + public + static customerNotActivated() : + +

    The customer account is not activated and cannot perform +this action

    +
    + + + + +
    Return values
    + + — + + +
    +
    +

    + labels() + +

    + + +

    Libellés des possibilités de cet énumération (label)

    + + + public + static labels() : array<string|int, mixed> + + + + + +
    Return values
    + array<string|int, mixed> + — + + +
    +
    +

    + methodNotAllowed() + +

    + + + + + public + static methodNotAllowed() : + +

    This http method is not allowed

    +
    + + + + +
    Return values
    + + — + + +
    +
    +

    + missingParameter() + +

    + + + + + public + static missingParameter() : + +

    The request is missing some parameters

    +
    + + + + +
    Return values
    + + — + + +
    +
    +

    + modelNotFound() + +

    + + + + + public + static modelNotFound() : + +

    The request model was not found (typically the customer)

    +
    + + + + +
    Return values
    + + — + + +
    +
    +

    + singleOptinCustomerExists() + +

    + + + + + public + static singleOptinCustomerExists() : + +

    You have requested to create a single optin for an email, +but it already exists

    +
    + + + + +
    Return values
    + + — + + +
    +
    +

    + throttleRequestsException() + +

    + + + + + public + static throttleRequestsException() : + +

    Too many requests have been attempted. The is a throttle security. +Normally you should not trigger this. +If this happens fill a ticket on https://supportweb.ldc.fr +with some technical details

    +
    + + + + +
    Return values
    + + — + + +
    +
    +

    + validationFailed() + +

    + + + + + public + static validationFailed() : + +

    This means some data could not be validated, +you may have to look into message to get the details

    +
    + + + + +
    Return values
    + + — + + +
    +
    +

    + values() + +

    + + +

    Valeurs des possibilités de cet énumération (value)

    + + + public + static values() : array<string|int, mixed> + + + + + +
    Return values
    + array<string|int, mixed> + — + + +
    +
    +

    + wrongTimeStamp() + +

    + + + + + public + static wrongTimeStamp() : + +

    The timestamp given is wrong. This would happen in case if +a replay attack scenario. Timestamps are provided in headers +and in the http body

    +
    + + + + +
    Return values
    + + — + + +
    +
    + + + + +
    +
    +
    +
    +

    Search results

    + +
    +
    +
      +
      +
      +
      +
      +
      + + +
      + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-ApiStatus.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-ApiStatus.html new file mode 100644 index 0000000..25185da --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-ApiStatus.html @@ -0,0 +1,357 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
      +

      CRM V2

      + + + + + +
      + +
      +
      + + + + +
      + + +
      +

      + ApiStatus + + + extends BaseEnum + + +
      + in package + +
      + + +

      + + + + + + +
      + Tags + +
      +
      +
      + subpackage +
      +
      + +

      enums

      +
      + +
      +
      + + + + + + +

      + Table of Contents + +

      + +
      +
      + KO() + +  : +
      +
      + +
      + OK() + +  : +
      +
      + +
      + + + + + + + +
      +

      + Methods + +

      +
      +

      + KO() + +

      + + + + + public + static KO() : + + + + + +
      Return values
      + + — + + +
      +
      +

      + OK() + +

      + + + + + public + static OK() : + + + + + +
      Return values
      + + — + + +
      +
      + + + + +
      +
      +
      +
      +

      Search results

      + +
      +
      +
        +
        +
        +
        +
        +
        + + +
        + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-ArcadiaMailType.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-ArcadiaMailType.html new file mode 100644 index 0000000..4a9897c --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-ArcadiaMailType.html @@ -0,0 +1,397 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
        +

        CRM V2

        + + + + + +
        + +
        +
        + + + + +
        + + +
        +

        + ArcadiaMailType + + + extends BaseEnum + + +
        + in package + +
        + + +

        + + + + + + +
        + Tags + +
        +
        +
        + subpackage +
        +
        + +

        enums

        +
        + +
        +
        + + + + + + +

        + Table of Contents + +

        + +
        +
        + default() + +  : +
        +
        + +
        + game() + +  : +
        +
        + +
        + values() + +  : array<string|int, mixed> +
        +
        Valeurs des possibilités de cet énumération (value)
        + +
        + + + + + + + +
        +

        + Methods + +

        +
        +

        + default() + +

        + + + + + public + static default() : + + + + + +
        Return values
        + + — + + +
        +
        +

        + game() + +

        + + + + + public + static game() : + + + + + +
        Return values
        + + — + + +
        +
        +

        + values() + +

        + + +

        Valeurs des possibilités de cet énumération (value)

        + + + public + static values() : array<string|int, mixed> + + + + + +
        Return values
        + array<string|int, mixed> + — + + +
        +
        + + + + +
        +
        +
        +
        +

        Search results

        + +
        +
        +
          +
          +
          +
          +
          +
          + + +
          + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-ArcadiaOrderType.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-ArcadiaOrderType.html new file mode 100644 index 0000000..4f25195 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-ArcadiaOrderType.html @@ -0,0 +1,397 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
          +

          CRM V2

          + + + + + +
          + +
          +
          + + + + +
          + + +
          +

          + ArcadiaOrderType + + + extends BaseEnum + + +
          + in package + +
          + + +

          + + + + + + +
          + Tags + +
          +
          +
          + subpackage +
          +
          + +

          enums

          +
          + +
          +
          + + + + + + +

          + Table of Contents + +

          + +
          +
          + cb() + +  : +
          +
          + +
          + check() + +  : +
          +
          + +
          + values() + +  : array<string|int, mixed> +
          +
          Valeurs des possibilités de cet énumération (value)
          + +
          + + + + + + + +
          +

          + Methods + +

          +
          +

          + cb() + +

          + + + + + public + static cb() : + + + + + +
          Return values
          + + — + + +
          +
          +

          + check() + +

          + + + + + public + static check() : + + + + + +
          Return values
          + + — + + +
          +
          +

          + values() + +

          + + +

          Valeurs des possibilités de cet énumération (value)

          + + + public + static values() : array<string|int, mixed> + + + + + +
          Return values
          + array<string|int, mixed> + — + + +
          +
          + + + + +
          +
          +
          +
          +

          Search results

          + +
          +
          +
            +
            +
            +
            +
            +
            + + +
            + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-Country.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-Country.html new file mode 100644 index 0000000..92ebd08 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-Country.html @@ -0,0 +1,10078 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
            +

            CRM V2

            + + + + + +
            + +
            +
            + + + + +
            + + +
            +

            + Country + + + extends BaseEnum + + +
            + in package + +
            + + +

            + + + +

            Liste de Pays

            + + + +
            + Tags + +
            +
            +
            + source +
            +
            + + +
            +
            + subpackage +
            +
            + +

            enums

            +
            + +
            +
            + + + + + + +

            + Table of Contents + +

            + +
            +
            + afghanistan() + +  : +
            +
            + +
            + alandIslands() + +  : +
            +
            + +
            + albania() + +  : +
            +
            + +
            + algeria() + +  : +
            +
            + +
            + americanSamoa() + +  : +
            +
            + +
            + andorra() + +  : +
            +
            + +
            + angola() + +  : +
            +
            + +
            + anguilla() + +  : +
            +
            + +
            + antarctica() + +  : +
            +
            + +
            + antiguaAndBarbuda() + +  : +
            +
            + +
            + argentina() + +  : +
            +
            + +
            + armenia() + +  : +
            +
            + +
            + aruba() + +  : +
            +
            + +
            + australia() + +  : +
            +
            + +
            + austria() + +  : +
            +
            + +
            + azerbaijan() + +  : +
            +
            + +
            + bahamas() + +  : +
            +
            + +
            + bahrain() + +  : +
            +
            + +
            + bangladesh() + +  : +
            +
            + +
            + barbados() + +  : +
            +
            + +
            + belarus() + +  : +
            +
            + +
            + belgium() + +  : +
            +
            + +
            + belize() + +  : +
            +
            + +
            + benin() + +  : +
            +
            + +
            + bermuda() + +  : +
            +
            + +
            + bhutan() + +  : +
            +
            + +
            + boliviaPlurinationalStateOf() + +  : +
            +
            + +
            + bonaireSintEustatiusAndSaba() + +  : +
            +
            + +
            + bosniaAndHerzegovina() + +  : +
            +
            + +
            + botswana() + +  : +
            +
            + +
            + bouvetIsland() + +  : +
            +
            + +
            + brazil() + +  : +
            +
            + +
            + britishIndianOceanTerritory() + +  : +
            +
            + +
            + bruneiDarussalam() + +  : +
            +
            + +
            + bulgaria() + +  : +
            +
            + +
            + burkinaFaso() + +  : +
            +
            + +
            + burundi() + +  : +
            +
            + +
            + cambodia() + +  : +
            +
            + +
            + cameroon() + +  : +
            +
            + +
            + canada() + +  : +
            +
            + +
            + capeVerde() + +  : +
            +
            + +
            + caymanIslands() + +  : +
            +
            + +
            + centralAfricanRepublic() + +  : +
            +
            + +
            + chad() + +  : +
            +
            + +
            + chile() + +  : +
            +
            + +
            + china() + +  : +
            +
            + +
            + christmasIsland() + +  : +
            +
            + +
            + cocosKeelingIslands() + +  : +
            +
            + +
            + colombia() + +  : +
            +
            + +
            + comoros() + +  : +
            +
            + +
            + congo() + +  : +
            +
            + +
            + congoTheDemocraticRepublicOfThe() + +  : +
            +
            + +
            + cookIslands() + +  : +
            +
            + +
            + costaRica() + +  : +
            +
            + +
            + coteDivoire() + +  : +
            +
            + +
            + croatia() + +  : +
            +
            + +
            + cuba() + +  : +
            +
            + +
            + curacao() + +  : +
            +
            + +
            + cyprus() + +  : +
            +
            + +
            + czechRepublic() + +  : +
            +
            + +
            + denmark() + +  : +
            +
            + +
            + djibouti() + +  : +
            +
            + +
            + dominica() + +  : +
            +
            + +
            + dominicanRepublic() + +  : +
            +
            + +
            + ecuador() + +  : +
            +
            + +
            + egypt() + +  : +
            +
            + +
            + elSalvador() + +  : +
            +
            + +
            + equatorialGuinea() + +  : +
            +
            + +
            + eritrea() + +  : +
            +
            + +
            + estonia() + +  : +
            +
            + +
            + ethiopia() + +  : +
            +
            + +
            + falklandIslandsMalvinas() + +  : +
            +
            + +
            + faroeIslands() + +  : +
            +
            + +
            + fiji() + +  : +
            +
            + +
            + finland() + +  : +
            +
            + +
            + france() + +  : +
            +
            + +
            + frenchGuiana() + +  : +
            +
            + +
            + frenchPolynesia() + +  : +
            +
            + +
            + frenchSouthernTerritories() + +  : +
            +
            + +
            + gabon() + +  : +
            +
            + +
            + gambia() + +  : +
            +
            + +
            + georgia() + +  : +
            +
            + +
            + germany() + +  : +
            +
            + +
            + ghana() + +  : +
            +
            + +
            + gibraltar() + +  : +
            +
            + +
            + greece() + +  : +
            +
            + +
            + greenland() + +  : +
            +
            + +
            + grenada() + +  : +
            +
            + +
            + guadeloupe() + +  : +
            +
            + +
            + guam() + +  : +
            +
            + +
            + guatemala() + +  : +
            +
            + +
            + guernsey() + +  : +
            +
            + +
            + guinea() + +  : +
            +
            + +
            + guineaBissau() + +  : +
            +
            + +
            + guyana() + +  : +
            +
            + +
            + haiti() + +  : +
            +
            + +
            + heardIslandAndMcdonaldIslands() + +  : +
            +
            + +
            + holySeeVaticanCityState() + +  : +
            +
            + +
            + honduras() + +  : +
            +
            + +
            + hongKong() + +  : +
            +
            + +
            + hungary() + +  : +
            +
            + +
            + iceland() + +  : +
            +
            + +
            + india() + +  : +
            +
            + +
            + indonesia() + +  : +
            +
            + +
            + iranIslamicRepublicOf() + +  : +
            +
            + +
            + iraq() + +  : +
            +
            + +
            + ireland() + +  : +
            +
            + +
            + isleOfMan() + +  : +
            +
            + +
            + israel() + +  : +
            +
            + +
            + italy() + +  : +
            +
            + +
            + jamaica() + +  : +
            +
            + +
            + japan() + +  : +
            +
            + +
            + jersey() + +  : +
            +
            + +
            + jordan() + +  : +
            +
            + +
            + kazakhstan() + +  : +
            +
            + +
            + kenya() + +  : +
            +
            + +
            + kiribati() + +  : +
            +
            + +
            + koreaDemocraticPeoplesRepublicOf() + +  : +
            +
            + +
            + koreaRepublicOf() + +  : +
            +
            + +
            + kuwait() + +  : +
            +
            + +
            + kyrgyzstan() + +  : +
            +
            + +
            + labels() + +  : array<string|int, mixed> +
            +
            Libellés des possibilités de cet énumération (label)
            + +
            + laoPeoplesDemocraticRepublic() + +  : +
            +
            + +
            + latvia() + +  : +
            +
            + +
            + lebanon() + +  : +
            +
            + +
            + lesotho() + +  : +
            +
            + +
            + liberia() + +  : +
            +
            + +
            + libya() + +  : +
            +
            + +
            + liechtenstein() + +  : +
            +
            + +
            + lithuania() + +  : +
            +
            + +
            + luxembourg() + +  : +
            +
            + +
            + macao() + +  : +
            +
            + +
            + macedoniaTheFormerYugoslavRepublicOf() + +  : +
            +
            + +
            + madagascar() + +  : +
            +
            + +
            + malawi() + +  : +
            +
            + +
            + malaysia() + +  : +
            +
            + +
            + maldives() + +  : +
            +
            + +
            + mali() + +  : +
            +
            + +
            + malta() + +  : +
            +
            + +
            + marshallIslands() + +  : +
            +
            + +
            + martinique() + +  : +
            +
            + +
            + mauritania() + +  : +
            +
            + +
            + mauritius() + +  : +
            +
            + +
            + mayotte() + +  : +
            +
            + +
            + mexico() + +  : +
            +
            + +
            + micronesiaFederatedStatesOf() + +  : +
            +
            + +
            + moldovaRepublicOf() + +  : +
            +
            + +
            + monaco() + +  : +
            +
            + +
            + mongolia() + +  : +
            +
            + +
            + montenegro() + +  : +
            +
            + +
            + montserrat() + +  : +
            +
            + +
            + morocco() + +  : +
            +
            + +
            + mozambique() + +  : +
            +
            + +
            + myanmar() + +  : +
            +
            + +
            + namibia() + +  : +
            +
            + +
            + nauru() + +  : +
            +
            + +
            + nepal() + +  : +
            +
            + +
            + netherlands() + +  : +
            +
            + +
            + newCaledonia() + +  : +
            +
            + +
            + newZealand() + +  : +
            +
            + +
            + nicaragua() + +  : +
            +
            + +
            + niger() + +  : +
            +
            + +
            + nigeria() + +  : +
            +
            + +
            + niue() + +  : +
            +
            + +
            + norfolkIsland() + +  : +
            +
            + +
            + northernMarianaIslands() + +  : +
            +
            + +
            + norway() + +  : +
            +
            + +
            + oman() + +  : +
            +
            + +
            + pakistan() + +  : +
            +
            + +
            + palau() + +  : +
            +
            + +
            + palestineStateOf() + +  : +
            +
            + +
            + panama() + +  : +
            +
            + +
            + papuaNewGuinea() + +  : +
            +
            + +
            + paraguay() + +  : +
            +
            + +
            + peru() + +  : +
            +
            + +
            + philippines() + +  : +
            +
            + +
            + pitcairn() + +  : +
            +
            + +
            + poland() + +  : +
            +
            + +
            + portugal() + +  : +
            +
            + +
            + puertoRico() + +  : +
            +
            + +
            + qatar() + +  : +
            +
            + +
            + reunion() + +  : +
            +
            + +
            + romania() + +  : +
            +
            + +
            + russianFederation() + +  : +
            +
            + +
            + rwanda() + +  : +
            +
            + +
            + saintBarthelemy() + +  : +
            +
            + +
            + saintHelenaAscensionAndTristanDaCunha() + +  : +
            +
            + +
            + saintKittsAndNevis() + +  : +
            +
            + +
            + saintLucia() + +  : +
            +
            + +
            + saintMartinFrenchPart() + +  : +
            +
            + +
            + saintPierreAndMiquelon() + +  : +
            +
            + +
            + saintVincentAndTheGrenadines() + +  : +
            +
            + +
            + samoa() + +  : +
            +
            + +
            + sanMarino() + +  : +
            +
            + +
            + saoTomeAndPrincipe() + +  : +
            +
            + +
            + saudiArabia() + +  : +
            +
            + +
            + senegal() + +  : +
            +
            + +
            + serbia() + +  : +
            +
            + +
            + seychelles() + +  : +
            +
            + +
            + sierraLeone() + +  : +
            +
            + +
            + singapore() + +  : +
            +
            + +
            + sintMaartenDutchPart() + +  : +
            +
            + +
            + slovakia() + +  : +
            +
            + +
            + slovenia() + +  : +
            +
            + +
            + solomonIslands() + +  : +
            +
            + +
            + somalia() + +  : +
            +
            + +
            + southAfrica() + +  : +
            +
            + +
            + southGeorgiaAndTheSouthSandwichIslands() + +  : +
            +
            + +
            + southSudan() + +  : +
            +
            + +
            + spain() + +  : +
            +
            + +
            + sriLanka() + +  : +
            +
            + +
            + sudan() + +  : +
            +
            + +
            + suriname() + +  : +
            +
            + +
            + svalbardAndJanMayen() + +  : +
            +
            + +
            + swaziland() + +  : +
            +
            + +
            + sweden() + +  : +
            +
            + +
            + switzerland() + +  : +
            +
            + +
            + syrianArabRepublic() + +  : +
            +
            + +
            + taiwanProvinceOfChina() + +  : +
            +
            + +
            + tajikistan() + +  : +
            +
            + +
            + tanzaniaUnitedRepublicOf() + +  : +
            +
            + +
            + thailand() + +  : +
            +
            + +
            + timorLeste() + +  : +
            +
            + +
            + togo() + +  : +
            +
            + +
            + tokelau() + +  : +
            +
            + +
            + tonga() + +  : +
            +
            + +
            + trinidadAndTobago() + +  : +
            +
            + +
            + tunisia() + +  : +
            +
            + +
            + turkey() + +  : +
            +
            + +
            + turkmenistan() + +  : +
            +
            + +
            + turksAndCaicosIslands() + +  : +
            +
            + +
            + tuvalu() + +  : +
            +
            + +
            + uganda() + +  : +
            +
            + +
            + ukraine() + +  : +
            +
            + +
            + unitedArabEmirates() + +  : +
            +
            + +
            + unitedKingdom() + +  : +
            +
            + +
            + unitedStates() + +  : +
            +
            + +
            + unitedStatesMinorOutlyingIslands() + +  : +
            +
            + +
            + uruguay() + +  : +
            +
            + +
            + uzbekistan() + +  : +
            +
            + +
            + values() + +  : array<string|int, mixed> +
            +
            Valeurs des possibilités de cet énumération (value)
            + +
            + vanuatu() + +  : +
            +
            + +
            + venezuelaBolivarianRepublicOf() + +  : +
            +
            + +
            + vietNam() + +  : +
            +
            + +
            + virginIslandsBritish() + +  : +
            +
            + +
            + virginIslandsUs() + +  : +
            +
            + +
            + wallisAndFutuna() + +  : +
            +
            + +
            + westernSahara() + +  : +
            +
            + +
            + yemen() + +  : +
            +
            + +
            + zambia() + +  : +
            +
            + +
            + zimbabwe() + +  : +
            +
            + +
            + + + + + + + +
            +

            + Methods + +

            +
            +

            + afghanistan() + +

            + + + + + public + static afghanistan() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + alandIslands() + +

            + + + + + public + static alandIslands() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + albania() + +

            + + + + + public + static albania() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + algeria() + +

            + + + + + public + static algeria() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + americanSamoa() + +

            + + + + + public + static americanSamoa() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + andorra() + +

            + + + + + public + static andorra() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + angola() + +

            + + + + + public + static angola() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + anguilla() + +

            + + + + + public + static anguilla() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + antarctica() + +

            + + + + + public + static antarctica() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + antiguaAndBarbuda() + +

            + + + + + public + static antiguaAndBarbuda() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + argentina() + +

            + + + + + public + static argentina() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + armenia() + +

            + + + + + public + static armenia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + aruba() + +

            + + + + + public + static aruba() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + australia() + +

            + + + + + public + static australia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + austria() + +

            + + + + + public + static austria() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + azerbaijan() + +

            + + + + + public + static azerbaijan() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + bahamas() + +

            + + + + + public + static bahamas() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + bahrain() + +

            + + + + + public + static bahrain() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + bangladesh() + +

            + + + + + public + static bangladesh() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + barbados() + +

            + + + + + public + static barbados() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + belarus() + +

            + + + + + public + static belarus() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + belgium() + +

            + + + + + public + static belgium() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + belize() + +

            + + + + + public + static belize() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + benin() + +

            + + + + + public + static benin() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + bermuda() + +

            + + + + + public + static bermuda() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + bhutan() + +

            + + + + + public + static bhutan() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + boliviaPlurinationalStateOf() + +

            + + + + + public + static boliviaPlurinationalStateOf() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + bonaireSintEustatiusAndSaba() + +

            + + + + + public + static bonaireSintEustatiusAndSaba() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + bosniaAndHerzegovina() + +

            + + + + + public + static bosniaAndHerzegovina() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + botswana() + +

            + + + + + public + static botswana() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + bouvetIsland() + +

            + + + + + public + static bouvetIsland() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + brazil() + +

            + + + + + public + static brazil() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + britishIndianOceanTerritory() + +

            + + + + + public + static britishIndianOceanTerritory() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + bruneiDarussalam() + +

            + + + + + public + static bruneiDarussalam() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + bulgaria() + +

            + + + + + public + static bulgaria() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + burkinaFaso() + +

            + + + + + public + static burkinaFaso() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + burundi() + +

            + + + + + public + static burundi() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + cambodia() + +

            + + + + + public + static cambodia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + cameroon() + +

            + + + + + public + static cameroon() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + canada() + +

            + + + + + public + static canada() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + capeVerde() + +

            + + + + + public + static capeVerde() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + caymanIslands() + +

            + + + + + public + static caymanIslands() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + centralAfricanRepublic() + +

            + + + + + public + static centralAfricanRepublic() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + chad() + +

            + + + + + public + static chad() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + chile() + +

            + + + + + public + static chile() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + china() + +

            + + + + + public + static china() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + christmasIsland() + +

            + + + + + public + static christmasIsland() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + cocosKeelingIslands() + +

            + + + + + public + static cocosKeelingIslands() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + colombia() + +

            + + + + + public + static colombia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + comoros() + +

            + + + + + public + static comoros() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + congo() + +

            + + + + + public + static congo() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + congoTheDemocraticRepublicOfThe() + +

            + + + + + public + static congoTheDemocraticRepublicOfThe() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + cookIslands() + +

            + + + + + public + static cookIslands() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + costaRica() + +

            + + + + + public + static costaRica() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + coteDivoire() + +

            + + + + + public + static coteDivoire() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + croatia() + +

            + + + + + public + static croatia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + cuba() + +

            + + + + + public + static cuba() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + curacao() + +

            + + + + + public + static curacao() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + cyprus() + +

            + + + + + public + static cyprus() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + czechRepublic() + +

            + + + + + public + static czechRepublic() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + denmark() + +

            + + + + + public + static denmark() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + djibouti() + +

            + + + + + public + static djibouti() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + dominica() + +

            + + + + + public + static dominica() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + dominicanRepublic() + +

            + + + + + public + static dominicanRepublic() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + ecuador() + +

            + + + + + public + static ecuador() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + egypt() + +

            + + + + + public + static egypt() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + elSalvador() + +

            + + + + + public + static elSalvador() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + equatorialGuinea() + +

            + + + + + public + static equatorialGuinea() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + eritrea() + +

            + + + + + public + static eritrea() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + estonia() + +

            + + + + + public + static estonia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + ethiopia() + +

            + + + + + public + static ethiopia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + falklandIslandsMalvinas() + +

            + + + + + public + static falklandIslandsMalvinas() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + faroeIslands() + +

            + + + + + public + static faroeIslands() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + fiji() + +

            + + + + + public + static fiji() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + finland() + +

            + + + + + public + static finland() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + france() + +

            + + + + + public + static france() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + frenchGuiana() + +

            + + + + + public + static frenchGuiana() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + frenchPolynesia() + +

            + + + + + public + static frenchPolynesia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + frenchSouthernTerritories() + +

            + + + + + public + static frenchSouthernTerritories() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + gabon() + +

            + + + + + public + static gabon() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + gambia() + +

            + + + + + public + static gambia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + georgia() + +

            + + + + + public + static georgia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + germany() + +

            + + + + + public + static germany() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + ghana() + +

            + + + + + public + static ghana() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + gibraltar() + +

            + + + + + public + static gibraltar() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + greece() + +

            + + + + + public + static greece() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + greenland() + +

            + + + + + public + static greenland() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + grenada() + +

            + + + + + public + static grenada() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + guadeloupe() + +

            + + + + + public + static guadeloupe() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + guam() + +

            + + + + + public + static guam() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + guatemala() + +

            + + + + + public + static guatemala() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + guernsey() + +

            + + + + + public + static guernsey() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + guinea() + +

            + + + + + public + static guinea() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + guineaBissau() + +

            + + + + + public + static guineaBissau() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + guyana() + +

            + + + + + public + static guyana() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + haiti() + +

            + + + + + public + static haiti() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + heardIslandAndMcdonaldIslands() + +

            + + + + + public + static heardIslandAndMcdonaldIslands() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + holySeeVaticanCityState() + +

            + + + + + public + static holySeeVaticanCityState() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + honduras() + +

            + + + + + public + static honduras() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + hongKong() + +

            + + + + + public + static hongKong() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + hungary() + +

            + + + + + public + static hungary() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + iceland() + +

            + + + + + public + static iceland() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + india() + +

            + + + + + public + static india() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + indonesia() + +

            + + + + + public + static indonesia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + iranIslamicRepublicOf() + +

            + + + + + public + static iranIslamicRepublicOf() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + iraq() + +

            + + + + + public + static iraq() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + ireland() + +

            + + + + + public + static ireland() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + isleOfMan() + +

            + + + + + public + static isleOfMan() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + israel() + +

            + + + + + public + static israel() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + italy() + +

            + + + + + public + static italy() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + jamaica() + +

            + + + + + public + static jamaica() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + japan() + +

            + + + + + public + static japan() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + jersey() + +

            + + + + + public + static jersey() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + jordan() + +

            + + + + + public + static jordan() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + kazakhstan() + +

            + + + + + public + static kazakhstan() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + kenya() + +

            + + + + + public + static kenya() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + kiribati() + +

            + + + + + public + static kiribati() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + koreaDemocraticPeoplesRepublicOf() + +

            + + + + + public + static koreaDemocraticPeoplesRepublicOf() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + koreaRepublicOf() + +

            + + + + + public + static koreaRepublicOf() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + kuwait() + +

            + + + + + public + static kuwait() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + kyrgyzstan() + +

            + + + + + public + static kyrgyzstan() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + labels() + +

            + + +

            Libellés des possibilités de cet énumération (label)

            + + + public + static labels() : array<string|int, mixed> + + + + + +
            Return values
            + array<string|int, mixed> + — + + +
            +
            +

            + laoPeoplesDemocraticRepublic() + +

            + + + + + public + static laoPeoplesDemocraticRepublic() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + latvia() + +

            + + + + + public + static latvia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + lebanon() + +

            + + + + + public + static lebanon() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + lesotho() + +

            + + + + + public + static lesotho() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + liberia() + +

            + + + + + public + static liberia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + libya() + +

            + + + + + public + static libya() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + liechtenstein() + +

            + + + + + public + static liechtenstein() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + lithuania() + +

            + + + + + public + static lithuania() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + luxembourg() + +

            + + + + + public + static luxembourg() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + macao() + +

            + + + + + public + static macao() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + macedoniaTheFormerYugoslavRepublicOf() + +

            + + + + + public + static macedoniaTheFormerYugoslavRepublicOf() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + madagascar() + +

            + + + + + public + static madagascar() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + malawi() + +

            + + + + + public + static malawi() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + malaysia() + +

            + + + + + public + static malaysia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + maldives() + +

            + + + + + public + static maldives() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + mali() + +

            + + + + + public + static mali() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + malta() + +

            + + + + + public + static malta() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + marshallIslands() + +

            + + + + + public + static marshallIslands() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + martinique() + +

            + + + + + public + static martinique() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + mauritania() + +

            + + + + + public + static mauritania() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + mauritius() + +

            + + + + + public + static mauritius() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + mayotte() + +

            + + + + + public + static mayotte() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + mexico() + +

            + + + + + public + static mexico() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + micronesiaFederatedStatesOf() + +

            + + + + + public + static micronesiaFederatedStatesOf() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + moldovaRepublicOf() + +

            + + + + + public + static moldovaRepublicOf() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + monaco() + +

            + + + + + public + static monaco() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + mongolia() + +

            + + + + + public + static mongolia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + montenegro() + +

            + + + + + public + static montenegro() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + montserrat() + +

            + + + + + public + static montserrat() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + morocco() + +

            + + + + + public + static morocco() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + mozambique() + +

            + + + + + public + static mozambique() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + myanmar() + +

            + + + + + public + static myanmar() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + namibia() + +

            + + + + + public + static namibia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + nauru() + +

            + + + + + public + static nauru() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + nepal() + +

            + + + + + public + static nepal() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + netherlands() + +

            + + + + + public + static netherlands() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + newCaledonia() + +

            + + + + + public + static newCaledonia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + newZealand() + +

            + + + + + public + static newZealand() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + nicaragua() + +

            + + + + + public + static nicaragua() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + niger() + +

            + + + + + public + static niger() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + nigeria() + +

            + + + + + public + static nigeria() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + niue() + +

            + + + + + public + static niue() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + norfolkIsland() + +

            + + + + + public + static norfolkIsland() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + northernMarianaIslands() + +

            + + + + + public + static northernMarianaIslands() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + norway() + +

            + + + + + public + static norway() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + oman() + +

            + + + + + public + static oman() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + pakistan() + +

            + + + + + public + static pakistan() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + palau() + +

            + + + + + public + static palau() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + palestineStateOf() + +

            + + + + + public + static palestineStateOf() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + panama() + +

            + + + + + public + static panama() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + papuaNewGuinea() + +

            + + + + + public + static papuaNewGuinea() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + paraguay() + +

            + + + + + public + static paraguay() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + peru() + +

            + + + + + public + static peru() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + philippines() + +

            + + + + + public + static philippines() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + pitcairn() + +

            + + + + + public + static pitcairn() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + poland() + +

            + + + + + public + static poland() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + portugal() + +

            + + + + + public + static portugal() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + puertoRico() + +

            + + + + + public + static puertoRico() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + qatar() + +

            + + + + + public + static qatar() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + reunion() + +

            + + + + + public + static reunion() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + romania() + +

            + + + + + public + static romania() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + russianFederation() + +

            + + + + + public + static russianFederation() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + rwanda() + +

            + + + + + public + static rwanda() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + saintBarthelemy() + +

            + + + + + public + static saintBarthelemy() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + saintHelenaAscensionAndTristanDaCunha() + +

            + + + + + public + static saintHelenaAscensionAndTristanDaCunha() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + saintKittsAndNevis() + +

            + + + + + public + static saintKittsAndNevis() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + saintLucia() + +

            + + + + + public + static saintLucia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + saintMartinFrenchPart() + +

            + + + + + public + static saintMartinFrenchPart() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + saintPierreAndMiquelon() + +

            + + + + + public + static saintPierreAndMiquelon() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + saintVincentAndTheGrenadines() + +

            + + + + + public + static saintVincentAndTheGrenadines() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + samoa() + +

            + + + + + public + static samoa() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + sanMarino() + +

            + + + + + public + static sanMarino() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + saoTomeAndPrincipe() + +

            + + + + + public + static saoTomeAndPrincipe() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + saudiArabia() + +

            + + + + + public + static saudiArabia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + senegal() + +

            + + + + + public + static senegal() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + serbia() + +

            + + + + + public + static serbia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + seychelles() + +

            + + + + + public + static seychelles() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + sierraLeone() + +

            + + + + + public + static sierraLeone() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + singapore() + +

            + + + + + public + static singapore() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + sintMaartenDutchPart() + +

            + + + + + public + static sintMaartenDutchPart() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + slovakia() + +

            + + + + + public + static slovakia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + slovenia() + +

            + + + + + public + static slovenia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + solomonIslands() + +

            + + + + + public + static solomonIslands() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + somalia() + +

            + + + + + public + static somalia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + southAfrica() + +

            + + + + + public + static southAfrica() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + southGeorgiaAndTheSouthSandwichIslands() + +

            + + + + + public + static southGeorgiaAndTheSouthSandwichIslands() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + southSudan() + +

            + + + + + public + static southSudan() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + spain() + +

            + + + + + public + static spain() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + sriLanka() + +

            + + + + + public + static sriLanka() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + sudan() + +

            + + + + + public + static sudan() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + suriname() + +

            + + + + + public + static suriname() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + svalbardAndJanMayen() + +

            + + + + + public + static svalbardAndJanMayen() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + swaziland() + +

            + + + + + public + static swaziland() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + sweden() + +

            + + + + + public + static sweden() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + switzerland() + +

            + + + + + public + static switzerland() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + syrianArabRepublic() + +

            + + + + + public + static syrianArabRepublic() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + taiwanProvinceOfChina() + +

            + + + + + public + static taiwanProvinceOfChina() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + tajikistan() + +

            + + + + + public + static tajikistan() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + tanzaniaUnitedRepublicOf() + +

            + + + + + public + static tanzaniaUnitedRepublicOf() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + thailand() + +

            + + + + + public + static thailand() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + timorLeste() + +

            + + + + + public + static timorLeste() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + togo() + +

            + + + + + public + static togo() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + tokelau() + +

            + + + + + public + static tokelau() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + tonga() + +

            + + + + + public + static tonga() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + trinidadAndTobago() + +

            + + + + + public + static trinidadAndTobago() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + tunisia() + +

            + + + + + public + static tunisia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + turkey() + +

            + + + + + public + static turkey() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + turkmenistan() + +

            + + + + + public + static turkmenistan() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + turksAndCaicosIslands() + +

            + + + + + public + static turksAndCaicosIslands() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + tuvalu() + +

            + + + + + public + static tuvalu() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + uganda() + +

            + + + + + public + static uganda() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + ukraine() + +

            + + + + + public + static ukraine() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + unitedArabEmirates() + +

            + + + + + public + static unitedArabEmirates() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + unitedKingdom() + +

            + + + + + public + static unitedKingdom() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + unitedStates() + +

            + + + + + public + static unitedStates() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + unitedStatesMinorOutlyingIslands() + +

            + + + + + public + static unitedStatesMinorOutlyingIslands() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + uruguay() + +

            + + + + + public + static uruguay() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + uzbekistan() + +

            + + + + + public + static uzbekistan() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + values() + +

            + + +

            Valeurs des possibilités de cet énumération (value)

            + + + public + static values() : array<string|int, mixed> + + + + + +
            Return values
            + array<string|int, mixed> + — + + +
            +
            +

            + vanuatu() + +

            + + + + + public + static vanuatu() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + venezuelaBolivarianRepublicOf() + +

            + + + + + public + static venezuelaBolivarianRepublicOf() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + vietNam() + +

            + + + + + public + static vietNam() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + virginIslandsBritish() + +

            + + + + + public + static virginIslandsBritish() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + virginIslandsUs() + +

            + + + + + public + static virginIslandsUs() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + wallisAndFutuna() + +

            + + + + + public + static wallisAndFutuna() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + westernSahara() + +

            + + + + + public + static westernSahara() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + yemen() + +

            + + + + + public + static yemen() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + zambia() + +

            + + + + + public + static zambia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + zimbabwe() + +

            + + + + + public + static zimbabwe() : + + + + + +
            Return values
            + + — + + +
            +
            + + + + +
            +
            +
            +
            +

            Search results

            + +
            +
            +
              +
              +
              +
              +
              +
              + + +
              + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-LogLevel.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-LogLevel.html new file mode 100644 index 0000000..eddb0e8 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-LogLevel.html @@ -0,0 +1,647 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
              +

              CRM V2

              + + + + + +
              + +
              +
              + + + + +
              + + +
              +

              + LogLevel + + + extends BaseEnum + + +
              + in package + +
              + + +

              + + + + + + +
              + Tags + +
              +
              +
              + subpackage +
              +
              + +

              enums

              +
              + +
              +
              + + + + + + +

              + Table of Contents + +

              + +
              +
              + ALERT() + +  : +
              +
              + +
              + CRIT() + +  : +
              +
              + +
              + DEBUG() + +  : +
              +
              + +
              + EMERG() + +  : +
              +
              + +
              + ERR() + +  : +
              +
              + +
              + INFO() + +  : +
              +
              + +
              + NOTICE() + +  : +
              +
              + +
              + WARNING() + +  : +
              +
              + +
              + values() + +  : array<string|int, mixed> +
              +
              Valeurs des possibilités de cet énumération (value)
              + +
              + + + + + + + +
              +

              + Methods + +

              +
              +

              + ALERT() + +

              + + + + + public + static ALERT() : + +

              action must be taken immediately

              +
              + + + + +
              Return values
              + + — + + +
              +
              +

              + CRIT() + +

              + + + + + public + static CRIT() : + +

              critical conditions

              +
              + + + + +
              Return values
              + + — + + +
              +
              +

              + DEBUG() + +

              + + + + + public + static DEBUG() : + +

              debug-level message

              +
              + + + + +
              Return values
              + + — + + +
              +
              +

              + EMERG() + +

              + + + + + public + static EMERG() : + +

              system is unusable

              +
              + + + + +
              Return values
              + + — + + +
              +
              +

              + ERR() + +

              + + + + + public + static ERR() : + +

              critical conditions

              +
              + + + + +
              Return values
              + + — + + +
              +
              +

              + INFO() + +

              + + + + + public + static INFO() : + +

              informational message

              +
              + + + + +
              Return values
              + + — + + +
              +
              +

              + NOTICE() + +

              + + + + + public + static NOTICE() : + +

              normal, but significant, condition

              +
              + + + + +
              Return values
              + + — + + +
              +
              +

              + WARNING() + +

              + + + + + public + static WARNING() : + +

              critical conditions

              +
              + + + + +
              Return values
              + + — + + +
              +
              +

              + values() + +

              + + +

              Valeurs des possibilités de cet énumération (value)

              + + + protected + static values() : array<string|int, mixed> + + + + + +
              Return values
              + array<string|int, mixed> + — + + +
              +
              + + + + +
              +
              +
              +
              +

              Search results

              + +
              +
              +
                +
                +
                +
                +
                +
                + + +
                + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-QuestionType.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-QuestionType.html new file mode 100644 index 0000000..d18f6cb --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-QuestionType.html @@ -0,0 +1,436 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                +

                CRM V2

                + + + + + +
                + +
                +
                + + + + +
                + + +
                +

                + QuestionType + + + extends BaseEnum + + +
                + in package + +
                + + +

                + + + + + + +
                + Tags + +
                +
                +
                + subpackage +
                +
                + +

                enums

                +
                + +
                +
                + + + + + + +

                + Table of Contents + +

                + +
                +
                + checkbox() + +  : +
                +
                + +
                + radio() + +  : +
                +
                + +
                + select() + +  : +
                +
                + +
                + values() + +  : array<string|int, mixed> +
                +
                Valeurs des possibilités de cet énumération (value)
                + +
                + + + + + + + +
                +

                + Methods + +

                +
                +

                + checkbox() + +

                + + + + + public + static checkbox() : + + + + + +
                Return values
                + + — + + +
                +
                +

                + radio() + +

                + + + + + public + static radio() : + + + + + +
                Return values
                + + — + + +
                +
                +

                + select() + +

                + + + + + public + static select() : + + + + + +
                Return values
                + + — + + +
                +
                +

                + values() + +

                + + +

                Valeurs des possibilités de cet énumération (value)

                + + + public + static values() : array<string|int, mixed> + + + + + +
                Return values
                + array<string|int, mixed> + — + + +
                +
                + + + + +
                +
                +
                +
                +

                Search results

                + +
                +
                +
                  +
                  +
                  +
                  +
                  +
                  + + +
                  + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-AccessError.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-AccessError.html new file mode 100644 index 0000000..bb0244b --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-AccessError.html @@ -0,0 +1,341 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                  +

                  CRM V2

                  + + + + + +
                  + +
                  +
                  + + + + +
                  + + +
                  +

                  + AccessError + + + extends Error + + +
                  + in package + +
                  + + +

                  + + + +

                  This is thrown when trying to set a value on an object property that does not exist.

                  + + + +
                  + Tags + +
                  +
                  +
                  + subpackage +
                  +
                  + +

                  exceptions

                  +
                  + +
                  +
                  + + + + + + +

                  + Table of Contents + +

                  + +
                  +
                  + __construct() + +  : mixed +
                  +
                  AccessError
                  + +
                  + + + + + + + +
                  +

                  + Methods + +

                  +
                  +

                  + __construct() + +

                  + + +

                  AccessError

                  + + + public + __construct(string $objectName, string $propertyName) : mixed + + +
                  Parameters
                  +
                  +
                  + $objectName + : string +
                  +
                  +

                  The object name where the property does not exist.

                  +
                  + +
                  +
                  + $propertyName + : string +
                  +
                  +

                  The property name that does not exist.

                  +
                  + +
                  +
                  + + + +
                  Return values
                  + mixed + — + + +
                  +
                  + + + + +
                  +
                  +
                  +
                  +

                  Search results

                  + +
                  +
                  +
                    +
                    +
                    +
                    +
                    +
                    + + +
                    + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-ApiErrorException.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-ApiErrorException.html new file mode 100644 index 0000000..1442ff7 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-ApiErrorException.html @@ -0,0 +1,630 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                    +

                    CRM V2

                    + + + + + +
                    + +
                    +
                    + + + + +
                    + + +
                    +

                    + ApiErrorException + + + extends Exception + + +
                    + in package + +
                    + + +

                    + + + +

                    This would be thrown if any of the case +referenced in \LDC\LDCCRM\Enums\ApiError would +occur within the crm

                    + +

                    On the client an ApiErrorException would +also be throw with the ApiError corresponding to +the situation

                    +
                    + + +
                    + Tags + +
                    +
                    +
                    + subpackage +
                    +
                    + +

                    exceptions

                    +
                    + +
                    +
                    + + + + + + +

                    + Table of Contents + +

                    + +
                    +
                    + $error + +  : ApiError +
                    +
                    Api Error +This value makes the error more explicit.
                    + +
                    + $httpCode + +  : int +
                    +
                    This is the http code returned by the crm.
                    + +
                    + $message + +  : string +
                    +
                    This is an explicit error message, +ou may print this to the front or not depending +on $error value
                    + +
                    + __construct() + +  : mixed +
                    +
                    Create a new exception base on ApiError enum.
                    + +
                    + getApiError() + +  : ApiError +
                    +
                    Get the Api Error
                    + +
                    + getStatusCode() + +  : int +
                    +
                    Get the http code
                    + +
                    + report() + +  : void +
                    +
                    This is used by laravel only.
                    + +
                    + + + + + + +
                    +

                    + Properties + +

                    +
                    +

                    + $error + + + +

                    + + +

                    Api Error +This value makes the error more explicit.

                    + + + protected + ApiError + $error + + +

                    Handling these errors are normal as inputs or +request may be undesired or refused by the crm.

                    +
                    + + + + +
                    +
                    +

                    + $httpCode + + + +

                    + + +

                    This is the http code returned by the crm.

                    + + + protected + int + $httpCode + + +

                    This value could be used to handle errors. +But please take in consideration $error first

                    +
                    + + + + +
                    +
                    +

                    + $message + + + +

                    + + +

                    This is an explicit error message, +ou may print this to the front or not depending +on $error value

                    + + + protected + string + $message + + + + + + +
                    +
                    + +
                    +

                    + Methods + +

                    +
                    +

                    + __construct() + +

                    + + +

                    Create a new exception base on ApiError enum.

                    + + + public + __construct(ApiError $error[, int $httpCode = 400 ][, string $message = '' ][, Throwable|null $previous = null ]) : mixed + + +
                    Parameters
                    +
                    +
                    + $error + : ApiError +
                    +
                    + +
                    +
                    + $httpCode + : int + = 400
                    +
                    + +
                    +
                    + $message + : string + = ''
                    +
                    + +
                    +
                    + $previous + : Throwable|null + = null
                    +
                    + +
                    +
                    + + + +
                    Return values
                    + mixed + — + + +
                    + +
                    +

                    + getStatusCode() + +

                    + + +

                    Get the http code

                    + + + public + getStatusCode() : int + + + + + +
                    Return values
                    + int + — + + +
                    +
                    +

                    + report() + +

                    + + +

                    This is used by laravel only.

                    + + + public + report() : void + +

                    It uses Log class to print the error.

                    +
                    + + + +
                    + Tags + +
                    +
                    +
                    + codeCoverageIgnore +
                    +
                    + + +
                    +
                    + +
                    Return values
                    + void + — + + +
                    +
                    + + + + +
                    +
                    +
                    +
                    +

                    Search results

                    + +
                    +
                    +
                      +
                      +
                      +
                      +
                      +
                      + + +
                      + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-CrmException.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-CrmException.html new file mode 100644 index 0000000..f80e475 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-CrmException.html @@ -0,0 +1,332 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                      +

                      CRM V2

                      + + + + + +
                      + +
                      +
                      + + + + +
                      + + +
                      +

                      + CrmException + + + extends Exception + + +
                      + in package + +
                      + + +

                      + + + +

                      This is a critical error.

                      + +

                      The request could not be handled. You may dump any value you can +get before submitting a ticker to https://supportweb.ldc.fr

                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + subpackage +
                      +
                      + +

                      exceptions

                      +
                      + +
                      +
                      + codeCoverageIgnore +
                      +
                      + + +
                      +
                      + + + + + + +

                      + Table of Contents + +

                      + +
                      +
                      + report() + +  : void +
                      +
                      This is used by laravel only.
                      + +
                      + + + + + + + +
                      +

                      + Methods + +

                      +
                      +

                      + report() + +

                      + + +

                      This is used by laravel only.

                      + + + public + report() : void + +

                      It uses Log class to print the error.

                      +
                      + + + + +
                      Return values
                      + void + — + + +
                      +
                      + + + + +
                      +
                      +
                      +
                      +

                      Search results

                      + +
                      +
                      +
                        +
                        +
                        +
                        +
                        +
                        + + +
                        + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-SkipValidationException.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-SkipValidationException.html new file mode 100644 index 0000000..8f9d192 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-SkipValidationException.html @@ -0,0 +1,267 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                        +

                        CRM V2

                        + + + + + +
                        + +
                        +
                        + + + + +
                        + + +
                        +

                        + SkipValidationException + + + extends Exception + + +
                        + in package + +
                        + + +

                        + + + +

                        Used only for internal validator

                        + + + +
                        + Tags + +
                        +
                        +
                        + subpackage +
                        +
                        + +

                        exceptions

                        +
                        + +
                        +
                        + + + + + + + + + + + + + + + + + +
                        +
                        +
                        +
                        +

                        Search results

                        + +
                        +
                        +
                          +
                          +
                          +
                          +
                          +
                          + + +
                          + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-ValidationException.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-ValidationException.html new file mode 100644 index 0000000..38efae7 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-ValidationException.html @@ -0,0 +1,330 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                          +

                          CRM V2

                          + + + + + +
                          + +
                          +
                          + + + + +
                          + + +
                          +

                          + ValidationException + + + extends Exception + + +
                          + in package + +
                          + + +

                          + + + +

                          This would be thrown if a data could not be validated +on any models

                          + + + +
                          + Tags + +
                          +
                          +
                          + subpackage +
                          +
                          + +

                          exceptions

                          +
                          + +
                          +
                          + codeCoverageIgnore +
                          +
                          + + +
                          +
                          + + + + + + +

                          + Table of Contents + +

                          + +
                          +
                          + report() + +  : void +
                          +
                          This is used by laravel only.
                          + +
                          + + + + + + + +
                          +

                          + Methods + +

                          +
                          +

                          + report() + +

                          + + +

                          This is used by laravel only.

                          + + + public + report() : void + +

                          It uses Log class to print the error.

                          +
                          + + + + +
                          Return values
                          + void + — + + +
                          +
                          + + + + +
                          +
                          +
                          +
                          +

                          Search results

                          + +
                          +
                          +
                            +
                            +
                            +
                            +
                            +
                            + + +
                            + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-WpCrmInvalidJsonUserInfo.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-WpCrmInvalidJsonUserInfo.html new file mode 100644 index 0000000..772bff7 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-WpCrmInvalidJsonUserInfo.html @@ -0,0 +1,332 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                            +

                            CRM V2

                            + + + + + +
                            + +
                            +
                            + + + + +
                            + + +
                            +

                            + WpCrmInvalidJsonUserInfo + + + extends Error + + +
                            + in package + +
                            + + +

                            + + + +

                            This is thrown when trying to read WP customer from DB json data.

                            + + + +
                            + Tags + +
                            +
                            +
                            + subpackage +
                            +
                            + +

                            exceptions

                            +
                            + +
                            +
                            + + + + + + +

                            + Table of Contents + +

                            + +
                            +
                            + __construct() + +  : mixed +
                            +
                            WpCrmInvalidJsonUserInfo
                            + +
                            + + + + + + + +
                            +

                            + Methods + +

                            +
                            +

                            + __construct() + +

                            + + +

                            WpCrmInvalidJsonUserInfo

                            + + + public + __construct(string $message) : mixed + + +
                            Parameters
                            +
                            +
                            + $message + : string +
                            +
                            +

                            The error message.

                            +
                            + +
                            +
                            + + + +
                            Return values
                            + mixed + — + + +
                            +
                            + + + + +
                            +
                            +
                            +
                            +

                            Search results

                            + +
                            +
                            +
                              +
                              +
                              +
                              +
                              +
                              + + +
                              + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-Answer.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-Answer.html new file mode 100644 index 0000000..ae43965 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-Answer.html @@ -0,0 +1,867 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                              +

                              CRM V2

                              + + + + + +
                              + +
                              +
                              + + + + +
                              + + +
                              +

                              + Answer + + + extends CrmClientModel + + +
                              + in package + +
                              + + +

                              + + + +

                              This class represents an answer +It has a method to submit answers

                              + + + +
                              + Tags + +
                              +
                              +
                              + category +
                              +
                              + +

                              Api Models

                              +
                              + +
                              +
                              + subpackage +
                              +
                              + +

                              models

                              +
                              + +
                              +
                              + author +
                              +
                              + +

                              Jérémy Munsch jeremy.munsch@ldc.fr

                              +
                              + +
                              +
                              + + + + + + +

                              + Table of Contents + +

                              + +
                              +
                              + $answers + +  : array<string|int, Answer> +
                              +
                              + +
                              + $id + +  : string +
                              +
                              + +
                              + $question + +  : string +
                              +
                              + +
                              + $type + +  : QuestionType +
                              +
                              + +
                              + $modelFields + +  : array<string|int, mixed> +
                              +
                              The crm customer fields
                              + +
                              + $validation + +  : array<string|int, mixed> +
                              +
                              Validation rules
                              + +
                              + $answer + +  : string +
                              +
                              The actual answer as a string
                              + +
                              + $id + +  : int +
                              +
                              The question id
                              + +
                              + __construct() + +  : mixed +
                              +
                              Answer
                              + +
                              + jsonSerialize() + +  : array<string|int, mixed> +
                              +
                              Serialize this object to an array
                              + +
                              + setQuestionAnswers() + +  : bool +
                              +
                              Set unanswered question for a specific customer
                              + +
                              + + + + + + +
                              +

                              + Properties + +

                              +
                              +

                              + $answers + + + +

                              + + + + + public + array<string|int, Answer> + $answers + + +

                              An array with answers

                              +
                              + +
                              + + + +
                              +
                              +

                              + $id + + + +

                              + + + + + public + string + $id + + +

                              The answer id

                              +
                              + +
                              + + + +
                              +
                              +

                              + $question + + + +

                              + + + + + public + string + $question + + +

                              The actual question as a string

                              +
                              + +
                              + + + +
                              +
                              +

                              + $type + + + +

                              + + + + + public + QuestionType + $type + + +

                              The question type to display, +it also hints wether it can accept one or multiple responses, +so only checkbox allows multiple responses

                              +
                              + +
                              + + + +
                              +
                              +

                              + $modelFields + + + +

                              + + +

                              The crm customer fields

                              + + + protected + array<string|int, mixed> + $modelFields + = ['id', 'answer'] + + + + + +
                              +
                              +

                              + $validation + + + +

                              + + +

                              Validation rules

                              + + + protected + static array<string|int, mixed> + $validation + = ['id' => 'required|int', 'answer' => 'required|string|max:255'] + + + + + +
                              +
                              +

                              + $answer + + + +

                              + + +

                              The actual answer as a string

                              + + + private + string + $answer + = null + +

                              Required +Max length 255 +Field Type varchar

                              +
                              + + + + +
                              +
                              +

                              + $id + + + +

                              + + +

                              The question id

                              + + + private + int + $id + + +

                              Required +Field Type bigInt

                              +
                              + + + + +
                              +
                              + +
                              +

                              + Methods + +

                              +
                              +

                              + __construct() + +

                              + + +

                              Answer

                              + + + public + __construct([array<string|int, mixed> $properties = [] ]) : mixed + + +
                              Parameters
                              +
                              +
                              + $properties + : array<string|int, mixed> + = []
                              +
                              + +
                              +
                              + + +
                              + Tags + +
                              +
                              +
                              + throws +
                              +
                              + ValidationException + +

                              If a field could not be validated.

                              +
                              + +
                              +
                              + +
                              Return values
                              + mixed + — + + +
                              +
                              +

                              + jsonSerialize() + +

                              + + +

                              Serialize this object to an array

                              + + + public + jsonSerialize() : array<string|int, mixed> + + + + + +
                              Return values
                              + array<string|int, mixed> + — + + +
                              +
                              +

                              + setQuestionAnswers() + +

                              + + +

                              Set unanswered question for a specific customer

                              + + + public + static setQuestionAnswers(string $hashcode, int $questionId, array<string|int, mixed> $answersId) : bool + + +
                              Parameters
                              +
                              +
                              + $hashcode + : string +
                              +
                              +

                              The customer hashcode.

                              +
                              + +
                              +
                              + $questionId + : int +
                              +
                              +

                              The question id.

                              +
                              + +
                              +
                              + $answersId + : array<string|int, mixed> +
                              +
                              +

                              An array with answers id.

                              +
                              + +
                              +
                              + + +
                              + Tags + +
                              +
                              +
                              + throws +
                              +
                              + ValidationException + +

                              If a hashcode is not a valid UUID.

                              +
                              + +
                              +
                              + throws +
                              +
                              + ValidationException + +

                              If any of the provided ids are invalid.

                              +
                              + +
                              +
                              + throws +
                              +
                              + ApiErrorException + +

                              If any error \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If given ids are wrong(CRM side).

                              +
                              + +
                              +
                              + throws +
                              +
                              + CrmException + +

                              If an error occurs on server side or on getting response.

                              +
                              + +
                              +
                              + +
                              Return values
                              + bool + — +

                              true if succeeded

                              +
                              + + +
                              +
                              + + + + +
                              +
                              +
                              +
                              +

                              Search results

                              + +
                              +
                              +
                                +
                                +
                                +
                                +
                                +
                                + + +
                                + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html new file mode 100644 index 0000000..6867848 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html @@ -0,0 +1,2133 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                +

                                CRM V2

                                + + + + + +
                                + +
                                +
                                + + + + +
                                + + +
                                +

                                + ArcadiaMailDefault + + + extends CrmClientModel + + +
                                + in package + +
                                + + +

                                + + + +

                                This class represents the customer info with +the account validation status

                                + + + +
                                + Tags + +
                                +
                                +
                                + category +
                                +
                                + +

                                Api Models

                                +
                                + +
                                +
                                + subpackage +
                                +
                                + +

                                models

                                +
                                + +
                                +
                                + author +
                                +
                                + +

                                Jérémy Munsch jeremy.munsch@ldc.fr

                                +
                                + +
                                +
                                + + + + + + +

                                + Table of Contents + +

                                + +
                                +
                                + $address + +  : string +
                                +
                                + +
                                + $address2 + +  : string +
                                +
                                + +
                                + $city + +  : string +
                                +
                                + +
                                + $email + +  : string +
                                +
                                + +
                                + $firstname + +  : string +
                                +
                                + +
                                + $label_type_support + +  : string +
                                +
                                + +
                                + $lastname + +  : string +
                                +
                                + +
                                + $operation + +  : int +
                                +
                                + +
                                + $order_date + +  : string +
                                +
                                + +
                                + $order_num + +  : int +
                                +
                                + +
                                + $package_unit_weight + +  : int +
                                +
                                + +
                                + $phone + +  : string +
                                +
                                + +
                                + $postcode + +  : string +
                                +
                                + +
                                + $state_order + +  : ArcadiaOrderType +
                                +
                                + +
                                + $support_code + +  : int +
                                +
                                + +
                                + $modelFields + +  : array<string|int, mixed> +
                                +
                                The crm customer fields
                                + +
                                + $validation + +  : array<string|int, mixed> +
                                +
                                Validation rules
                                + +
                                + $address + +  : string +
                                +
                                The user address (street number, name, etc)
                                + +
                                + $address2 + +  : string +
                                +
                                The user address 2nd part (street number, name, more, etc)
                                + +
                                + $city + +  : string +
                                +
                                The user address city
                                + +
                                + $email + +  : string +
                                +
                                An RFC Valid Email
                                + +
                                + $firstname + +  : string +
                                +
                                First name
                                + +
                                + $label_type_support + +  : string +
                                +
                                The arcadia type support label
                                + +
                                + $lastname + +  : string +
                                +
                                Last name
                                + +
                                + $operation + +  : int +
                                +
                                The arcadia operation code
                                + +
                                + $order_date + +  : string +
                                +
                                The arcadia order date
                                + +
                                + $order_num + +  : int +
                                +
                                The arcadia order number
                                + +
                                + $package_unit_weight + +  : int +
                                +
                                The arcadia package unit weight
                                + +
                                + $phone + +  : string +
                                +
                                The user phone
                                + +
                                + $postcode + +  : string +
                                +
                                The user address postcode
                                + +
                                + $state_order + +  : int +
                                +
                                The arcadia state order
                                + +
                                + $support_code + +  : int +
                                +
                                The arcadia support code
                                + +
                                + __construct() + +  : mixed +
                                +
                                ArcadiaMailDefault
                                + +
                                + __get() + +  : mixed +
                                +
                                Generic accessor
                                + +
                                + __set() + +  : void +
                                +
                                Set prop
                                + +
                                + fill() + +  : void +
                                +
                                Fill data into this model +using validation rules
                                + +
                                + jsonSerialize() + +  : array<string|int, mixed> +
                                +
                                Serialize this object to an array
                                + +
                                + send() + +  : bool +
                                +
                                Send The actual mail
                                + +
                                + validateAllValues() + +  : array<string|int, mixed> +
                                +
                                Validate all model properties
                                + +
                                + + + + + + +
                                +

                                + Properties + +

                                +
                                +

                                + $address + + + +

                                + + + + + public + string + $address + + +

                                The account address (street number, name, build, flat number)

                                +
                                + +
                                + + + +
                                +
                                +

                                + $address2 + + + +

                                + + + + + public + string + $address2 + + +

                                The account phone (address complement)

                                +
                                + +
                                + + + +
                                +
                                +

                                + $city + + + +

                                + + + + + public + string + $city + + +

                                The account city name

                                +
                                + +
                                + + + +
                                +
                                +

                                + $email + + + +

                                + + + + + public + string + $email + + +

                                Must be a rfc valid email on a valid domain name

                                +
                                + +
                                + + + +
                                +
                                +

                                + $firstname + + + +

                                + + + + + public + string + $firstname + + +

                                The account first name

                                +
                                + +
                                + + + +
                                +
                                +

                                + $label_type_support + + + +

                                + + + + + public + string + $label_type_support + + +

                                The arcadia type support label

                                +
                                + +
                                + + + +
                                +
                                +

                                + $lastname + + + +

                                + + + + + public + string + $lastname + + +

                                The account last name

                                +
                                + +
                                + + + +
                                +
                                +

                                + $operation + + + +

                                + + + + + public + int + $operation + + +

                                The arcadia operation code

                                +
                                + +
                                + + + +
                                +
                                +

                                + $order_date + + + +

                                + + + + + public + string + $order_date + + +

                                The arcadia order date 'yyyy-mm-dd HH:ii:ss'

                                +
                                + +
                                + + + +
                                +
                                +

                                + $order_num + + + +

                                + + + + + public + int + $order_num + + +

                                The arcadia order number

                                +
                                + +
                                + + + +
                                +
                                +

                                + $package_unit_weight + + + +

                                + + + + + public + int + $package_unit_weight + + +

                                The arcadia package unit weight

                                +
                                + +
                                + + + +
                                +
                                +

                                + $phone + + + +

                                + + + + + public + string + $phone + + +

                                The account phone

                                +
                                + +
                                + + + +
                                +
                                +

                                + $postcode + + + +

                                + + + + + public + string + $postcode + + +

                                The account city postcode

                                +
                                + +
                                + + + +
                                + +
                                +

                                + $support_code + + + +

                                + + + + + public + int + $support_code + + +

                                The arcadia support code

                                +
                                + +
                                + + + +
                                +
                                +

                                + $modelFields + + + +

                                + + +

                                The crm customer fields

                                + + + protected + array<string|int, mixed> + $modelFields + = ['email', 'firstname', 'lastname', 'phone', 'address', 'address2', 'city', 'postcode', 'operation', 'support_code', 'label_type_support', 'order_date', 'order_num', 'state_order', 'package_unit_weight'] + + + + + +
                                +
                                +

                                + $validation + + + +

                                + + +

                                Validation rules

                                + + + protected + static array<string|int, mixed> + $validation + = ['email' => 'required|email', 'firstname' => 'required|string|min:2|max:255', 'lastname' => 'required|string|min:2|max:255', 'phone' => 'sometimes|string|min:10|max:255', 'address' => 'sometimes|string|max:255', 'address2' => 'sometimes|string|max:255', 'city' => 'sometimes|string|max:255', 'postcode' => 'sometimes|string|max:255', 'operation' => 'required|int', 'support_code' => 'required|int', 'label_type_support' => 'required|string|min:2|max:255', 'order_date' => 'required|date_format:Y/m/d H:i:s', 'order_num' => 'required|int', 'state_order' => ['required'], 'package_unit_weight' => 'required|int'] + + + + + +
                                +
                                +

                                + $address + + + +

                                + + +

                                The user address (street number, name, etc)

                                + + + private + string + $address + = null + +

                                Validate: sometimes,string

                                +

                                Min length NA +Max length 255 +Field Type varchar

                                +
                                + + + + +
                                +
                                +

                                + $address2 + + + +

                                + + +

                                The user address 2nd part (street number, name, more, etc)

                                + + + private + string + $address2 + = null + +

                                Validate: sometimes,string

                                +

                                Min length NA +Max length 255 +Field Type varchar

                                +
                                + + + + +
                                +
                                +

                                + $city + + + +

                                + + +

                                The user address city

                                + + + private + string + $city + = null + +

                                Validate: sometimes,string

                                +

                                Min length NA +Max length 255 +Field Type varchar

                                +
                                + + + + +
                                +
                                +

                                + $email + + + +

                                + + +

                                An RFC Valid Email

                                + + + private + string + $email + = null + +

                                Validate: rfc,dns,spoof,filter

                                +

                                Required +Min length N/A +Max length 255 +Field Type varchar

                                +
                                + + + + +
                                +
                                +

                                + $firstname + + + +

                                + + +

                                First name

                                + + + private + string + $firstname + = null + +

                                Required +Min length 2 +Max length 255 +Field Type varchar

                                +
                                + + + + +
                                +
                                +

                                + $label_type_support + + + +

                                + + +

                                The arcadia type support label

                                + + + private + string + $label_type_support + = null + +

                                Validate: string

                                +

                                Required

                                +
                                + + + + +
                                +
                                +

                                + $lastname + + + +

                                + + +

                                Last name

                                + + + private + string + $lastname + = null + +

                                Required +Min length 2 +Max length 255 +Field Type varchar

                                +
                                + + + + +
                                +
                                +

                                + $operation + + + +

                                + + +

                                The arcadia operation code

                                + + + private + int + $operation + = null + +

                                Validate: int

                                +

                                Required

                                +
                                + + + + +
                                +
                                +

                                + $order_date + + + +

                                + + +

                                The arcadia order date

                                + + + private + string + $order_date + = null + +

                                Validate: date

                                +

                                Required

                                +
                                + + + + +
                                +
                                +

                                + $order_num + + + +

                                + + +

                                The arcadia order number

                                + + + private + int + $order_num + = null + +

                                Validate: numeric,digits:9

                                +

                                Required

                                +
                                + + + + +
                                +
                                +

                                + $package_unit_weight + + + +

                                + + +

                                The arcadia package unit weight

                                + + + private + int + $package_unit_weight + = null + +

                                Validate: integer

                                +

                                Required

                                +
                                + + + + +
                                +
                                +

                                + $phone + + + +

                                + + +

                                The user phone

                                + + + private + string + $phone + = null + +

                                Validate: sometimes,string

                                +

                                Required +Min length NA +Max length 255 +Field Type varchar

                                +
                                + + + + +
                                +
                                +

                                + $postcode + + + +

                                + + +

                                The user address postcode

                                + + + private + string + $postcode + = null + +

                                Validate: string

                                +

                                Required +Min length NA +Max length 255 +Field Type varchar

                                +
                                + + + + +
                                +
                                +

                                + $state_order + + + +

                                + + +

                                The arcadia state order

                                + + + private + int + $state_order + = null + +

                                Validate: in ArcadiaOrderType::toValues()

                                +

                                Required

                                +
                                + + + + +
                                +
                                +

                                + $support_code + + + +

                                + + +

                                The arcadia support code

                                + + + private + int + $support_code + = null + +

                                Validate: int

                                +

                                Required

                                +
                                + + + + +
                                +
                                + +
                                +

                                + Methods + +

                                +
                                +

                                + __construct() + +

                                + + +

                                ArcadiaMailDefault

                                + + + public + __construct([array<string|int, mixed> $properties = [] ]) : mixed + + +
                                Parameters
                                +
                                +
                                + $properties + : array<string|int, mixed> + = []
                                +
                                + +
                                +
                                + + +
                                + Tags + +
                                +
                                +
                                + throws +
                                +
                                + ValidationException + +

                                If a field could not be validated.

                                +
                                + +
                                +
                                + +
                                Return values
                                + mixed + — + + +
                                +
                                +

                                + __get() + +

                                + + +

                                Generic accessor

                                + + + public + __get(string $field) : mixed + + +
                                Parameters
                                +
                                +
                                + $field + : string +
                                +
                                + +
                                +
                                + + + +
                                Return values
                                + mixed + — + + +
                                +
                                +

                                + __set() + +

                                + + +

                                Set prop

                                + + + public + __set(string $field, mixed $value) : void + + +
                                Parameters
                                +
                                +
                                + $field + : string +
                                +
                                + +
                                +
                                + $value + : mixed +
                                +
                                + +
                                +
                                + + +
                                + Tags + +
                                +
                                +
                                + throws +
                                +
                                + TypeError + +

                                If the field has an incorrect value.

                                +
                                + +
                                +
                                + throws +
                                +
                                + AccessError + +

                                If trying to set a value on a unknown property.

                                +
                                + +
                                +
                                + +
                                Return values
                                + void + — + + +
                                +
                                +

                                + fill() + +

                                + + +

                                Fill data into this model +using validation rules

                                + + + public + fill(array<string|int, mixed> $properties) : void + + +
                                Parameters
                                +
                                +
                                + $properties + : array<string|int, mixed> +
                                +
                                + +
                                +
                                + + +
                                + Tags + +
                                +
                                +
                                + throws +
                                +
                                + ValidationException + +

                                If a field could not be validated.

                                +
                                + +
                                +
                                + +
                                Return values
                                + void + — + + +
                                +
                                +

                                + jsonSerialize() + +

                                + + +

                                Serialize this object to an array

                                + + + public + jsonSerialize() : array<string|int, mixed> + + + + + +
                                Return values
                                + array<string|int, mixed> + — + + +
                                +
                                +

                                + send() + +

                                + + +

                                Send The actual mail

                                + + + public + send() : bool + + + + +
                                + Tags + +
                                +
                                +
                                + throws +
                                +
                                + ValidationException + +

                                If a field could not be validated.

                                +
                                + +
                                +
                                + throws +
                                +
                                + CrmException + +

                                If an error occurs on server side or on getting response.

                                +
                                + +
                                +
                                + throws +
                                +
                                + ApiErrorException + +

                                If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side).

                                +
                                + +
                                +
                                + +
                                Return values
                                + bool + — +

                                true if succeeded

                                +
                                + + +
                                +
                                +

                                + validateAllValues() + +

                                + + +

                                Validate all model properties

                                + + + protected + validateAllValues([array<string|int, mixed> $ignore = [] ]) : array<string|int, mixed> + + +
                                Parameters
                                +
                                +
                                + $ignore + : array<string|int, mixed> + = []
                                +
                                + +
                                +
                                + + +
                                + Tags + +
                                +
                                +
                                + throws +
                                +
                                + ValidationException + +

                                If a field could not be validated.

                                +
                                + +
                                +
                                + +
                                Return values
                                + array<string|int, mixed> + — +

                                the validated values

                                +
                                + + +
                                +
                                + + + + +
                                +
                                +
                                +
                                +

                                Search results

                                + +
                                +
                                +
                                  +
                                  +
                                  +
                                  +
                                  +
                                  + + +
                                  + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-ArcadiaMailGame.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-ArcadiaMailGame.html new file mode 100644 index 0000000..3b1e731 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-ArcadiaMailGame.html @@ -0,0 +1,1922 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                  +

                                  CRM V2

                                  + + + + + +
                                  + +
                                  +
                                  + + + + +
                                  + + +
                                  +

                                  + ArcadiaMailGame + + + extends CrmClientModel + + +
                                  + in package + +
                                  + + +

                                  + + + +

                                  This class represents the customer info with +the account validation status

                                  + + + +
                                  + Tags + +
                                  +
                                  +
                                  + category +
                                  +
                                  + +

                                  Api Models

                                  +
                                  + +
                                  +
                                  + subpackage +
                                  +
                                  + +

                                  models

                                  +
                                  + +
                                  +
                                  + author +
                                  +
                                  + +

                                  Jérémy Munsch jeremy.munsch@ldc.fr

                                  +
                                  + +
                                  +
                                  + + + + + + +

                                  + Table of Contents + +

                                  + +
                                  +
                                  + $address + +  : string +
                                  +
                                  + +
                                  + $address2 + +  : string +
                                  +
                                  + +
                                  + $city + +  : string +
                                  +
                                  + +
                                  + $code_on_pack + +  : string +
                                  +
                                  + +
                                  + $code_unique + +  : string +
                                  +
                                  + +
                                  + $email + +  : string +
                                  +
                                  + +
                                  + $firstname + +  : string +
                                  +
                                  + +
                                  + $label_type_support + +  : string +
                                  +
                                  + +
                                  + $lastname + +  : string +
                                  +
                                  + +
                                  + $operation + +  : int +
                                  +
                                  + +
                                  + $order_date + +  : string +
                                  +
                                  + +
                                  + $phone + +  : string +
                                  +
                                  + +
                                  + $postcode + +  : string +
                                  +
                                  + +
                                  + $support_code + +  : int +
                                  +
                                  + +
                                  + $modelFields + +  : array<string|int, mixed> +
                                  +
                                  The crm customer fields
                                  + +
                                  + $validation + +  : array<string|int, mixed> +
                                  +
                                  Validation rules
                                  + +
                                  + $address + +  : string +
                                  +
                                  The user address (street number, name, etc)
                                  + +
                                  + $address2 + +  : string +
                                  +
                                  The user address 2nd part (street number, name, more, etc)
                                  + +
                                  + $city + +  : string +
                                  +
                                  The user address city
                                  + +
                                  + $code_on_pack + +  : string +
                                  +
                                  The arcadia code on pack
                                  + +
                                  + $code_unique + +  : string +
                                  +
                                  The arcadia code unique
                                  + +
                                  + $email + +  : string +
                                  +
                                  An RFC Valid Email
                                  + +
                                  + $firstname + +  : string +
                                  +
                                  First name
                                  + +
                                  + $label_type_support + +  : string +
                                  +
                                  The arcadia type support label
                                  + +
                                  + $lastname + +  : string +
                                  +
                                  Last name
                                  + +
                                  + $operation + +  : int +
                                  +
                                  The arcadia operation code
                                  + +
                                  + $order_date + +  : string +
                                  +
                                  The arcadia order date
                                  + +
                                  + $phone + +  : string +
                                  +
                                  The user phone
                                  + +
                                  + $postcode + +  : string +
                                  +
                                  The user address postcode
                                  + +
                                  + $support_code + +  : int +
                                  +
                                  The arcadia support code
                                  + +
                                  + __construct() + +  : mixed +
                                  +
                                  ArcadiaMailGame
                                  + +
                                  + __set() + +  : void +
                                  +
                                  Set prop
                                  + +
                                  + fill() + +  : void +
                                  +
                                  Fill data into this model +using validation rules
                                  + +
                                  + jsonSerialize() + +  : array<string|int, mixed> +
                                  +
                                  Serialize this object to an array
                                  + +
                                  + send() + +  : bool +
                                  +
                                  Send The actual mail
                                  + +
                                  + + + + + + +
                                  +

                                  + Properties + +

                                  +
                                  +

                                  + $address + + + +

                                  + + + + + public + string + $address + + +

                                  The account address (street number, name, build, flat number)

                                  +
                                  + +
                                  + + + +
                                  +
                                  +

                                  + $address2 + + + +

                                  + + + + + public + string + $address2 + + +

                                  The account phone (address complement)

                                  +
                                  + +
                                  + + + +
                                  +
                                  +

                                  + $city + + + +

                                  + + + + + public + string + $city + + +

                                  The account city name

                                  +
                                  + +
                                  + + + +
                                  +
                                  +

                                  + $code_on_pack + + + +

                                  + + + + + public + string + $code_on_pack + + +

                                  The arcadia code on pack

                                  +
                                  + +
                                  + + + +
                                  +
                                  +

                                  + $code_unique + + + +

                                  + + + + + public + string + $code_unique + + +

                                  The arcadia code unique

                                  +
                                  + +
                                  + + + +
                                  +
                                  +

                                  + $email + + + +

                                  + + + + + public + string + $email + + +

                                  Must be a rfc valid email on a valid domain name

                                  +
                                  + +
                                  + + + +
                                  +
                                  +

                                  + $firstname + + + +

                                  + + + + + public + string + $firstname + + +

                                  The account first name

                                  +
                                  + +
                                  + + + +
                                  +
                                  +

                                  + $label_type_support + + + +

                                  + + + + + public + string + $label_type_support + + +

                                  The arcadia type support label

                                  +
                                  + +
                                  + + + +
                                  +
                                  +

                                  + $lastname + + + +

                                  + + + + + public + string + $lastname + + +

                                  The account last name

                                  +
                                  + +
                                  + + + +
                                  +
                                  +

                                  + $operation + + + +

                                  + + + + + public + int + $operation + + +

                                  The arcadia operation code +Validate: int +Required

                                  +
                                  + +
                                  + + + +
                                  +
                                  +

                                  + $order_date + + + +

                                  + + + + + public + string + $order_date + + +

                                  The arcadia order date 'yyyy-mm-dd HH:ii:ss'

                                  +
                                  + +
                                  + + + +
                                  +
                                  +

                                  + $phone + + + +

                                  + + + + + public + string + $phone + + +

                                  The account phone

                                  +
                                  + +
                                  + + + +
                                  +
                                  +

                                  + $postcode + + + +

                                  + + + + + public + string + $postcode + + +

                                  The account city postcode

                                  +
                                  + +
                                  + + + +
                                  +
                                  +

                                  + $support_code + + + +

                                  + + + + + public + int + $support_code + + +

                                  The arcadia support code

                                  +
                                  + +
                                  + + + +
                                  +
                                  +

                                  + $modelFields + + + +

                                  + + +

                                  The crm customer fields

                                  + + + protected + array<string|int, mixed> + $modelFields + = ['email', 'firstname', 'lastname', 'phone', 'address', 'address2', 'city', 'postcode', 'operation', 'support_code', 'label_type_support', 'order_date', 'code_unique', 'code_on_pack'] + + + + + +
                                  +
                                  +

                                  + $validation + + + +

                                  + + +

                                  Validation rules

                                  + + + protected + static array<string|int, mixed> + $validation + = ['email' => 'required|email', 'firstname' => 'required|string|min:2|max:255', 'lastname' => 'required|string|min:2|max:255', 'phone' => 'sometimes|string|min:10|max:255', 'address' => 'sometimes|string|max:255', 'address2' => 'sometimes|string|max:255', 'city' => 'sometimes|string|max:255', 'postcode' => 'sometimes|string|max:255', 'operation' => 'required|int', 'support_code' => 'required|int', 'label_type_support' => 'required|string|min:2|max:255', 'order_date' => 'required|date_format:Y/m/d H:i:s', 'code_unique' => 'required|string', 'code_on_pack' => 'sometimes|string'] + + + + + +
                                  +
                                  +

                                  + $address + + + +

                                  + + +

                                  The user address (street number, name, etc)

                                  + + + private + string + $address + = null + +

                                  Validate: sometimes,string

                                  +

                                  Min length NA +Max length 255 +Field Type varchar

                                  +
                                  + + + + +
                                  +
                                  +

                                  + $address2 + + + +

                                  + + +

                                  The user address 2nd part (street number, name, more, etc)

                                  + + + private + string + $address2 + = null + +

                                  Validate: sometimes,string

                                  +

                                  Min length NA +Max length 255 +Field Type varchar

                                  +
                                  + + + + +
                                  +
                                  +

                                  + $city + + + +

                                  + + +

                                  The user address city

                                  + + + private + string + $city + = null + +

                                  Validate: sometimes,string

                                  +

                                  Min length NA +Max length 255 +Field Type varchar

                                  +
                                  + + + + +
                                  +
                                  +

                                  + $code_on_pack + + + +

                                  + + +

                                  The arcadia code on pack

                                  + + + private + string + $code_on_pack + = null + +

                                  Validate: sometimes

                                  +

                                  Required

                                  +
                                  + + + + +
                                  +
                                  +

                                  + $code_unique + + + +

                                  + + +

                                  The arcadia code unique

                                  + + + private + string + $code_unique + = null + +

                                  Validate: string

                                  +

                                  Required

                                  +
                                  + + + + +
                                  +
                                  +

                                  + $email + + + +

                                  + + +

                                  An RFC Valid Email

                                  + + + private + string + $email + = null + +

                                  Validate: rfc,dns,spoof,filter

                                  +

                                  Required +Min length N/A +Max length 255 +Field Type varchar

                                  +
                                  + + + + +
                                  +
                                  +

                                  + $firstname + + + +

                                  + + +

                                  First name

                                  + + + private + string + $firstname + = null + +

                                  Required +Min length 2 +Max length 255 +Field Type varchar

                                  +
                                  + + + + +
                                  +
                                  +

                                  + $label_type_support + + + +

                                  + + +

                                  The arcadia type support label

                                  + + + private + string + $label_type_support + = null + +

                                  Validate: string

                                  +

                                  Required

                                  +
                                  + + + + +
                                  +
                                  +

                                  + $lastname + + + +

                                  + + +

                                  Last name

                                  + + + private + string + $lastname + = null + +

                                  Required +Min length 2 +Max length 255 +Field Type varchar

                                  +
                                  + + + + +
                                  +
                                  +

                                  + $operation + + + +

                                  + + +

                                  The arcadia operation code

                                  + + + private + int + $operation + = null + +

                                  Validate: int

                                  +

                                  Required

                                  +
                                  + + + + +
                                  +
                                  +

                                  + $order_date + + + +

                                  + + +

                                  The arcadia order date

                                  + + + private + string + $order_date + = null + +

                                  Validate: date

                                  +

                                  Required

                                  +
                                  + + + + +
                                  +
                                  +

                                  + $phone + + + +

                                  + + +

                                  The user phone

                                  + + + private + string + $phone + = null + +

                                  Validate: sometimes,string

                                  +

                                  Required +Min length NA +Max length 255 +Field Type varchar

                                  +
                                  + + + + +
                                  +
                                  +

                                  + $postcode + + + +

                                  + + +

                                  The user address postcode

                                  + + + private + string + $postcode + = null + +

                                  Validate: string

                                  +

                                  Required +Min length NA +Max length 255 +Field Type varchar

                                  +
                                  + + + + +
                                  +
                                  +

                                  + $support_code + + + +

                                  + + +

                                  The arcadia support code

                                  + + + private + int + $support_code + = null + +

                                  Validate: int

                                  +

                                  Required

                                  +
                                  + + + + +
                                  +
                                  + +
                                  +

                                  + Methods + +

                                  +
                                  +

                                  + __construct() + +

                                  + + +

                                  ArcadiaMailGame

                                  + + + public + __construct([array<string|int, mixed> $properties = [] ]) : mixed + + +
                                  Parameters
                                  +
                                  +
                                  + $properties + : array<string|int, mixed> + = []
                                  +
                                  + +
                                  +
                                  + + +
                                  + Tags + +
                                  +
                                  +
                                  + throws +
                                  +
                                  + ValidationException + +

                                  If a field could not be validated.

                                  +
                                  + +
                                  +
                                  + +
                                  Return values
                                  + mixed + — + + +
                                  +
                                  +

                                  + __set() + +

                                  + + +

                                  Set prop

                                  + + + public + __set(string $field, mixed $value) : void + + +
                                  Parameters
                                  +
                                  +
                                  + $field + : string +
                                  +
                                  + +
                                  +
                                  + $value + : mixed +
                                  +
                                  + +
                                  +
                                  + + +
                                  + Tags + +
                                  +
                                  +
                                  + throws +
                                  +
                                  + TypeError + +

                                  If the field has an incorrect value.

                                  +
                                  + +
                                  +
                                  + throws +
                                  +
                                  + AccessError + +

                                  If trying to set a value on a unknown property.

                                  +
                                  + +
                                  +
                                  + +
                                  Return values
                                  + void + — + + +
                                  +
                                  +

                                  + fill() + +

                                  + + +

                                  Fill data into this model +using validation rules

                                  + + + public + fill(array<string|int, mixed> $properties) : void + + +
                                  Parameters
                                  +
                                  +
                                  + $properties + : array<string|int, mixed> +
                                  +
                                  + +
                                  +
                                  + + +
                                  + Tags + +
                                  +
                                  +
                                  + throws +
                                  +
                                  + ValidationException + +

                                  If a field could not be validated.

                                  +
                                  + +
                                  +
                                  + +
                                  Return values
                                  + void + — + + +
                                  +
                                  +

                                  + jsonSerialize() + +

                                  + + +

                                  Serialize this object to an array

                                  + + + public + jsonSerialize() : array<string|int, mixed> + + + + + +
                                  Return values
                                  + array<string|int, mixed> + — + + +
                                  +
                                  +

                                  + send() + +

                                  + + +

                                  Send The actual mail

                                  + + + public + send() : bool + + + + +
                                  + Tags + +
                                  +
                                  +
                                  + throws +
                                  +
                                  + CrmException + +

                                  If an error occurs on server side or on getting response.

                                  +
                                  + +
                                  +
                                  + throws +
                                  +
                                  + ApiErrorException + +

                                  If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side).

                                  +
                                  + +
                                  +
                                  + +
                                  Return values
                                  + bool + — +

                                  true if succeeded

                                  +
                                  + + +
                                  +
                                  + + + + +
                                  +
                                  +
                                  +
                                  +

                                  Search results

                                  + +
                                  +
                                  +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    + + +
                                    + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-Customer.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-Customer.html new file mode 100644 index 0000000..12e4891 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-Customer.html @@ -0,0 +1,2936 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                    +

                                    CRM V2

                                    + + + + + +
                                    + +
                                    +
                                    + + + + +
                                    + + +
                                    +

                                    + Customer + + + extends CrmClientModel + + +
                                    + in package + +
                                    + + +

                                    + + + +

                                    This class represents the customer info with +the account validation status. You can use it as +a standalone class but beware of catching exceptions

                                    + +

                                    Be warned that on server side data is normalized

                                    +
                                      +
                                    • firstname and lastname are 'capitalized'
                                    • +
                                    • fields are trimmed
                                    • +
                                    • non numeric chars are removed from postcode
                                    • +
                                    +
                                    + + +
                                    + Tags + +
                                    +
                                    +
                                    + example +
                                    +
                                    + +

                                    examples/CustomerExample.php

                                    +
                                    + +
                                    +
                                    + category +
                                    +
                                    + +

                                    Api Models

                                    +
                                    + +
                                    +
                                    + subpackage +
                                    +
                                    + +

                                    models

                                    +
                                    + +
                                    +
                                    + author +
                                    +
                                    + +

                                    Jérémy Munsch jeremy.munsch@ldc.fr

                                    +
                                    + +
                                    +
                                    + + + + + + +

                                    + Table of Contents + +

                                    + +
                                    +
                                    + $address + +  : string +
                                    +
                                    + +
                                    + $address2 + +  : string +
                                    +
                                    + +
                                    + $birth_date + +  : string +
                                    +
                                    + +
                                    + $city + +  : string +
                                    +
                                    + +
                                    + $country + +  : Country +
                                    +
                                    + +
                                    + $email + +  : string +
                                    +
                                    + +
                                    + $firstname + +  : string +
                                    +
                                    + +
                                    + $hashcode + +  : string +
                                    +
                                    + +
                                    + $last_connection + +  : string +
                                    +
                                    + +
                                    + $lastname + +  : string +
                                    +
                                    + +
                                    + $opt_in + +  : bool +
                                    +
                                    + +
                                    + $password + +  : string +
                                    +
                                    + +
                                    + $phone + +  : string +
                                    +
                                    + +
                                    + $postcode + +  : string +
                                    +
                                    + +
                                    + $status + +  : bool +
                                    +
                                    + +
                                    + $invisibleFields + +  : array<string|int, mixed> +
                                    +
                                    The crm customer fields +the should not be visible
                                    + +
                                    + $modelFields + +  : array<string|int, mixed> +
                                    +
                                    The crm customer fields
                                    + +
                                    + $validation + +  : array<string|int, mixed> +
                                    +
                                    Validation rules
                                    + +
                                    + $address + +  : string +
                                    +
                                    The user address (street number, name, etc)
                                    + +
                                    + $address2 + +  : string +
                                    +
                                    The user address 2nd part (street number, name, more, etc)
                                    + +
                                    + $birth_date + +  : string +
                                    +
                                    Birth date
                                    + +
                                    + $city + +  : string +
                                    +
                                    The user address city
                                    + +
                                    + $country + +  : Country +
                                    +
                                    The user address postcode
                                    + +
                                    + $email + +  : string +
                                    +
                                    An RFC Valid Email
                                    + +
                                    + $firstname + +  : string +
                                    +
                                    First name
                                    + +
                                    + $hashcode + +  : string +
                                    +
                                    The user hashcode, this is link with the customer and the brand it is related to +It is used to identify the customer itself.
                                    + +
                                    + $last_connection + +  : string +
                                    +
                                    The last time the account was connected
                                    + +
                                    + $lastname + +  : string +
                                    +
                                    Last name
                                    + +
                                    + $opt_in + +  : bool +
                                    +
                                    The user optin choice
                                    + +
                                    + $password + +  : string +
                                    +
                                    The user password +This is set only when creating a user +Otherwise it has to be set to null
                                    + +
                                    + $phone + +  : string +
                                    +
                                    The user phone
                                    + +
                                    + $postcode + +  : string +
                                    +
                                    The user address postcode
                                    + +
                                    + $status + +  : bool +
                                    +
                                    Is the account activated ?
                                    + +
                                    + __construct() + +  : mixed +
                                    +
                                    Customer
                                    + +
                                    + __get() + +  : mixed|null +
                                    +
                                    Generic accessor
                                    + +
                                    + __set() + +  : void +
                                    +
                                    Set prop on the model.
                                    + +
                                    + activate() + +  : bool +
                                    +
                                    Active the customer on CRM.
                                    + +
                                    + delete() + +  : bool +
                                    +
                                    Removes the customer from CRM.
                                    + +
                                    + fill() + +  : void +
                                    +
                                    Fill values into model using validation rules.
                                    + +
                                    + find() + +  : self|null +
                                    +
                                    Find a customer using its hashcode in the crm
                                    + +
                                    + findWithEmail() + +  : self|null +
                                    +
                                    Find a customer using its email in the crm +This is an alias of Customer::find()
                                    + +
                                    + jsonSerialize() + +  : array<string|int, mixed> +
                                    +
                                    Serialize this object to an array
                                    + +
                                    + login() + +  : bool +
                                    +
                                    Test customer credentials
                                    + +
                                    + save() + +  : bool +
                                    +
                                    Save the customer on CRM.
                                    + +
                                    + toggleOptin() + +  : bool +
                                    +
                                    Toggle the account optin value in the crm
                                    + +
                                    + validateAllValues() + +  : array<string|int, mixed> +
                                    +
                                    Validate all model properties
                                    + +
                                    + store() + +  : bool +
                                    +
                                    Calls api store customer method
                                    + +
                                    + update() + +  : bool +
                                    +
                                    Calls api update customer method
                                    + +
                                    + + + + + + +
                                    +

                                    + Properties + +

                                    +
                                    +

                                    + $address + + + +

                                    + + + + + public + string + $address + + +

                                    The account address (street number, name, build, flat number)

                                    +
                                    + +
                                    + + + +
                                    +
                                    +

                                    + $address2 + + + +

                                    + + + + + public + string + $address2 + + +

                                    The account phone (address complement)

                                    +
                                    + +
                                    + + + +
                                    +
                                    +

                                    + $birth_date + + + +

                                    + + + + + public + string + $birth_date + + +

                                    The account birth date 'yyyy-mm-dd'

                                    +
                                    + +
                                    + + + +
                                    +
                                    +

                                    + $city + + + +

                                    + + + + + public + string + $city + + +

                                    The account city name

                                    +
                                    + +
                                    + + + +
                                    +
                                    +

                                    + $country + + + +

                                    + + + + + public + Country + $country + + +

                                    The account country residence

                                    +
                                    + +
                                    + + + +
                                    +
                                    +

                                    + $email + + + +

                                    + + + + + public + string + $email + + +

                                    Must be a rfc valid email on a valid domain name

                                    +
                                    + +
                                    + + + +
                                    +
                                    +

                                    + $firstname + + + +

                                    + + + + + public + string + $firstname + + +

                                    The account first name

                                    +
                                    + +
                                    + + + +
                                    +
                                    +

                                    + $hashcode + + + +

                                    + + + + + public + string + $hashcode + + +

                                    The crm hashcode this is a readonly field

                                    +
                                    + +
                                    + + + +
                                    +
                                    +

                                    + $last_connection + + + +

                                    + + + + + public + string + $last_connection + + +

                                    the last time user was connected 'yyyy-mm-dd HH:ii:ss'

                                    +
                                    + +
                                    + + + +
                                    +
                                    +

                                    + $lastname + + + +

                                    + + + + + public + string + $lastname + + +

                                    The account last name

                                    +
                                    + +
                                    + + + +
                                    +
                                    +

                                    + $opt_in + + + +

                                    + + + + + public + bool + $opt_in + + +

                                    true if the account is opt in

                                    +
                                    + +
                                    + + + +
                                    +
                                    +

                                    + $password + + + +

                                    + + + + + public + string + $password + + +

                                    Required only on create, must have upper and lowers chars, +at least 1 number, at leat 1 upper char, at least 1 lower char and +at leat 1 special char

                                    +
                                    + +
                                    + + + +
                                    +
                                    +

                                    + $phone + + + +

                                    + + + + + public + string + $phone + + +

                                    The account phone

                                    +
                                    + +
                                    + + + +
                                    +
                                    +

                                    + $postcode + + + +

                                    + + + + + public + string + $postcode + + +

                                    The account city postcode

                                    +
                                    + +
                                    + + + +
                                    +
                                    +

                                    + $status + + + +

                                    + + + + + public + bool + $status + + +

                                    true if the account is activated

                                    +
                                    + +
                                    + + + +
                                    +
                                    +

                                    + $invisibleFields + + + +

                                    + + +

                                    The crm customer fields +the should not be visible

                                    + + + protected + array<string|int, mixed> + $invisibleFields + = ['password'] + + + + + +
                                    +
                                    +

                                    + $modelFields + + + +

                                    + + +

                                    The crm customer fields

                                    + + + protected + array<string|int, mixed> + $modelFields + = ['hashcode', 'email', 'firstname', 'password', 'lastname', 'birth_date', 'phone', 'address', 'address2', 'city', 'postcode', 'country', 'opt_in', 'status', 'last_connection'] + + + + + +
                                    +
                                    +

                                    + $validation + + + +

                                    + + +

                                    Validation rules

                                    + + + protected + static array<string|int, mixed> + $validation + = ['hashcode' => 'required|uuid', 'email' => 'required|email', 'firstname' => 'required|string|min:1|max:255', 'lastname' => 'required|string|min:1|max:255', 'password' => 'required|min:8|max:255|mixedCase|containDigit|containSymbol', 'birth_date' => 'required|date_format:Y-m-d', 'phone' => 'sometimes|nullable|string|max:255', 'address' => 'sometimes|string|max:255', 'address2' => 'sometimes|string|max:255', 'city' => 'sometimes|string|min:2|max:255', 'postcode' => 'sometimes|string|max:255', 'country' => ['sometimes'], 'opt_in' => 'required|bool', 'status' => 'required|bool', 'last_connection' => 'sometimes|date'] + + + + + +
                                    +
                                    +

                                    + $address + + + +

                                    + + +

                                    The user address (street number, name, etc)

                                    + + + private + string + $address + = null + +

                                    Validate: sometimes,string

                                    +

                                    Min length NA +Max length 255 +Field Type varchar

                                    +
                                    + + + + +
                                    +
                                    +

                                    + $address2 + + + +

                                    + + +

                                    The user address 2nd part (street number, name, more, etc)

                                    + + + private + string + $address2 + = null + +

                                    Validate: sometimes,string

                                    +

                                    Min length NA +Max length 255 +Field Type varchar

                                    +
                                    + + + + +
                                    +
                                    +

                                    + $birth_date + + + +

                                    + + +

                                    Birth date

                                    + + + private + string + $birth_date + = null + +

                                    Validate: date_format:Y-m-d

                                    +

                                    Required +Field Type Date

                                    +
                                    + + + + +
                                    +
                                    +

                                    + $city + + + +

                                    + + +

                                    The user address city

                                    + + + private + string + $city + = null + +

                                    Validate: sometimes,string

                                    +

                                    Min length NA +Max length 255 +Field Type varchar

                                    +
                                    + + + + +
                                    +
                                    +

                                    + $country + + + +

                                    + + +

                                    The user address postcode

                                    + + + private + Country + $country + = null + +

                                    Validate: sometimes, in Country::toValues()

                                    +

                                    Required +Field Type tinyInt

                                    +
                                    + + + + +
                                    +
                                    +

                                    + $email + + + +

                                    + + +

                                    An RFC Valid Email

                                    + + + private + string + $email + = null + +

                                    Validate: rfc,dns,spoof,filter

                                    +

                                    Required +Min length N/A +Max length 255 +Field Type varchar

                                    +
                                    + + + + +
                                    +
                                    +

                                    + $firstname + + + +

                                    + + +

                                    First name

                                    + + + private + string + $firstname + = null + +

                                    Required +Min length 2 +Max length 255 +Field Type varchar

                                    +
                                    + + + + +
                                    +
                                    +

                                    + $hashcode + + + +

                                    + + +

                                    The user hashcode, this is link with the customer and the brand it is related to +It is used to identify the customer itself.

                                    + + + private + string + $hashcode + + +

                                    Validate: UUID, in customer_infos

                                    +

                                    Required +Min length 36 +Max length 36 +Field Type varchar

                                    +
                                    + + + + +
                                    +
                                    +

                                    + $last_connection + + + +

                                    + + +

                                    The last time the account was connected

                                    + + + private + string + $last_connection + = null + +

                                    This field is read only

                                    +
                                    + + + + +
                                    +
                                    +

                                    + $lastname + + + +

                                    + + +

                                    Last name

                                    + + + private + string + $lastname + = null + +

                                    Required +Min length 2 +Max length 255 +Field Type varchar

                                    +
                                    + + + + +
                                    +
                                    +

                                    + $opt_in + + + +

                                    + + +

                                    The user optin choice

                                    + + + private + bool + $opt_in + = false + +

                                    Validate: boolean

                                    +

                                    Required +Field Type TinyInt

                                    +
                                    + + + + +
                                    +
                                    +

                                    + $password + + + +

                                    + + +

                                    The user password +This is set only when creating a user +Otherwise it has to be set to null

                                    + + + private + string + $password + = null + +

                                    Validate: case_diff,numbers,letters,symbols,min:8

                                    +

                                    Min length 8 +Max length 255 +Field Type varchar

                                    +
                                    + + + + +
                                    +
                                    +

                                    + $phone + + + +

                                    + + +

                                    The user phone

                                    + + + private + string + $phone + = null + +

                                    Validate: sometimes,string

                                    +

                                    Required +Min length NA +Max length 255 +Field Type varchar

                                    +
                                    + + + + +
                                    +
                                    +

                                    + $postcode + + + +

                                    + + +

                                    The user address postcode

                                    + + + private + string + $postcode + = null + +

                                    Validate: string

                                    +

                                    Required +Min length NA +Max length 255 +Field Type varchar

                                    +
                                    + + + + +
                                    +
                                    +

                                    + $status + + + +

                                    + + +

                                    Is the account activated ?

                                    + + + private + bool + $status + = false + +

                                    This field is read only

                                    +
                                    + + + + +
                                    +
                                    + +
                                    +

                                    + Methods + +

                                    +
                                    +

                                    + __construct() + +

                                    + + +

                                    Customer

                                    + + + public + __construct([array<string|int, mixed> $properties = [] ]) : mixed + + +
                                    Parameters
                                    +
                                    +
                                    + $properties + : array<string|int, mixed> + = []
                                    +
                                    + +
                                    +
                                    + + +
                                    + Tags + +
                                    +
                                    +
                                    + throws +
                                    +
                                    + ValidationException + +

                                    If a field could not be validated.

                                    +
                                    + +
                                    +
                                    + +
                                    Return values
                                    + mixed + — + + +
                                    +
                                    +

                                    + __get() + +

                                    + + +

                                    Generic accessor

                                    + + + public + __get(string $field) : mixed|null + + +
                                    Parameters
                                    +
                                    +
                                    + $field + : string +
                                    +
                                    + +
                                    +
                                    + + + +
                                    Return values
                                    + mixed|null + — +

                                    Returns null if the property was not found any way.

                                    +
                                    + + +
                                    +
                                    +

                                    + __set() + +

                                    + + +

                                    Set prop on the model.

                                    + + + public + __set(string $field, mixed $value) : void + + +
                                    Parameters
                                    +
                                    +
                                    + $field + : string +
                                    +
                                    + +
                                    +
                                    + $value + : mixed +
                                    +
                                    + +
                                    +
                                    + + +
                                    + Tags + +
                                    +
                                    +
                                    + throws +
                                    +
                                    + ValidationException + +

                                    If a field could not be validated.

                                    +
                                    + +
                                    +
                                    + throws +
                                    +
                                    + AccessError + +

                                    If trying to set a value on a unknown property.

                                    +
                                    + +
                                    +
                                    + +
                                    Return values
                                    + void + — + + +
                                    +
                                    +

                                    + activate() + +

                                    + + +

                                    Active the customer on CRM.

                                    + + + public + activate() : bool + + + + +
                                    + Tags + +
                                    +
                                    +
                                    + throws +
                                    +
                                    + ValidationException + +

                                    If a customer's hashcode could not be validated.

                                    +
                                    + +
                                    +
                                    + throws +
                                    +
                                    + CrmException + +

                                    If an error occurs on server side or on getting response.

                                    +
                                    + +
                                    +
                                    + throws +
                                    +
                                    + ApiErrorException + +

                                    If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found. +- customerAlreadyActive, It the customer is already activated.

                                    +
                                    + +
                                    +
                                    + phpcs:ignore +
                                    +
                                    + +

                                    Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                    +
                                    + +
                                    +
                                    + +
                                    Return values
                                    + bool + — +

                                    true if succeeded

                                    +
                                    + + +
                                    +
                                    +

                                    + delete() + +

                                    + + +

                                    Removes the customer from CRM.

                                    + + + public + delete() : bool + + + + +
                                    + Tags + +
                                    +
                                    +
                                    + throws +
                                    +
                                    + ValidationException + +

                                    If a field could not be validated.

                                    +
                                    + +
                                    +
                                    + throws +
                                    +
                                    + CrmException + +

                                    If an error occurs on server side or on getting response.

                                    +
                                    + +
                                    +
                                    + throws +
                                    +
                                    + ApiErrorException + +

                                    If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found.

                                    +
                                    + +
                                    +
                                    + phpcs:ignore +
                                    +
                                    + +

                                    Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                    +
                                    + +
                                    +
                                    + +
                                    Return values
                                    + bool + — +

                                    true if succeeded

                                    +
                                    + + +
                                    +
                                    +

                                    + fill() + +

                                    + + +

                                    Fill values into model using validation rules.

                                    + + + public + fill(array<string|int, mixed> $properties) : void + + +
                                    Parameters
                                    +
                                    +
                                    + $properties + : array<string|int, mixed> +
                                    +
                                    + +
                                    +
                                    + + +
                                    + Tags + +
                                    +
                                    +
                                    + throws +
                                    +
                                    + ValidationException + +

                                    If a field could not be validated.

                                    +
                                    + +
                                    +
                                    + +
                                    Return values
                                    + void + — + + +
                                    +
                                    +

                                    + find() + +

                                    + + +

                                    Find a customer using its hashcode in the crm

                                    + + + public + static find(string $hashcode) : self|null + + +
                                    Parameters
                                    +
                                    +
                                    + $hashcode + : string +
                                    +
                                    + +
                                    +
                                    + + +
                                    + Tags + +
                                    +
                                    +
                                    + throws +
                                    +
                                    + CrmException + +

                                    If an error occurs on server side or on getting response.

                                    +
                                    + +
                                    +
                                    + throws +
                                    +
                                    + ApiErrorException + +

                                    If any error or \LDC\LDCCRM\Enums\ApiError occurs.

                                    +
                                    + +
                                    +
                                    + phpcs:ignore +
                                    +
                                    + +

                                    Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                    +
                                    + +
                                    +
                                    + +
                                    Return values
                                    + self|null + — +

                                    Return null if the customer was not found

                                    +
                                    + + +
                                    +
                                    +

                                    + findWithEmail() + +

                                    + + +

                                    Find a customer using its email in the crm +This is an alias of Customer::find()

                                    + + + public + static findWithEmail(string $email) : self|null + + +
                                    Parameters
                                    +
                                    +
                                    + $email + : string +
                                    +
                                    + +
                                    +
                                    + + +
                                    + Tags + +
                                    +
                                    +
                                    + throws +
                                    +
                                    + CrmException + +

                                    If an error occurs on server side or on getting response.

                                    +
                                    + +
                                    +
                                    + throws +
                                    +
                                    + ApiErrorException + +

                                    If any error or \LDC\LDCCRM\Enums\ApiError occurs.

                                    +
                                    + +
                                    +
                                    + phpcs:ignore +
                                    +
                                    + +

                                    Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                    +
                                    + +
                                    +
                                    + +
                                    Return values
                                    + self|null + — + + +
                                    +
                                    +

                                    + jsonSerialize() + +

                                    + + +

                                    Serialize this object to an array

                                    + + + public + jsonSerialize() : array<string|int, mixed> + + + + + +
                                    Return values
                                    + array<string|int, mixed> + — + + +
                                    +
                                    +

                                    + login() + +

                                    + + +

                                    Test customer credentials

                                    + + + public + static login(string $email, string $password) : bool + + +
                                    Parameters
                                    +
                                    +
                                    + $email + : string +
                                    +
                                    + +
                                    +
                                    + $password + : string +
                                    +
                                    + +
                                    +
                                    + + +
                                    + Tags + +
                                    +
                                    +
                                    + throws +
                                    +
                                    + ValidationException + +

                                    If a customer's email could not be validated.

                                    +
                                    + +
                                    +
                                    + throws +
                                    +
                                    + CrmException + +

                                    If an error occurs on server side or on getting response.

                                    +
                                    + +
                                    +
                                    + throws +
                                    +
                                    + ApiErrorException + +

                                    If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - authFailed, If credentials are not valid. +- customerNotActivated, If the account is not activated.

                                    +
                                    + +
                                    +
                                    + phpcs:ignore +
                                    +
                                    + +

                                    Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                    +
                                    + +
                                    +
                                    + +
                                    Return values
                                    + bool + — + + +
                                    +
                                    +

                                    + save() + +

                                    + + +

                                    Save the customer on CRM.

                                    + + + public + save() : bool + + + + +
                                    + Tags + +
                                    +
                                    +
                                    + throws +
                                    +
                                    + ValidationException + +

                                    If a field could not be validated.

                                    +
                                    + +
                                    +
                                    + throws +
                                    +
                                    + CrmException + +

                                    If an error occurs on server side or on getting response.

                                    +
                                    + +
                                    +
                                    + throws +
                                    +
                                    + ApiErrorException + +

                                    If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side). +- modelNotFound, If this customer hashcode could not be found (new customers only).

                                    +
                                    + +
                                    +
                                    + phpcs:ignore +
                                    +
                                    + +

                                    Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                    +
                                    + +
                                    +
                                    + +
                                    Return values
                                    + bool + — +

                                    True if save was successfull.

                                    +
                                    + + +
                                    +
                                    +

                                    + toggleOptin() + +

                                    + + +

                                    Toggle the account optin value in the crm

                                    + + + public + toggleOptin() : bool + + + + +
                                    + Tags + +
                                    +
                                    +
                                    + throws +
                                    +
                                    + ValidationException + +

                                    If a field could not be validated.

                                    +
                                    + +
                                    +
                                    + throws +
                                    +
                                    + CrmException + +

                                    If an error occurs on server side or on getting response.

                                    +
                                    + +
                                    +
                                    + throws +
                                    +
                                    + ApiErrorException + +

                                    If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found.

                                    +
                                    + +
                                    +
                                    + phpcs:ignore +
                                    +
                                    + +

                                    Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                    +
                                    + +
                                    +
                                    + +
                                    Return values
                                    + bool + — +

                                    true if succeeded

                                    +
                                    + + +
                                    +
                                    +

                                    + validateAllValues() + +

                                    + + +

                                    Validate all model properties

                                    + + + protected + validateAllValues([array<string|int, mixed> $ignore = [] ]) : array<string|int, mixed> + + +
                                    Parameters
                                    +
                                    +
                                    + $ignore + : array<string|int, mixed> + = []
                                    +
                                    + +
                                    +
                                    + + +
                                    + Tags + +
                                    +
                                    +
                                    + throws +
                                    +
                                    + ValidationException + +

                                    If a field could not be validated.

                                    +
                                    + +
                                    +
                                    + +
                                    Return values
                                    + array<string|int, mixed> + — +

                                    the validated values

                                    +
                                    + + +
                                    +
                                    +

                                    + store() + +

                                    + + +

                                    Calls api store customer method

                                    + + + private + store() : bool + + + + +
                                    + Tags + +
                                    +
                                    +
                                    + throws +
                                    +
                                    + ValidationException + +

                                    If a field could not be validated.

                                    +
                                    + +
                                    +
                                    + throws +
                                    +
                                    + CrmException + +

                                    If an error occurs on server side or on getting response.

                                    +
                                    + +
                                    +
                                    + throws +
                                    +
                                    + ApiErrorException + +

                                    If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side).

                                    +
                                    + +
                                    +
                                    + phpcs:ignore +
                                    +
                                    + +

                                    Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                    +
                                    + +
                                    +
                                    + +
                                    Return values
                                    + bool + — +

                                    True if save was successfull.

                                    +
                                    + + +
                                    +
                                    +

                                    + update() + +

                                    + + +

                                    Calls api update customer method

                                    + + + private + update() : bool + + + + +
                                    + Tags + +
                                    +
                                    +
                                    + throws +
                                    +
                                    + ValidationException + +

                                    If a field could not be validated.

                                    +
                                    + +
                                    +
                                    + throws +
                                    +
                                    + CrmException + +

                                    If an error occurs on server side or on getting response.

                                    +
                                    + +
                                    +
                                    + throws +
                                    +
                                    + ApiErrorException + +

                                    If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side). +- modelNotFound, If this customer hashcode could not be found.

                                    +
                                    + +
                                    +
                                    + phpcs:ignore +
                                    +
                                    + +

                                    Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                    +
                                    + +
                                    +
                                    + +
                                    Return values
                                    + bool + — +

                                    True if save was successfull.

                                    +
                                    + + +
                                    +
                                    + + + + +
                                    +
                                    +
                                    +
                                    +

                                    Search results

                                    + +
                                    +
                                    +
                                      +
                                      +
                                      +
                                      +
                                      +
                                      + + +
                                      + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-Question.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-Question.html new file mode 100644 index 0000000..de78d78 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-Question.html @@ -0,0 +1,1381 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                      +

                                      CRM V2

                                      + + + + + +
                                      + +
                                      +
                                      + + + + +
                                      + + +
                                      +

                                      + Question + + + extends CrmClientModel + + +
                                      + in package + +
                                      + + +

                                      + + + +

                                      This class represents a question +It has some static methods to retrieve questions and answers

                                      + + + +
                                      + Tags + +
                                      +
                                      +
                                      + category +
                                      +
                                      + +

                                      Api Models

                                      +
                                      + +
                                      +
                                      + subpackage +
                                      +
                                      + +

                                      models

                                      +
                                      + +
                                      +
                                      + author +
                                      +
                                      + +

                                      Jérémy Munsch jeremy.munsch@ldc.fr

                                      +
                                      + +
                                      +
                                      + + + + + + +

                                      + Table of Contents + +

                                      + +
                                      +
                                      + $answers + +  : array<string|int, Answer> +
                                      +
                                      + +
                                      + $id + +  : string +
                                      +
                                      + +
                                      + $question + +  : string +
                                      +
                                      + +
                                      + $type + +  : QuestionType +
                                      +
                                      + +
                                      + $modelFields + +  : array<string|int, mixed> +
                                      +
                                      The crm customer fields
                                      + +
                                      + $validation + +  : array<string|int, mixed> +
                                      +
                                      Validation rules
                                      + +
                                      + $answers + +  : array<string|int, mixed> +
                                      +
                                      The question answers
                                      + +
                                      + $id + +  : int +
                                      +
                                      The question id
                                      + +
                                      + $question + +  : string +
                                      +
                                      The actual question as a string
                                      + +
                                      + $type + +  : QuestionType +
                                      +
                                      The question type
                                      + +
                                      + __construct() + +  : mixed +
                                      +
                                      Question
                                      + +
                                      + __get() + +  : mixed +
                                      +
                                      General accessor
                                      + +
                                      + __set() + +  : void +
                                      +
                                      Set prop on the model.
                                      + +
                                      + all() + +  : array<string|int, mixed> +
                                      +
                                      Get all questions only
                                      + +
                                      + allWithCustomerAnswers() + +  : array<string|int, mixed> +
                                      +
                                      Get all the questions with customer answers
                                      + +
                                      + fill() + +  : void +
                                      +
                                      Fill values into model using validation rules.
                                      + +
                                      + jsonSerialize() + +  : array<string|int, mixed> +
                                      +
                                      Serialize this object to an array
                                      + +
                                      + unansweredBy() + +  : array<string|int, mixed> +
                                      +
                                      Get unanswered question for a specific customer
                                      + +
                                      + validateAllValues() + +  : array<string|int, mixed> +
                                      +
                                      Validate all model properties
                                      + +
                                      + + + + + + +
                                      +

                                      + Properties + +

                                      +
                                      +

                                      + $answers + + + +

                                      + + + + + public + array<string|int, Answer> + $answers + + +

                                      An array with answers

                                      +
                                      + +
                                      + + + +
                                      +
                                      +

                                      + $id + + + +

                                      + + + + + public + string + $id + + +

                                      The question id

                                      +
                                      + +
                                      + + + +
                                      +
                                      +

                                      + $question + + + +

                                      + + + + + public + string + $question + + +

                                      The actual question as a string

                                      +
                                      + +
                                      + + + +
                                      +
                                      +

                                      + $type + + + +

                                      + + + + + public + QuestionType + $type + + +

                                      The question type to display, +it also hints wether it can accept one or multiple responses, +so only checkbox allows multiple responses

                                      +
                                      + +
                                      + + + +
                                      +
                                      +

                                      + $modelFields + + + +

                                      + + +

                                      The crm customer fields

                                      + + + protected + array<string|int, mixed> + $modelFields + = ['id', 'question', 'type', 'answers'] + + + + + +
                                      +
                                      +

                                      + $validation + + + +

                                      + + +

                                      Validation rules

                                      + + + protected + static array<string|int, mixed> + $validation + = ['id' => 'required|int', 'question' => 'required|string|max:255', 'type' => ['required'], 'answers' => 'required|array'] + + + + + +
                                      +
                                      +

                                      + $answers + + + +

                                      + + +

                                      The question answers

                                      + + + private + array<string|int, mixed> + $answers + = [] + +

                                      \LDC\LDCCRM\Models\Answer

                                      +
                                      + + + + +
                                      +
                                      +

                                      + $id + + + +

                                      + + +

                                      The question id

                                      + + + private + int + $id + + +

                                      Required +Field Type bigInt

                                      +
                                      + + + + +
                                      +
                                      +

                                      + $question + + + +

                                      + + +

                                      The actual question as a string

                                      + + + private + string + $question + = null + +

                                      Required +Max length 255 +Field Type varchar

                                      +
                                      + + + + +
                                      +
                                      +

                                      + $type + + + +

                                      + + +

                                      The question type

                                      + + + private + QuestionType + $type + = null + +

                                      Validate: in QuestionType::toValues()

                                      +

                                      Required +Field Type tinyInteger

                                      +
                                      + + + + +
                                      +
                                      + +
                                      +

                                      + Methods + +

                                      +
                                      +

                                      + __construct() + +

                                      + + +

                                      Question

                                      + + + public + __construct([array<string|int, mixed> $properties = [] ]) : mixed + + +
                                      Parameters
                                      +
                                      +
                                      + $properties + : array<string|int, mixed> + = []
                                      +
                                      + +
                                      +
                                      + + +
                                      + Tags + +
                                      +
                                      +
                                      + throws +
                                      +
                                      + ValidationException + +

                                      If a field could not be validated.

                                      +
                                      + +
                                      +
                                      + +
                                      Return values
                                      + mixed + — + + +
                                      +
                                      +

                                      + __get() + +

                                      + + +

                                      General accessor

                                      + + + public + __get(string $field) : mixed + + +
                                      Parameters
                                      +
                                      +
                                      + $field + : string +
                                      +
                                      + +
                                      +
                                      + + + +
                                      Return values
                                      + mixed + — + + +
                                      +
                                      +

                                      + __set() + +

                                      + + +

                                      Set prop on the model.

                                      + + + public + __set(string $field, mixed $value) : void + + +
                                      Parameters
                                      +
                                      +
                                      + $field + : string +
                                      +
                                      + +
                                      +
                                      + $value + : mixed +
                                      +
                                      + +
                                      +
                                      + + +
                                      + Tags + +
                                      +
                                      +
                                      + throws +
                                      +
                                      + ValidationException + +

                                      If a field could not be validated.

                                      +
                                      + +
                                      +
                                      + throws +
                                      +
                                      + AccessError + +

                                      If trying to set a value on a unknown property.

                                      +
                                      + +
                                      +
                                      + +
                                      Return values
                                      + void + — + + +
                                      +
                                      +

                                      + all() + +

                                      + + +

                                      Get all questions only

                                      + + + public + static all() : array<string|int, mixed> + + + + +
                                      + Tags + +
                                      +
                                      +
                                      + throws +
                                      +
                                      + CrmException + +

                                      If an error occurs on server side or on getting response.

                                      +
                                      + +
                                      +
                                      + throws +
                                      +
                                      + ApiErrorException + +

                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs.

                                      +
                                      + +
                                      +
                                      + phpcs:ignore +
                                      +
                                      + +

                                      Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                      +
                                      + +
                                      +
                                      + +
                                      Return values
                                      + array<string|int, mixed> + — +

                                      of \LDC\LDCCRM\Models\Question

                                      +
                                      + + +
                                      +
                                      +

                                      + allWithCustomerAnswers() + +

                                      + + +

                                      Get all the questions with customer answers

                                      + + + public + static allWithCustomerAnswers(Customer $customer) : array<string|int, mixed> + + +
                                      Parameters
                                      +
                                      +
                                      + $customer + : Customer +
                                      +
                                      + +
                                      +
                                      + + +
                                      + Tags + +
                                      +
                                      +
                                      + throws +
                                      +
                                      + ValidationException + +

                                      If a customer's hashcode could not be validated.

                                      +
                                      + +
                                      +
                                      + throws +
                                      +
                                      + CrmException + +

                                      If an error occurs on server side or on getting response.

                                      +
                                      + +
                                      +
                                      + throws +
                                      +
                                      + ApiErrorException + +

                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If the customer could not be found(CRM side).

                                      +
                                      + +
                                      +
                                      + phpcs:ignore +
                                      +
                                      + +

                                      Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                      +
                                      + +
                                      +
                                      + +
                                      Return values
                                      + array<string|int, mixed> + — +

                                      [ +0 => [ +'question' => \LDC\LDCCRM\Models\Question, +'customerAnswers' => \LDC\LDCCRM\Models\Answer[] +] +]

                                      +

                                      with \LDC\LDCCRM\Models\Question[] +and the customer \LDC\LDCCRM\Models\Answer[]

                                      +
                                      + + +
                                      +
                                      +

                                      + fill() + +

                                      + + +

                                      Fill values into model using validation rules.

                                      + + + public + fill(array<string|int, mixed> $properties) : void + + +
                                      Parameters
                                      +
                                      +
                                      + $properties + : array<string|int, mixed> +
                                      +
                                      + +
                                      +
                                      + + +
                                      + Tags + +
                                      +
                                      +
                                      + throws +
                                      +
                                      + ValidationException + +

                                      If a field could not be validated.

                                      +
                                      + +
                                      +
                                      + +
                                      Return values
                                      + void + — + + +
                                      +
                                      +

                                      + jsonSerialize() + +

                                      + + +

                                      Serialize this object to an array

                                      + + + public + jsonSerialize() : array<string|int, mixed> + + + + + +
                                      Return values
                                      + array<string|int, mixed> + — + + +
                                      +
                                      +

                                      + unansweredBy() + +

                                      + + +

                                      Get unanswered question for a specific customer

                                      + + + public + static unansweredBy(Customer $customer) : array<string|int, mixed> + + +
                                      Parameters
                                      +
                                      +
                                      + $customer + : Customer +
                                      +
                                      + +
                                      +
                                      + + +
                                      + Tags + +
                                      +
                                      +
                                      + throws +
                                      +
                                      + ValidationException + +

                                      If a customer's hashcode could not be validated.

                                      +
                                      + +
                                      +
                                      + throws +
                                      +
                                      + CrmException + +

                                      If an error occurs on server side or on getting response.

                                      +
                                      + +
                                      +
                                      + throws +
                                      +
                                      + ApiErrorException + +

                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If the customer could not be found(CRM side).

                                      +
                                      + +
                                      +
                                      + phpcs:ignore +
                                      +
                                      + +

                                      Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                      +
                                      + +
                                      +
                                      + +
                                      Return values
                                      + array<string|int, mixed> + — +

                                      of \LDC\LDCCRM\Models\Question

                                      +
                                      + + +
                                      +
                                      +

                                      + validateAllValues() + +

                                      + + +

                                      Validate all model properties

                                      + + + protected + validateAllValues([array<string|int, mixed> $ignore = [] ]) : array<string|int, mixed> + + +
                                      Parameters
                                      +
                                      +
                                      + $ignore + : array<string|int, mixed> + = []
                                      +
                                      + +
                                      +
                                      + + +
                                      + Tags + +
                                      +
                                      +
                                      + throws +
                                      +
                                      + ValidationException + +

                                      If a field could not be validated.

                                      +
                                      + +
                                      +
                                      + +
                                      Return values
                                      + array<string|int, mixed> + — +

                                      the validated values

                                      +
                                      + + +
                                      +
                                      + + + + +
                                      +
                                      +
                                      +
                                      +

                                      Search results

                                      + +
                                      +
                                      +
                                        +
                                        +
                                        +
                                        +
                                        +
                                        + + +
                                        + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-SingleOptin.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-SingleOptin.html new file mode 100644 index 0000000..ebbecb2 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-SingleOptin.html @@ -0,0 +1,469 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                        +

                                        CRM V2

                                        + + + + + +
                                        + +
                                        +
                                        + + + + +
                                        + + +
                                        +

                                        + SingleOptin + + + extends CrmClientModel + + +
                                        + in package + +
                                        + + +

                                        + + + +

                                        This class allows to handle single optins

                                        + + + +
                                        + Tags + +
                                        +
                                        +
                                        + throws +
                                        +
                                        + ApiErrorException + +

                                        If an error occurs

                                        +
                                        + +
                                        +
                                        + throws +
                                        +
                                        + CrmException + +

                                        If the CRM encounters an error

                                        +
                                        + +
                                        +
                                        + category +
                                        +
                                        + +

                                        Api Models

                                        +
                                        + +
                                        +
                                        + subpackage +
                                        +
                                        + +

                                        models

                                        +
                                        + +
                                        +
                                        + author +
                                        +
                                        + +

                                        Jérémy Munsch jeremy.munsch@ldc.fr

                                        +
                                        + +
                                        +
                                        + + + + + + +

                                        + Table of Contents + +

                                        + +
                                        +
                                        + $validation + +  : array<string|int, mixed> +
                                        +
                                        Validation rules
                                        + +
                                        + setStatus() + +  : bool +
                                        +
                                        Set the single optin status for an email
                                        + +
                                        + + + + + + +
                                        +

                                        + Properties + +

                                        +
                                        +

                                        + $validation + + + +

                                        + + +

                                        Validation rules

                                        + + + protected + static array<string|int, mixed> + $validation + = ['email' => 'required|email', 'opt_in' => 'required|bool'] + + + + + +
                                        +
                                        + +
                                        +

                                        + Methods + +

                                        +
                                        +

                                        + setStatus() + +

                                        + + +

                                        Set the single optin status for an email

                                        + + + public + static setStatus(string $email, bool $opt_in) : bool + + +
                                        Parameters
                                        +
                                        +
                                        + $email + : string +
                                        +
                                        + +
                                        +
                                        + $opt_in + : bool +
                                        +
                                        + +
                                        +
                                        + + +
                                        + Tags + +
                                        +
                                        +
                                        + throws +
                                        +
                                        + ValidationException + +

                                        If a field email could not be validated.

                                        +
                                        + +
                                        +
                                        + throws +
                                        +
                                        + CrmException + +

                                        If an error occurs on server side or on getting response.

                                        +
                                        + +
                                        +
                                        + throws +
                                        +
                                        + ApiErrorException + +

                                        If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - singleOptinCustomerExists, If a customer exists with this email.

                                        +
                                        + +
                                        +
                                        + phpcs:ignore +
                                        +
                                        + +

                                        Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                        +
                                        + +
                                        +
                                        + +
                                        Return values
                                        + bool + — +

                                        true if succeeded

                                        +
                                        + + +
                                        +
                                        + + + + +
                                        +
                                        +
                                        +
                                        +

                                        Search results

                                        + +
                                        +
                                        +
                                          +
                                          +
                                          +
                                          +
                                          +
                                          + + +
                                          + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-Stats.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-Stats.html new file mode 100644 index 0000000..aad695e --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-Stats.html @@ -0,0 +1,621 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                          +

                                          CRM V2

                                          + + + + + +
                                          + +
                                          +
                                          + + + + +
                                          + + +
                                          +

                                          + Stats + + + extends CrmClientModel + + +
                                          + in package + +
                                          + + +

                                          + + + +

                                          This class is used to get stats from CRM

                                          + + + +
                                          + Tags + +
                                          +
                                          +
                                          + throws +
                                          +
                                          + ApiErrorException + +

                                          If an error occurs

                                          +
                                          + +
                                          +
                                          + throws +
                                          +
                                          + CrmException + +

                                          If the CRM encounters an error

                                          +
                                          + +
                                          +
                                          + category +
                                          +
                                          + +

                                          Api Models

                                          +
                                          + +
                                          +
                                          + subpackage +
                                          +
                                          + +

                                          models

                                          +
                                          + +
                                          +
                                          + author +
                                          +
                                          + +

                                          Jérémy Munsch jeremy.munsch@ldc.fr

                                          +
                                          + +
                                          +
                                          + + + + + + +

                                          + Table of Contents + +

                                          + +
                                          +
                                          + $validation + +  : array<string|int, mixed> +
                                          +
                                          Validation rules
                                          + +
                                          + getBrandStats() + +  : array<string|int, mixed> +
                                          +
                                          Get brand stats ordered by ascendent days
                                          + +
                                          + getQuestionStats() + +  : array<string|int, mixed> +
                                          +
                                          Get brand stats ordered by ascendent days
                                          + +
                                          + + + + + + +
                                          +

                                          + Properties + +

                                          +
                                          +

                                          + $validation + + + +

                                          + + +

                                          Validation rules

                                          + + + protected + static array<string|int, mixed> + $validation + = ['question.id' => 'required|int|min:1', 'start' => 'required|date_format:Y-m-d', 'end' => 'required|date_format:Y-m-d'] + + + + + +
                                          +
                                          + +
                                          +

                                          + Methods + +

                                          +
                                          +

                                          + getBrandStats() + +

                                          + + +

                                          Get brand stats ordered by ascendent days

                                          + + + public + static getBrandStats(string $start, string $end) : array<string|int, mixed> + + +
                                          Parameters
                                          +
                                          +
                                          + $start + : string +
                                          +
                                          +

                                          Une date valide au format Y-m-d .

                                          +
                                          + +
                                          +
                                          + $end + : string +
                                          +
                                          +

                                          Une date valide au format Y-m-d .

                                          +
                                          + +
                                          +
                                          + + +
                                          + Tags + +
                                          +
                                          +
                                          + throws +
                                          +
                                          + ValidationException + +

                                          If a field start could not be validated.

                                          +
                                          + +
                                          +
                                          + throws +
                                          +
                                          + ValidationException + +

                                          If a field end could not be validated.

                                          +
                                          + +
                                          +
                                          + throws +
                                          +
                                          + CrmException + +

                                          If an error occurs on server side or on getting response.

                                          +
                                          + +
                                          +
                                          + throws +
                                          +
                                          + ApiErrorException + +

                                          If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side).

                                          +
                                          + +
                                          +
                                          + phpcs:ignore +
                                          +
                                          + +

                                          Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                          +
                                          + +
                                          +
                                          + +
                                          Return values
                                          + array<string|int, mixed> + — +

                                          The stats array by day

                                          +
                                          + + +
                                          +
                                          +

                                          + getQuestionStats() + +

                                          + + +

                                          Get brand stats ordered by ascendent days

                                          + + + public + static getQuestionStats(Question $question, string $start, string $end) : array<string|int, mixed> + + +
                                          Parameters
                                          +
                                          +
                                          + $question + : Question +
                                          +
                                          +

                                          Une question CRM possèdant un id réel.

                                          +
                                          + +
                                          +
                                          + $start + : string +
                                          +
                                          +

                                          Une date valide au format Y-m-d .

                                          +
                                          + +
                                          +
                                          + $end + : string +
                                          +
                                          +

                                          Une date valide au format Y-m-d .

                                          +
                                          + +
                                          +
                                          + + +
                                          + Tags + +
                                          +
                                          +
                                          + throws +
                                          +
                                          + ValidationException + +

                                          If a question's id could not be validated.

                                          +
                                          + +
                                          +
                                          + throws +
                                          +
                                          + ValidationException + +

                                          If a field start could not be validated.

                                          +
                                          + +
                                          +
                                          + throws +
                                          +
                                          + ValidationException + +

                                          If a field end could not be validated.

                                          +
                                          + +
                                          +
                                          + throws +
                                          +
                                          + CrmException + +

                                          If an error occurs on server side or on getting response.

                                          +
                                          + +
                                          +
                                          + throws +
                                          +
                                          + ApiErrorException + +

                                          If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side).

                                          +
                                          + +
                                          +
                                          + phpcs:ignore +
                                          +
                                          + +

                                          Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                          +
                                          + +
                                          +
                                          + +
                                          Return values
                                          + array<string|int, mixed> + — +

                                          The stats array by day

                                          +
                                          + + +
                                          +
                                          + + + + +
                                          +
                                          +
                                          +
                                          +

                                          Search results

                                          + +
                                          +
                                          +
                                            +
                                            +
                                            +
                                            +
                                            +
                                            + + +
                                            + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Transport-Request.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Transport-Request.html new file mode 100644 index 0000000..f192fc1 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Transport-Request.html @@ -0,0 +1,1085 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                            +

                                            CRM V2

                                            + + + + + +
                                            + +
                                            +
                                            + + + + +
                                            + + +
                                            +

                                            + Request + + +
                                            + in package + +
                                            + + +

                                            + + + +

                                            The LDC CRM request +Contains the http method, the requested url and data to pass

                                            + + + +
                                            + Tags + +
                                            +
                                            +
                                            + subpackage +
                                            +
                                            + +

                                            transport

                                            +
                                            + +
                                            +
                                            + + + + + + +

                                            + Table of Contents + +

                                            + +
                                            +
                                            + $data + +  : array<string|int, mixed> +
                                            +
                                            + +
                                            + $headers + +  : array<string|int, mixed> +
                                            +
                                            + +
                                            + $method + +  : HttpMethods +
                                            +
                                            + +
                                            + $uri + +  : string +
                                            +
                                            + +
                                            + $data + +  : array<string|int, mixed> +
                                            +
                                            Data to pass to the http body
                                            + +
                                            + $headers + +  : array<string|int, mixed> +
                                            +
                                            Data to pass to the http headers
                                            + +
                                            + $method + +  : HttpMethods +
                                            +
                                            The http method
                                            + +
                                            + $uri + +  : string +
                                            +
                                            The http url
                                            + +
                                            + $client + +  : Client +
                                            +
                                            GuzzleHttp client
                                            + +
                                            + $endpoint + +  : string +
                                            +
                                            The Api endpoint
                                            + +
                                            + $request + +  : callable +
                                            +
                                            Guzzle request
                                            + +
                                            + __construct() + +  : mixed +
                                            +
                                            Request
                                            + +
                                            + __get() + +  : mixed|null +
                                            +
                                            Generic accessor
                                            + +
                                            + addData() + +  : void +
                                            +
                                            Add data to the request
                                            + +
                                            + addHeaders() + +  : void +
                                            +
                                            Add headers to the request
                                            + +
                                            + call() + +  : ResponseInterface +
                                            +
                                            Make the Http request
                                            + +
                                            + setEndpoint() + +  : void +
                                            +
                                            Set the api endpoint to the request
                                            + +
                                            + makeRequest() + +  : void +
                                            +
                                            make the guzzle request
                                            + +
                                            + + + + + + +
                                            +

                                            + Properties + +

                                            +
                                            +

                                            + $data + + + +

                                            + + + + + public + array<string|int, mixed> + $data + + +

                                            readonly data

                                            +
                                            + +
                                            + + + +
                                            +
                                            +

                                            + $headers + + + +

                                            + + + + + public + array<string|int, mixed> + $headers + + +

                                            headers

                                            +
                                            + +
                                            + + + +
                                            +
                                            +

                                            + $method + + + +

                                            + + + + + public + HttpMethods + $method + + +

                                            readonly method

                                            +
                                            + +
                                            + + + +
                                            +
                                            +

                                            + $uri + + + +

                                            + + + + + public + string + $uri + + +

                                            readonly uri

                                            +
                                            + +
                                            + + + +
                                            +
                                            +

                                            + $data + + + +

                                            + + +

                                            Data to pass to the http body

                                            + + + protected + array<string|int, mixed> + $data + = [] + + + + + +
                                            +
                                            +

                                            + $headers + + + +

                                            + + +

                                            Data to pass to the http headers

                                            + + + protected + array<string|int, mixed> + $headers + = [] + + + + + +
                                            +
                                            +

                                            + $method + + + +

                                            + + +

                                            The http method

                                            + + + protected + HttpMethods + $method + + + + + + +
                                            +
                                            +

                                            + $uri + + + +

                                            + + +

                                            The http url

                                            + + + protected + string + $uri + + + + + + +
                                            +
                                            +

                                            + $client + + + +

                                            + + +

                                            GuzzleHttp client

                                            + + + private + Client + $client + + + + + + +
                                            +
                                            +

                                            + $endpoint + + + +

                                            + + +

                                            The Api endpoint

                                            + + + private + string + $endpoint + + + + + + +
                                            +
                                            +

                                            + $request + + + +

                                            + + +

                                            Guzzle request

                                            + + + private + callable + $request + + + +

                                            the returns \GuzzleHttp\Psr7\Request

                                            +
                                            + + + +
                                            +
                                            + +
                                            +

                                            + Methods + +

                                            +
                                            +

                                            + __construct() + +

                                            + + +

                                            Request

                                            + + + public + __construct(HttpMethods $method, string $uri[, array<string|int, mixed> $headers = [] ][, array<string|int, mixed> $data = [] ]) : mixed + + +
                                            Parameters
                                            +
                                            +
                                            + $method + : HttpMethods +
                                            +
                                            + +
                                            +
                                            + $uri + : string +
                                            +
                                            + +
                                            +
                                            + $headers + : array<string|int, mixed> + = []
                                            +
                                            + +
                                            +
                                            + $data + : array<string|int, mixed> + = []
                                            +
                                            + +
                                            +
                                            + + + +
                                            Return values
                                            + mixed + — + + +
                                            +
                                            +

                                            + __get() + +

                                            + + +

                                            Generic accessor

                                            + + + public + __get(string $field) : mixed|null + + +
                                            Parameters
                                            +
                                            +
                                            + $field + : string +
                                            +
                                            + +
                                            +
                                            + + + +
                                            Return values
                                            + mixed|null + — + + +
                                            +
                                            +

                                            + addData() + +

                                            + + +

                                            Add data to the request

                                            + + + public + addData(array<string|int, mixed> $data) : void + + +
                                            Parameters
                                            +
                                            +
                                            + $data + : array<string|int, mixed> +
                                            +
                                            + +
                                            +
                                            + + + +
                                            Return values
                                            + void + — + + +
                                            +
                                            +

                                            + addHeaders() + +

                                            + + +

                                            Add headers to the request

                                            + + + public + addHeaders(array<string|int, mixed> $headers) : void + + +
                                            Parameters
                                            +
                                            +
                                            + $headers + : array<string|int, mixed> +
                                            +
                                            + +
                                            +
                                            + + + +
                                            Return values
                                            + void + — + + +
                                            +
                                            +

                                            + call() + +

                                            + + +

                                            Make the Http request

                                            + + + public + call() : ResponseInterface + + + + + +
                                            Return values
                                            + ResponseInterface + — + + +
                                            +
                                            +

                                            + setEndpoint() + +

                                            + + +

                                            Set the api endpoint to the request

                                            + + + public + setEndpoint(string $endpoint) : void + + +
                                            Parameters
                                            +
                                            +
                                            + $endpoint + : string +
                                            +
                                            + +
                                            +
                                            + + + +
                                            Return values
                                            + void + — + + +
                                            +
                                            +

                                            + makeRequest() + +

                                            + + +

                                            make the guzzle request

                                            + + + private + makeRequest() : void + + + + + +
                                            Return values
                                            + void + — + + +
                                            +
                                            + + + + +
                                            +
                                            +
                                            +
                                            +

                                            Search results

                                            + +
                                            +
                                            +
                                              +
                                              +
                                              +
                                              +
                                              +
                                              + + +
                                              + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Transport-Response.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Transport-Response.html new file mode 100644 index 0000000..b219dbd --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Transport-Response.html @@ -0,0 +1,1105 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                              +

                                              CRM V2

                                              + + + + + +
                                              + +
                                              +
                                              + + + + +
                                              + + +
                                              +

                                              + Response + + +
                                              + in package + +
                                              + + +

                                              + + + + + + +
                                              + Tags + +
                                              +
                                              +
                                              + subpackage +
                                              +
                                              + +

                                              transport

                                              +
                                              + +
                                              +
                                              + + + + + + +

                                              + Table of Contents + +

                                              + +
                                              +
                                              + $apiError + +  : ApiError|int +
                                              +
                                              + +
                                              + $body + +  : array<string|int, mixed> +
                                              +
                                              + +
                                              + $data + +  : array<string|int, mixed>|null +
                                              +
                                              + +
                                              + $headers + +  : array<string|int, mixed> +
                                              +
                                              + +
                                              + $httpCode + +  : int +
                                              +
                                              + +
                                              + $message + +  : string +
                                              +
                                              + +
                                              + $status + +  : ApiStatus +
                                              +
                                              + +
                                              + $apiError + +  : ApiError +
                                              +
                                              The api error
                                              + +
                                              + $body + +  : string +
                                              +
                                              The response body
                                              + +
                                              + $headers + +  : string +
                                              +
                                              The response headers
                                              + +
                                              + $httpCode + +  : int +
                                              +
                                              The response http code
                                              + +
                                              + $message + +  : string +
                                              +
                                              The interface message
                                              + +
                                              + $response + +  : ResponseInterface +
                                              +
                                              PSR response
                                              + +
                                              + $status + +  : ApiStatus +
                                              +
                                              The response status
                                              + +
                                              + __construct() + +  : mixed +
                                              +
                                              Response
                                              + +
                                              + __get() + +  : mixed|null +
                                              +
                                              Generic accessor
                                              + +
                                              + checkVersion() + +  : void +
                                              +
                                              This checks if the crm version is way far beyond the client version.
                                              + +
                                              + tryDecodeJson() + +  : array<string|int, mixed>|false +
                                              +
                                              Try to decode json and return false if it is +not a valid json
                                              + +
                                              + + + + + + +
                                              +

                                              + Properties + +

                                              +
                                              +

                                              + $apiError + + + +

                                              + + + + + public + ApiError|int + $apiError + + +

                                              The api error status it there is any

                                              +
                                              + +
                                              + + + +
                                              +
                                              +

                                              + $body + + + +

                                              + + + + + public + array<string|int, mixed> + $body + + +

                                              The http response body, this is parsed json

                                              +
                                              + +
                                              + + + +
                                              +
                                              +

                                              + $data + + + +

                                              + + + + + public + array<string|int, mixed>|null + $data + + +

                                              The reponse data

                                              +
                                              + +
                                              + + + +
                                              +
                                              +

                                              + $headers + + + +

                                              + + + + + public + array<string|int, mixed> + $headers + + +

                                              The http reponse headers

                                              +
                                              + +
                                              + + + +
                                              +
                                              +

                                              + $httpCode + + + +

                                              + + + + + public + int + $httpCode + + +

                                              The http response code

                                              +
                                              + +
                                              + + + +
                                              +
                                              +

                                              + $message + + + +

                                              + + + + + public + string + $message + + +

                                              The api message

                                              +
                                              + +
                                              + + + +
                                              +
                                              +

                                              + $status + + + +

                                              + + + + + public + ApiStatus + $status + + +

                                              The response api status

                                              +
                                              + +
                                              + + + +
                                              +
                                              +

                                              + $apiError + + + +

                                              + + +

                                              The api error

                                              + + + private + ApiError + $apiError + + + + + + +
                                              +
                                              +

                                              + $body + + + +

                                              + + +

                                              The response body

                                              + + + private + string + $body + + + + + + +
                                              +
                                              +

                                              + $headers + + + +

                                              + + +

                                              The response headers

                                              + + + private + string + $headers + + + + + + +
                                              +
                                              +

                                              + $httpCode + + + +

                                              + + +

                                              The response http code

                                              + + + private + int + $httpCode + = 0 + + + + + +
                                              +
                                              +

                                              + $message + + + +

                                              + + +

                                              The interface message

                                              + + + private + string + $message + + + + + + +
                                              +
                                              +

                                              + $response + + + +

                                              + + +

                                              PSR response

                                              + + + private + ResponseInterface + $response + + + + + + +
                                              +
                                              +

                                              + $status + + + +

                                              + + +

                                              The response status

                                              + + + private + ApiStatus + $status + + + + + + +
                                              +
                                              + +
                                              +

                                              + Methods + +

                                              +
                                              +

                                              + __construct() + +

                                              + + +

                                              Response

                                              + + + public + __construct(ApiStatus $status, ResponseInterface $response) : mixed + + +
                                              Parameters
                                              +
                                              +
                                              + $status + : ApiStatus +
                                              +
                                              + +
                                              +
                                              + $response + : ResponseInterface +
                                              +
                                              + +
                                              +
                                              + + +
                                              + Tags + +
                                              +
                                              +
                                              + throws +
                                              +
                                              + CrmException + +

                                              If HTTP response body in not JSON.

                                              +
                                              + +
                                              +
                                              + +
                                              Return values
                                              + mixed + — + + +
                                              +
                                              +

                                              + __get() + +

                                              + + +

                                              Generic accessor

                                              + + + public + __get(string $field) : mixed|null + + +
                                              Parameters
                                              +
                                              +
                                              + $field + : string +
                                              +
                                              + +
                                              +
                                              + + + +
                                              Return values
                                              + mixed|null + — + + +
                                              +
                                              +

                                              + checkVersion() + +

                                              + + +

                                              This checks if the crm version is way far beyond the client version.

                                              + + + private + checkVersion(string $version) : void + +

                                              If a minor version mismatch is detected we will log this as a warning. +If a major version mismatch is detected we will throw a CrmException as +there shall be an incompatibility with the response.

                                              +

                                              The goal here is to force clients to be up to date. +A major version change means breaking change.

                                              +
                                              + +
                                              Parameters
                                              +
                                              +
                                              + $version + : string +
                                              +
                                              + +
                                              +
                                              + + +
                                              + Tags + +
                                              +
                                              +
                                              + throws +
                                              +
                                              + CrmException + +

                                              If a major version mismatch is detected.

                                              +
                                              + +
                                              +
                                              + +
                                              Return values
                                              + void + — + + +
                                              +
                                              +

                                              + tryDecodeJson() + +

                                              + + +

                                              Try to decode json and return false if it is +not a valid json

                                              + + + private + tryDecodeJson(string $string) : array<string|int, mixed>|false + + +
                                              Parameters
                                              +
                                              +
                                              + $string + : string +
                                              +
                                              + +
                                              +
                                              + + + +
                                              Return values
                                              + array<string|int, mixed>|false + — +

                                              Returns an associative data array or false if failed to parse.

                                              +
                                              + + +
                                              +
                                              + + + + +
                                              +
                                              +
                                              +
                                              +

                                              Search results

                                              + +
                                              +
                                              +
                                                +
                                                +
                                                +
                                                +
                                                +
                                                + + +
                                                + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Utils.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Utils.html new file mode 100644 index 0000000..c7d2a28 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Utils.html @@ -0,0 +1,2005 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                +

                                                CRM V2

                                                + + + + + +
                                                + +
                                                +
                                                + + + + +
                                                + + +
                                                +

                                                + Utils + + +
                                                + in package + +
                                                + + +

                                                + + + +

                                                This is the LDCCRM utility class

                                                + + + +
                                                + Tags + +
                                                +
                                                +
                                                + category +
                                                +
                                                + +

                                                Utility

                                                +
                                                + +
                                                +
                                                + uses +
                                                +
                                                + HttpMethods + + +
                                                +
                                                + uses +
                                                +
                                                + Request + + +
                                                +
                                                + subpackage +
                                                +
                                                + +

                                                utilities

                                                +
                                                + +
                                                +
                                                + + + + + + +

                                                + Table of Contents + +

                                                + +
                                                +
                                                + $packageInfos + +  : array<string|int, mixed> +
                                                +
                                                Package infos
                                                + +
                                                + $translations + +  : array<string|int, mixed> +
                                                +
                                                Loaded translations
                                                + +
                                                + getConfig() + +  : string|null +
                                                +
                                                This is only used for unit tests.
                                                + +
                                                + getPackageInfo() + +  : array<string|int, mixed> +
                                                +
                                                Get composer.json infos
                                                + +
                                                + getRawProperty() + +  : mixed|null +
                                                +
                                                Get a property of an object.
                                                + +
                                                + getResquest() + +  : Request +
                                                +
                                                Generate a Request from the route name
                                                + +
                                                + log() + +  : void +
                                                +
                                                Write log using syslog +It also write log using \Illuminate\Support\Facades\Log +if it is present
                                                + +
                                                + makeValidator() + +  : closure +
                                                +
                                                Create a new Validator instance.
                                                + +
                                                + setRawProperty() + +  : void +
                                                +
                                                Set a property without any validation.
                                                + +
                                                + translate() + +  : string +
                                                +
                                                Translation a string using php file lang
                                                + +
                                                + makeValidatorFromRule() + +  : array<string|int, mixed> +
                                                +
                                                Generate a validator
                                                + +
                                                + validationArray() + +  : array<string|int, mixed> +
                                                +
                                                Make Array validator
                                                + +
                                                + validationBool() + +  : array<string|int, mixed> +
                                                +
                                                Make Bool validator
                                                + +
                                                + validationClosure() + +  : array<string|int, mixed> +
                                                +
                                                Make Closure validator
                                                + +
                                                + validationContainDigit() + +  : array<string|int, mixed> +
                                                +
                                                Make ContainDigit validator
                                                + +
                                                + validationContainSymbol() + +  : array<string|int, mixed> +
                                                +
                                                Make ContainSymbol validator
                                                + +
                                                + validationDate() + +  : array<string|int, mixed> +
                                                +
                                                Make Date validator
                                                + +
                                                + validationDateFormat() + +  : array<string|int, mixed> +
                                                +
                                                Make DateFormat validator
                                                + +
                                                + validationEmail() + +  : array<string|int, mixed> +
                                                +
                                                Make Email validator
                                                + +
                                                + validationInt() + +  : array<string|int, mixed> +
                                                +
                                                Make Int validator
                                                + +
                                                + validationMax() + +  : array<string|int, mixed> +
                                                +
                                                Make Max validator
                                                + +
                                                + validationMin() + +  : array<string|int, mixed> +
                                                +
                                                Make Min validator
                                                + +
                                                + validationMixedCase() + +  : array<string|int, mixed> +
                                                +
                                                Make MixedCase validator
                                                + +
                                                + validationNullable() + +  : array<string|int, mixed> +
                                                +
                                                Make Nullable validator
                                                + +
                                                + validationRequired() + +  : array<string|int, mixed> +
                                                +
                                                Make Required validator
                                                + +
                                                + validationSometimes() + +  : array<string|int, mixed> +
                                                +
                                                Make Sometimes validator
                                                + +
                                                + validationString() + +  : array<string|int, mixed> +
                                                +
                                                Make String validator
                                                + +
                                                + validationUuid() + +  : array<string|int, mixed> +
                                                +
                                                Make Uuid validator
                                                + +
                                                + + + + + + +
                                                +

                                                + Properties + +

                                                +
                                                +

                                                + $packageInfos + + + +

                                                + + +

                                                Package infos

                                                + + + private + static array<string|int, mixed> + $packageInfos + + + + + + +
                                                +
                                                +

                                                + $translations + + + +

                                                + + +

                                                Loaded translations

                                                + + + private + static array<string|int, mixed> + $translations + = [] + + + + + +
                                                +
                                                + +
                                                +

                                                + Methods + +

                                                +
                                                +

                                                + getConfig() + +

                                                + + +

                                                This is only used for unit tests.

                                                + + + public + static getConfig(string $key[, string $default = null ]) : string|null + +

                                                Get config

                                                +
                                                + +
                                                Parameters
                                                +
                                                +
                                                + $key + : string +
                                                +
                                                + +
                                                +
                                                + $default + : string + = null
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + string|null + — + + +
                                                +
                                                +

                                                + getPackageInfo() + +

                                                + + +

                                                Get composer.json infos

                                                + + + public + static getPackageInfo() : array<string|int, mixed> + + + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + getRawProperty() + +

                                                + + +

                                                Get a property of an object.

                                                + + + public + static getRawProperty(object $object, string $property) : mixed|null + +

                                                ! Warning : this will return any property of the object, use with caution.

                                                +
                                                + +
                                                Parameters
                                                +
                                                +
                                                + $object + : object +
                                                +
                                                +

                                                The object to inspect.

                                                +
                                                + +
                                                +
                                                + $property + : string +
                                                +
                                                +

                                                The object property to inspect.

                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + mixed|null + — +

                                                Returns null if the property was not found any way.

                                                +
                                                + + +
                                                +
                                                +

                                                + getResquest() + +

                                                + + +

                                                Generate a Request from the route name

                                                + + + public + static getResquest(string $routeName[, array<string|int, mixed> $query = [] ][, array<string|int, mixed> $data = [] ]) : Request + + +
                                                Parameters
                                                +
                                                +
                                                + $routeName + : string +
                                                +
                                                + +
                                                +
                                                + $query + : array<string|int, mixed> + = []
                                                +
                                                +

                                                Params to pass on to the route.

                                                +
                                                + +
                                                +
                                                + $data + : array<string|int, mixed> + = []
                                                +
                                                +

                                                Http body params.

                                                +
                                                + +
                                                +
                                                + + +
                                                + Tags + +
                                                +
                                                +
                                                + throws +
                                                +
                                                + ErrorException + +

                                                If the requested route is unknown.

                                                +
                                                + +
                                                +
                                                + throws +
                                                +
                                                + ErrorException + +

                                                If a required parameter is missing.

                                                +
                                                + +
                                                +
                                                + +
                                                Return values
                                                + Request + — + + +
                                                +
                                                +

                                                + log() + +

                                                + + +

                                                Write log using syslog +It also write log using \Illuminate\Support\Facades\Log +if it is present

                                                + + + public + static log(string $message, LogLevel $level) : void + + +
                                                Parameters
                                                +
                                                +
                                                + $message + : string +
                                                +
                                                +

                                                The message is prefixed with "LDC CRM:" .

                                                +
                                                + +
                                                +
                                                + $level + : LogLevel +
                                                +
                                                +

                                                The log level to apply.

                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + void + — + + +
                                                +
                                                +

                                                + makeValidator() + +

                                                + + +

                                                Create a new Validator instance.

                                                + + + public + static makeValidator(array<string|int, mixed> $data, array<string|int, mixed> $rules) : closure + + +
                                                Parameters
                                                +
                                                +
                                                + $data + : array<string|int, mixed> +
                                                +
                                                + +
                                                +
                                                + $rules + : array<string|int, mixed> +
                                                +
                                                + +
                                                +
                                                + + +
                                                + Tags + +
                                                +
                                                +
                                                + throws +
                                                +
                                                + ErrorException + +

                                                If an unknown validation rule is used.

                                                +
                                                + +
                                                +
                                                + +
                                                Return values
                                                + closure + — + + +
                                                +
                                                +

                                                + setRawProperty() + +

                                                + + +

                                                Set a property without any validation.

                                                + + + public + static setRawProperty(object $object, string $property, mixed $value) : void + +

                                                ! Warning : this can change any property of the object, use with caution.

                                                +
                                                + +
                                                Parameters
                                                +
                                                +
                                                + $object + : object +
                                                +
                                                +

                                                The object to inspect.

                                                +
                                                + +
                                                +
                                                + $property + : string +
                                                +
                                                +

                                                The object property to assign to.

                                                +
                                                + +
                                                +
                                                + $value + : mixed +
                                                +
                                                +

                                                The value to insert.

                                                +
                                                + +
                                                +
                                                + + +
                                                + Tags + +
                                                +
                                                +
                                                + throws +
                                                +
                                                + AccessError + +

                                                If trying to set a value on a unknown property.

                                                +
                                                + +
                                                +
                                                + +
                                                Return values
                                                + void + — + + +
                                                +
                                                +

                                                + translate() + +

                                                + + +

                                                Translation a string using php file lang

                                                + + + public + static translate(string $key[, string $lang = 'fr' ]) : string + + +
                                                Parameters
                                                +
                                                +
                                                + $key + : string +
                                                +
                                                + +
                                                +
                                                + $lang + : string + = 'fr'
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + string + — + + +
                                                +
                                                +

                                                + makeValidatorFromRule() + +

                                                + + +

                                                Generate a validator

                                                + + + private + static makeValidatorFromRule(mixed $rule, array<string|int, mixed> $data, string $attribute) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $rule + : mixed +
                                                +
                                                + +
                                                +
                                                + $data + : array<string|int, mixed> +
                                                +
                                                + +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + + +
                                                + Tags + +
                                                +
                                                +
                                                + throws +
                                                +
                                                + ErrorException + +

                                                If a rule is unknown.

                                                +
                                                + +
                                                +
                                                + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + validationArray() + +

                                                + + +

                                                Make Array validator

                                                + + + private + static validationArray(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + $value + : mixed +
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + validationBool() + +

                                                + + +

                                                Make Bool validator

                                                + + + private + static validationBool(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + $value + : mixed +
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + validationClosure() + +

                                                + + +

                                                Make Closure validator

                                                + + + private + static validationClosure(string $attribute, mixed $value, Closure $closure) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + $value + : mixed +
                                                +
                                                + +
                                                +
                                                + $closure + : Closure +
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + validationContainDigit() + +

                                                + + +

                                                Make ContainDigit validator

                                                + + + private + static validationContainDigit(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + $value + : mixed +
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + validationContainSymbol() + +

                                                + + +

                                                Make ContainSymbol validator

                                                + + + private + static validationContainSymbol(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + $value + : mixed +
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + validationDate() + +

                                                + + +

                                                Make Date validator

                                                + + + private + static validationDate(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + $value + : mixed +
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + validationDateFormat() + +

                                                + + +

                                                Make DateFormat validator

                                                + + + private + static validationDateFormat(string $attribute, mixed $value, array<string|int, mixed> $params) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + $value + : mixed +
                                                +
                                                + +
                                                +
                                                + $params + : array<string|int, mixed> +
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + validationEmail() + +

                                                + + +

                                                Make Email validator

                                                + + + private + static validationEmail(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + $value + : mixed +
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + validationInt() + +

                                                + + +

                                                Make Int validator

                                                + + + private + static validationInt(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + $value + : mixed +
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + validationMax() + +

                                                + + +

                                                Make Max validator

                                                + + + private + static validationMax(string $attribute, mixed $value, array<string|int, mixed> $params) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + $value + : mixed +
                                                +
                                                + +
                                                +
                                                + $params + : array<string|int, mixed> +
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + validationMin() + +

                                                + + +

                                                Make Min validator

                                                + + + private + static validationMin(string $attribute, mixed $value, array<string|int, mixed> $params) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + $value + : mixed +
                                                +
                                                + +
                                                +
                                                + $params + : array<string|int, mixed> +
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + validationMixedCase() + +

                                                + + +

                                                Make MixedCase validator

                                                + + + private + static validationMixedCase(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + $value + : mixed +
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + validationNullable() + +

                                                + + +

                                                Make Nullable validator

                                                + + + private + static validationNullable(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + $value + : mixed +
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + validationRequired() + +

                                                + + +

                                                Make Required validator

                                                + + + private + static validationRequired(string $attribute, array<string|int, mixed> $data) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + $data + : array<string|int, mixed> +
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + validationSometimes() + +

                                                + + +

                                                Make Sometimes validator

                                                + + + private + static validationSometimes(string $attribute, mixed $data) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + $data + : mixed +
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + validationString() + +

                                                + + +

                                                Make String validator

                                                + + + private + static validationString(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + $value + : mixed +
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + validationUuid() + +

                                                + + +

                                                Make Uuid validator

                                                + + + private + static validationUuid(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + $value + : mixed +
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                + + + + +
                                                +
                                                +
                                                +
                                                +

                                                Search results

                                                + +
                                                +
                                                +
                                                  +
                                                  +
                                                  +
                                                  +
                                                  +
                                                  + + +
                                                  + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-WordPress-WPCrm.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-WordPress-WPCrm.html new file mode 100644 index 0000000..47d8cf9 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-WordPress-WPCrm.html @@ -0,0 +1,2013 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                  +

                                                  CRM V2

                                                  + + + + + +
                                                  + +
                                                  +
                                                  + + + + +
                                                  + + +
                                                  +

                                                  + WPCrm + + +
                                                  + in package + +
                                                  + + +

                                                  + + + +

                                                  Class de gestion des users en session avec Wordpress (ce truc immonde)

                                                  + + + +
                                                  + Tags + +
                                                  +
                                                  +
                                                  + category +
                                                  +
                                                  + +

                                                  API

                                                  +
                                                  + +
                                                  +
                                                  + subpackage +
                                                  +
                                                  + +

                                                  Wordpress

                                                  +
                                                  + +
                                                  +
                                                  + author +
                                                  +
                                                  + +

                                                  Jérémy Munsch jeremy.munsch@ldc.fr

                                                  +
                                                  + +
                                                  +
                                                  + license +
                                                  +
                                                  + +

                                                  MIT https://opensource.org/licenses/MIT

                                                  +
                                                  + +
                                                  +
                                                  + link +
                                                  +
                                                  + / + +
                                                  +
                                                  + + + + + + +

                                                  + Table of Contents + +

                                                  + +
                                                  +
                                                  + $api + +  : CrmApiV2 +
                                                  +
                                                  The user object
                                                  + +
                                                  + $user + +  : WPCrmUser +
                                                  +
                                                  The user object
                                                  + +
                                                  + $sessionDestroyed + +  : bool +
                                                  +
                                                  The session live status
                                                  + +
                                                  + $sessionKey + +  : string +
                                                  +
                                                  The session key name
                                                  + +
                                                  + activateUser() + +  : bool +
                                                  +
                                                  Toggle the current user optin value +on the current user and the crm
                                                  + +
                                                  + check() + +  : bool +
                                                  +
                                                  Check if the user is logged in.
                                                  + +
                                                  + deleteUser() + +  : bool +
                                                  +
                                                  Delete current customer from +the local database and the crm
                                                  + +
                                                  + getNewUser() + +  : WPCrmUser +
                                                  +
                                                  Generate a new user
                                                  + +
                                                  + getUser() + +  : WPCrmUser|null +
                                                  +
                                                  Get the current user +return null if the user is not logged in
                                                  + +
                                                  + getUserFromApi() + +  : WPCrmUser|false +
                                                  +
                                                  Get the current user +return api response code if an error occurs
                                                  + +
                                                  + getUserFromTable() + +  : array<string|int, mixed>|null +
                                                  +
                                                  Get a customer from table
                                                  + +
                                                  + getUserFromTableByEmail() + +  : array<string|int, mixed>|null +
                                                  +
                                                  Get a customer from table by an email
                                                  + +
                                                  + getUserFromTableByUuid() + +  : array<string|int, mixed>|null +
                                                  +
                                                  Get a customer from table by an email
                                                  + +
                                                  + login() + +  : WPCrmUser|false +
                                                  +
                                                  Try to login with CRM API +A session will be started if credentials are valid.
                                                  + +
                                                  + logout() + +  : void +
                                                  +
                                                  Destroy the customer from session +and therefore logout
                                                  + +
                                                  + saveUser() + +  : bool +
                                                  +
                                                  Save current customer to +the local database and on crm
                                                  + +
                                                  + setSingleOptin() + +  : bool +
                                                  +
                                                  Set the single optin status for an email +on the crm
                                                  + +
                                                  + toggleUserOptin() + +  : bool +
                                                  +
                                                  Toggle the current user optin value +on the current user and the crm
                                                  + +
                                                  + unsetActiveUser() + +  : void +
                                                  +
                                                  Remove active user +to prevent WPCrm::check to return true
                                                  + +
                                                  + bootSessionIfNeeded() + +  : void +
                                                  +
                                                  Boot the php session if needed
                                                  + +
                                                  + deleteUserFromTable() + +  : int +
                                                  +
                                                  Save or update the user to the table
                                                  + +
                                                  + getCustomer() + +  : Customer|null +
                                                  +
                                                  Get all customer infos
                                                  + +
                                                  + getWpDb() + +  : object +
                                                  +
                                                  Get WP 'pdo instance'
                                                  + +
                                                  + initLdcApi() + +  : CrmApiV2 +
                                                  +
                                                  Get the initialized API object
                                                  + +
                                                  + loginUserWithApi() + +  : bool +
                                                  +
                                                  Check customer credentials using the CRM.
                                                  + +
                                                  + makeApiV2Call() + +  : mixed|false +
                                                  +
                                                  Make a call using apiV2
                                                  + +
                                                  + query() + +  : int|bool +
                                                  +
                                                  Query in DB
                                                  + +
                                                  + saveOrUpdateUserToTable() + +  : int +
                                                  +
                                                  Save or update the user to the table
                                                  + +
                                                  + setUser() + +  : void +
                                                  +
                                                  Create a user +stores it to the session +and finally saves it to the database if it does not exists
                                                  + +
                                                  + + + + + + +
                                                  +

                                                  + Properties + +

                                                  +
                                                  +

                                                  + $api + + + +

                                                  + + +

                                                  The user object

                                                  + + + protected + static CrmApiV2 + $api + = null + + + + + +
                                                  +
                                                  +

                                                  + $user + + + +

                                                  + + +

                                                  The user object

                                                  + + + protected + static WPCrmUser + $user + = null + + + + + +
                                                  +
                                                  +

                                                  + $sessionDestroyed + + + +

                                                  + + +

                                                  The session live status

                                                  + + + private + static bool + $sessionDestroyed + = false + + + + + +
                                                  +
                                                  +

                                                  + $sessionKey + + + +

                                                  + + +

                                                  The session key name

                                                  + + + private + static string + $sessionKey + = null + + + + + +
                                                  +
                                                  + +
                                                  +

                                                  + Methods + +

                                                  +
                                                  +

                                                  + activateUser() + +

                                                  + + +

                                                  Toggle the current user optin value +on the current user and the crm

                                                  + + + public + static activateUser() : bool + + + + +
                                                  + Tags + +
                                                  +
                                                  +
                                                  + throws +
                                                  +
                                                  + ValidationException + +

                                                  If a customer's hashcode could not be validated.

                                                  +
                                                  + +
                                                  +
                                                  + throws +
                                                  +
                                                  + CrmException + +

                                                  If an error occurs on server side or on getting response.

                                                  +
                                                  + +
                                                  +
                                                  + throws +
                                                  +
                                                  + ApiErrorException + +

                                                  If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found. +- customerAlreadyActive, It the customer is already activated.

                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  Return values
                                                  + bool + — +

                                                  True if the operation succeeded.

                                                  +
                                                  + + +
                                                  +
                                                  +

                                                  + check() + +

                                                  + + +

                                                  Check if the user is logged in.

                                                  + + + public + static check() : bool + +

                                                  This means he has an active valid session.

                                                  +
                                                  + + + + +
                                                  Return values
                                                  + bool + — + + +
                                                  +
                                                  +

                                                  + deleteUser() + +

                                                  + + +

                                                  Delete current customer from +the local database and the crm

                                                  + + + public + static deleteUser() : bool + + + + +
                                                  + Tags + +
                                                  +
                                                  +
                                                  + throws +
                                                  +
                                                  + CrmException + +

                                                  If a critical error occured.

                                                  +
                                                  + +
                                                  +
                                                  + throws +
                                                  +
                                                  + ApiErrorException + +

                                                  If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found.

                                                  +
                                                  + +
                                                  +
                                                  + phpcs:ignore +
                                                  +
                                                  + +

                                                  Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  Return values
                                                  + bool + — +

                                                  true if the operation succeeded

                                                  +
                                                  + + +
                                                  +
                                                  +

                                                  + getNewUser() + +

                                                  + + +

                                                  Generate a new user

                                                  + + + public + static getNewUser() : WPCrmUser + + + + + +
                                                  Return values
                                                  + WPCrmUser + — + + +
                                                  +
                                                  +

                                                  + getUser() + +

                                                  + + +

                                                  Get the current user +return null if the user is not logged in

                                                  + + + public + static getUser() : WPCrmUser|null + + + + + +
                                                  Return values
                                                  + WPCrmUser|null + — + + +
                                                  +
                                                  +

                                                  + getUserFromApi() + +

                                                  + + +

                                                  Get the current user +return api response code if an error occurs

                                                  + + + public + static getUserFromApi(string $identification) : WPCrmUser|false + + +
                                                  Parameters
                                                  +
                                                  +
                                                  + $identification + : string +
                                                  +
                                                  +

                                                  The customer hashcode or email.

                                                  +
                                                  + +
                                                  +
                                                  + + +
                                                  + Tags + +
                                                  +
                                                  +
                                                  + throws +
                                                  +
                                                  + CrmException + +

                                                  If an error occurs on server side or on getting response.

                                                  +
                                                  + +
                                                  +
                                                  + throws +
                                                  +
                                                  + ApiErrorException + +

                                                  If any error or \LDC\LDCCRM\Enums\ApiError occurs.

                                                  +
                                                  + +
                                                  +
                                                  + phpcs:ignore +
                                                  +
                                                  + +

                                                  Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  Return values
                                                  + WPCrmUser|false + — + + +
                                                  +
                                                  +

                                                  + getUserFromTable() + +

                                                  + + +

                                                  Get a customer from table

                                                  + + + public + static getUserFromTable(string $hashcode) : array<string|int, mixed>|null + + +
                                                  Parameters
                                                  +
                                                  +
                                                  + $hashcode + : string +
                                                  +
                                                  +

                                                  The customer hashcode.

                                                  +
                                                  + +
                                                  +
                                                  + + + +
                                                  Return values
                                                  + array<string|int, mixed>|null + — +

                                                  Database query result in format specified by $output or null on failure.

                                                  +
                                                  + + +
                                                  +
                                                  +

                                                  + getUserFromTableByEmail() + +

                                                  + + +

                                                  Get a customer from table by an email

                                                  + + + public + static getUserFromTableByEmail(string $email) : array<string|int, mixed>|null + + +
                                                  Parameters
                                                  +
                                                  +
                                                  + $email + : string +
                                                  +
                                                  +

                                                  The customer email.

                                                  +
                                                  + +
                                                  +
                                                  + + + +
                                                  Return values
                                                  + array<string|int, mixed>|null + — +

                                                  Database query result in format specified by $output or null on failure.

                                                  +
                                                  + + +
                                                  +
                                                  +

                                                  + getUserFromTableByUuid() + +

                                                  + + +

                                                  Get a customer from table by an email

                                                  + + + public + static getUserFromTableByUuid(string $uuid) : array<string|int, mixed>|null + + +
                                                  Parameters
                                                  +
                                                  +
                                                  + $uuid + : string +
                                                  +
                                                  +

                                                  The customer transaction uuid.

                                                  +
                                                  + +
                                                  +
                                                  + + + +
                                                  Return values
                                                  + array<string|int, mixed>|null + — +

                                                  Database query result in format specified by $output or null on failure.

                                                  +
                                                  + + +
                                                  +
                                                  +

                                                  + login() + +

                                                  + + +

                                                  Try to login with CRM API +A session will be started if credentials are valid.

                                                  + + + public + static login(string $email, string $password) : WPCrmUser|false + + +
                                                  Parameters
                                                  +
                                                  +
                                                  + $email + : string +
                                                  +
                                                  +

                                                  The customer email.

                                                  +
                                                  + +
                                                  +
                                                  + $password + : string +
                                                  +
                                                  +

                                                  The customer password.

                                                  +
                                                  + +
                                                  +
                                                  + + +
                                                  + Tags + +
                                                  +
                                                  +
                                                  + throws +
                                                  +
                                                  + CrmException + +

                                                  If an error occurs on server side or on getting response.

                                                  +
                                                  + +
                                                  +
                                                  + throws +
                                                  +
                                                  + ApiErrorException + +

                                                  If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - authFailed, If credentials are not valid. +- customerNotActivated, If the account is not activated.

                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  Return values
                                                  + WPCrmUser|false + — + + +
                                                  +
                                                  +

                                                  + logout() + +

                                                  + + +

                                                  Destroy the customer from session +and therefore logout

                                                  + + + public + static logout() : void + + + + + +
                                                  Return values
                                                  + void + — + + +
                                                  +
                                                  +

                                                  + saveUser() + +

                                                  + + +

                                                  Save current customer to +the local database and on crm

                                                  + + + public + static saveUser() : bool + + + + +
                                                  + Tags + +
                                                  +
                                                  +
                                                  + throws +
                                                  +
                                                  + CrmException + +

                                                  If a critical error occured.

                                                  +
                                                  + +
                                                  +
                                                  + throws +
                                                  +
                                                  + ApiErrorException + +

                                                  If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side). +- modelNotFound, If this customer hashcode could not be found.

                                                  +
                                                  + +
                                                  +
                                                  + phpcs:ignore +
                                                  +
                                                  + +

                                                  Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  Return values
                                                  + bool + — +

                                                  true if the operation succeeded false otherwise

                                                  +
                                                  + + +
                                                  +
                                                  +

                                                  + setSingleOptin() + +

                                                  + + +

                                                  Set the single optin status for an email +on the crm

                                                  + + + public + static setSingleOptin(string $email, bool $opt_in) : bool + + +
                                                  Parameters
                                                  +
                                                  +
                                                  + $email + : string +
                                                  +
                                                  + +
                                                  +
                                                  + $opt_in + : bool +
                                                  +
                                                  + +
                                                  +
                                                  + + +
                                                  + Tags + +
                                                  +
                                                  +
                                                  + throws +
                                                  +
                                                  + ValidationException + +

                                                  If a field email could not be validated.

                                                  +
                                                  + +
                                                  +
                                                  + throws +
                                                  +
                                                  + CrmException + +

                                                  If an error occurs on server side or on getting response.

                                                  +
                                                  + +
                                                  +
                                                  + throws +
                                                  +
                                                  + ApiErrorException + +

                                                  If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - singleOptinCustomerExists, If a customer exists with this email.

                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  Return values
                                                  + bool + — +

                                                  true if the operation succeeded false otherwise

                                                  +
                                                  + + +
                                                  +
                                                  +

                                                  + toggleUserOptin() + +

                                                  + + +

                                                  Toggle the current user optin value +on the current user and the crm

                                                  + + + public + static toggleUserOptin() : bool + + + + +
                                                  + Tags + +
                                                  +
                                                  +
                                                  + throws +
                                                  +
                                                  + CrmException + +

                                                  If a critical error occured.

                                                  +
                                                  + +
                                                  +
                                                  + throws +
                                                  +
                                                  + ApiErrorException + +

                                                  If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found.

                                                  +
                                                  + +
                                                  +
                                                  + phpcs:ignore +
                                                  +
                                                  + +

                                                  Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  Return values
                                                  + bool + — +

                                                  true if the operation succeeded

                                                  +
                                                  + + +
                                                  +
                                                  +

                                                  + unsetActiveUser() + +

                                                  + + +

                                                  Remove active user +to prevent WPCrm::check to return true

                                                  + + + public + static unsetActiveUser() : void + + + + + +
                                                  Return values
                                                  + void + — + + +
                                                  +
                                                  +

                                                  + bootSessionIfNeeded() + +

                                                  + + +

                                                  Boot the php session if needed

                                                  + + + private + static bootSessionIfNeeded() : void + + + + + +
                                                  Return values
                                                  + void + — + + +
                                                  +
                                                  +

                                                  + deleteUserFromTable() + +

                                                  + + +

                                                  Save or update the user to the table

                                                  + + + private + static deleteUserFromTable() : int + + + + + +
                                                  Return values
                                                  + int + — +

                                                  The number of row removed from the table.

                                                  +
                                                  + + +
                                                  +
                                                  +

                                                  + getCustomer() + +

                                                  + + +

                                                  Get all customer infos

                                                  + + + private + static getCustomer() : Customer|null + + + + + +
                                                  Return values
                                                  + Customer|null + — + + +
                                                  +
                                                  +

                                                  + getWpDb() + +

                                                  + + +

                                                  Get WP 'pdo instance'

                                                  + + + private + static getWpDb() : object + + + + + +
                                                  Return values
                                                  + object + — +

                                                  The $wpdb variable

                                                  +
                                                  + + +
                                                  +
                                                  +

                                                  + initLdcApi() + +

                                                  + + +

                                                  Get the initialized API object

                                                  + + + private + static initLdcApi() : CrmApiV2 + + + + +
                                                  + Tags + +
                                                  +
                                                  +
                                                  + throws +
                                                  +
                                                  + ErrorException + +

                                                  If php does not have extension curl.

                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  Return values
                                                  + CrmApiV2 + — + + +
                                                  +
                                                  +

                                                  + loginUserWithApi() + +

                                                  + + +

                                                  Check customer credentials using the CRM.

                                                  + + + private + static loginUserWithApi(string $email, string $password) : bool + + +
                                                  Parameters
                                                  +
                                                  +
                                                  + $email + : string +
                                                  +
                                                  +

                                                  The customer email.

                                                  +
                                                  + +
                                                  +
                                                  + $password + : string +
                                                  +
                                                  +

                                                  The customer password.

                                                  +
                                                  + +
                                                  +
                                                  + + +
                                                  + Tags + +
                                                  +
                                                  +
                                                  + throws +
                                                  +
                                                  + CrmException + +

                                                  If an error occurs on server side or on getting response.

                                                  +
                                                  + +
                                                  +
                                                  + throws +
                                                  +
                                                  + ApiErrorException + +

                                                  If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - authFailed, If credentials are not valid. +- customerNotActivated, If the account is not activated.

                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  Return values
                                                  + bool + — + + +
                                                  +
                                                  +

                                                  + makeApiV2Call() + +

                                                  + + +

                                                  Make a call using apiV2

                                                  + + + private + static makeApiV2Call(object|string $obj, string $method[, array<string|int, mixed> $arguments = [] ]) : mixed|false + + +
                                                  Parameters
                                                  +
                                                  +
                                                  + $obj + : object|string +
                                                  +
                                                  +

                                                  An object or a class name.

                                                  +
                                                  + +
                                                  +
                                                  + $method + : string +
                                                  +
                                                  +

                                                  The method to call.

                                                  +
                                                  + +
                                                  +
                                                  + $arguments + : array<string|int, mixed> + = []
                                                  +
                                                  +

                                                  Arguments to pass.

                                                  +
                                                  + +
                                                  +
                                                  + + +
                                                  + Tags + +
                                                  +
                                                  +
                                                  + throws +
                                                  +
                                                  + ApiErrorException + +

                                                  If any of this exception is thrown.

                                                  +
                                                  + +
                                                  +
                                                  + throws +
                                                  +
                                                  + CrmException + +

                                                  If a critical error occured.

                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  Return values
                                                  + mixed|false + — + + +
                                                  +
                                                  +

                                                  + query() + +

                                                  + + +

                                                  Query in DB

                                                  + + + private + static query(string $query[, array<string|int, mixed> $params = [] ]) : int|bool + + +
                                                  Parameters
                                                  +
                                                  +
                                                  + $query + : string +
                                                  +
                                                  +

                                                  La request avec les variables en points d'interrogation.

                                                  +
                                                  + +
                                                  +
                                                  + $params + : array<string|int, mixed> + = []
                                                  +
                                                  +

                                                  Les paramètres des la requète.

                                                  +
                                                  + +
                                                  +
                                                  + + + +
                                                  Return values
                                                  + int|bool + — +

                                                  Boolean true for CREATE, ALTER, TRUNCATE and DROP queries. +Number of rows affected/selected for all other queries. Boolean false on error.

                                                  +
                                                  + + +
                                                  +
                                                  +

                                                  + saveOrUpdateUserToTable() + +

                                                  + + +

                                                  Save or update the user to the table

                                                  + + + private + static saveOrUpdateUserToTable() : int + + + + + +
                                                  Return values
                                                  + int + — +

                                                  The number of row affected on the table.

                                                  +
                                                  + + +
                                                  +
                                                  +

                                                  + setUser() + +

                                                  + + +

                                                  Create a user +stores it to the session +and finally saves it to the database if it does not exists

                                                  + + + private + static setUser(Customer $customer) : void + + +
                                                  Parameters
                                                  +
                                                  +
                                                  + $customer + : Customer +
                                                  +
                                                  + +
                                                  +
                                                  + + + +
                                                  Return values
                                                  + void + — + + +
                                                  +
                                                  + + + + +
                                                  +
                                                  +
                                                  +
                                                  +

                                                  Search results

                                                  + +
                                                  +
                                                  +
                                                    +
                                                    +
                                                    +
                                                    +
                                                    +
                                                    + + +
                                                    + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-WordPress-WPCrmAnswer.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-WordPress-WPCrmAnswer.html new file mode 100644 index 0000000..605ba07 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-WordPress-WPCrmAnswer.html @@ -0,0 +1,437 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                    +

                                                    CRM V2

                                                    + + + + + +
                                                    + +
                                                    +
                                                    + + + + +
                                                    + + +
                                                    +

                                                    + WPCrmAnswer + + +
                                                    + in package + +
                                                    + + +

                                                    + + + +

                                                    Class de gestion de la segmentation question avec Wordpress (ce truc immonde)

                                                    + + + +
                                                    + Tags + +
                                                    +
                                                    +
                                                    + category +
                                                    +
                                                    + +

                                                    API

                                                    +
                                                    + +
                                                    +
                                                    + subpackage +
                                                    +
                                                    + +

                                                    Wordpress

                                                    +
                                                    + +
                                                    +
                                                    + author +
                                                    +
                                                    + +

                                                    Jérémy Munsch jeremy.munsch@ldc.fr

                                                    +
                                                    + +
                                                    +
                                                    + license +
                                                    +
                                                    + +

                                                    MIT https://opensource.org/licenses/MIT

                                                    +
                                                    + +
                                                    +
                                                    + link +
                                                    +
                                                    + / + +
                                                    +
                                                    + + + + + + +

                                                    + Table of Contents + +

                                                    + +
                                                    +
                                                    + setQuestionAnswers() + +  : bool +
                                                    +
                                                    Set answers to a question for a specific user
                                                    + +
                                                    + + + + + + + +
                                                    +

                                                    + Methods + +

                                                    +
                                                    +

                                                    + setQuestionAnswers() + +

                                                    + + +

                                                    Set answers to a question for a specific user

                                                    + + + public + setQuestionAnswers(WPCrmUser $user, int $questionId, array<string|int, mixed> $answersId) : bool + + +
                                                    Parameters
                                                    +
                                                    +
                                                    + $user + : WPCrmUser +
                                                    +
                                                    + +
                                                    +
                                                    + $questionId + : int +
                                                    +
                                                    +

                                                    The question id .

                                                    +
                                                    + +
                                                    +
                                                    + $answersId + : array<string|int, mixed> +
                                                    +
                                                    +

                                                    An array with answers id .

                                                    +
                                                    + +
                                                    +
                                                    + + +
                                                    + Tags + +
                                                    +
                                                    +
                                                    + throws +
                                                    +
                                                    + CrmException + +

                                                    If an error occurs on server side or on getting response.

                                                    +
                                                    + +
                                                    +
                                                    + throws +
                                                    +
                                                    + ValidationException + +

                                                    If $user hashcode is not a valid UUID.

                                                    +
                                                    + +
                                                    +
                                                    + throws +
                                                    +
                                                    + ValidationException + +

                                                    If any of the provided ids are invalid.

                                                    +
                                                    + +
                                                    +
                                                    + throws +
                                                    +
                                                    + ApiErrorException + +

                                                    If any error \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If given ids are wrong(CRM side).

                                                    +
                                                    + +
                                                    +
                                                    + phpcs:ignore +
                                                    +
                                                    + +

                                                    Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                    +
                                                    + +
                                                    +
                                                    + +
                                                    Return values
                                                    + bool + — +

                                                    true if succeeded

                                                    +
                                                    + + +
                                                    +
                                                    + + + + +
                                                    +
                                                    +
                                                    +
                                                    +

                                                    Search results

                                                    + +
                                                    +
                                                    +
                                                      +
                                                      +
                                                      +
                                                      +
                                                      +
                                                      + + +
                                                      + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html new file mode 100644 index 0000000..6f19b9a --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html @@ -0,0 +1,592 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                      +

                                                      CRM V2

                                                      + + + + + +
                                                      + +
                                                      +
                                                      + + + + +
                                                      + + +
                                                      +

                                                      + WPCrmQuestion + + +
                                                      + in package + +
                                                      + + +

                                                      + + + +

                                                      Class de gestion de la segmentation question avec Wordpress (ce truc immonde)

                                                      + + + +
                                                      + Tags + +
                                                      +
                                                      +
                                                      + category +
                                                      +
                                                      + +

                                                      API

                                                      +
                                                      + +
                                                      +
                                                      + subpackage +
                                                      +
                                                      + +

                                                      Wordpress

                                                      +
                                                      + +
                                                      +
                                                      + author +
                                                      +
                                                      + +

                                                      Jérémy Munsch jeremy.munsch@ldc.fr

                                                      +
                                                      + +
                                                      +
                                                      + license +
                                                      +
                                                      + +

                                                      MIT https://opensource.org/licenses/MIT

                                                      +
                                                      + +
                                                      +
                                                      + link +
                                                      +
                                                      + / + +
                                                      +
                                                      + + + + + + +

                                                      + Table of Contents + +

                                                      + +
                                                      +
                                                      + allWithCustomerAnswers() + +  : array<string|int, mixed> +
                                                      +
                                                      Get all the questions with user answers
                                                      + +
                                                      + getAll() + +  : array<string|int, mixed> +
                                                      +
                                                      Get all questions only
                                                      + +
                                                      + unansweredBy() + +  : array<string|int, Question> +
                                                      +
                                                      Get unanswered question for a specific customer
                                                      + +
                                                      + + + + + + + +
                                                      +

                                                      + Methods + +

                                                      +
                                                      +

                                                      + allWithCustomerAnswers() + +

                                                      + + +

                                                      Get all the questions with user answers

                                                      + + + public + static allWithCustomerAnswers(WPCrmUser $user) : array<string|int, mixed> + + +
                                                      Parameters
                                                      +
                                                      +
                                                      + $user + : WPCrmUser +
                                                      +
                                                      + +
                                                      +
                                                      + + +
                                                      + Tags + +
                                                      +
                                                      +
                                                      + throws +
                                                      +
                                                      + CrmException + +

                                                      If an error occurs on server side or on getting response.

                                                      +
                                                      + +
                                                      +
                                                      + throws +
                                                      +
                                                      + ValidationException + +

                                                      If a hashcode is not a valid UUID.

                                                      +
                                                      + +
                                                      +
                                                      + throws +
                                                      +
                                                      + ValidationException + +

                                                      If any of the provided ids are invalid.

                                                      +
                                                      + +
                                                      +
                                                      + throws +
                                                      +
                                                      + ApiErrorException + +

                                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If the customer could not be found(CRM side).

                                                      +
                                                      + +
                                                      +
                                                      + phpcs:ignore +
                                                      +
                                                      + +

                                                      Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                      +
                                                      + +
                                                      +
                                                      + +
                                                      Return values
                                                      + array<string|int, mixed> + — +

                                                      Of \LDC\LDCCRM\Models\Question and their \LDC\LDCCRM\Models\Answer.

                                                      +
                                                      + + +
                                                      +
                                                      +

                                                      + getAll() + +

                                                      + + +

                                                      Get all questions only

                                                      + + + public + static getAll() : array<string|int, mixed> + + + + +
                                                      + Tags + +
                                                      +
                                                      +
                                                      + throws +
                                                      +
                                                      + CrmException + +

                                                      If an error occurs on server side or on getting response.

                                                      +
                                                      + +
                                                      +
                                                      + throws +
                                                      +
                                                      + ApiErrorException + +

                                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs.

                                                      +
                                                      + +
                                                      +
                                                      + phpcs:ignore +
                                                      +
                                                      + +

                                                      Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                      +
                                                      + +
                                                      +
                                                      + +
                                                      Return values
                                                      + array<string|int, mixed> + — +

                                                      Of \LDC\LDCCRM\Models\Question

                                                      +
                                                      + + +
                                                      +
                                                      +

                                                      + unansweredBy() + +

                                                      + + +

                                                      Get unanswered question for a specific customer

                                                      + + + public + static unansweredBy(WPCrmUser $user) : array<string|int, Question> + + +
                                                      Parameters
                                                      +
                                                      +
                                                      + $user + : WPCrmUser +
                                                      +
                                                      + +
                                                      +
                                                      + + +
                                                      + Tags + +
                                                      +
                                                      +
                                                      + throws +
                                                      +
                                                      + CrmException + +

                                                      If an error occurs on server side or on getting response.

                                                      +
                                                      + +
                                                      +
                                                      + throws +
                                                      +
                                                      + ValidationException + +

                                                      If $user hashcode is not a valid UUID.

                                                      +
                                                      + +
                                                      +
                                                      + throws +
                                                      +
                                                      + ApiErrorException + +

                                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If the customer could not be found(CRM side).

                                                      +
                                                      + +
                                                      +
                                                      + phpcs:ignore +
                                                      +
                                                      + +

                                                      Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                      +
                                                      + +
                                                      +
                                                      + +
                                                      Return values
                                                      + array<string|int, Question> + — + + +
                                                      +
                                                      + + + + +
                                                      +
                                                      +
                                                      +
                                                      +

                                                      Search results

                                                      + +
                                                      +
                                                      +
                                                        +
                                                        +
                                                        +
                                                        +
                                                        +
                                                        + + +
                                                        + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-WordPress-WPCrmUser.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-WordPress-WPCrmUser.html new file mode 100644 index 0000000..2976d9d --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-WordPress-WPCrmUser.html @@ -0,0 +1,1801 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                        +

                                                        CRM V2

                                                        + + + + + +
                                                        + +
                                                        +
                                                        + + + + +
                                                        + + +
                                                        +

                                                        + WPCrmUser + + +
                                                        + in package + +
                                                        + + + implements + JsonSerializable + +

                                                        + + + +

                                                        Class de gestion des users en session avec Wordpress (ce truc immonde)

                                                        + + + +
                                                        + Tags + +
                                                        +
                                                        +
                                                        + category +
                                                        +
                                                        + +

                                                        API

                                                        +
                                                        + +
                                                        +
                                                        + subpackage +
                                                        +
                                                        + +

                                                        Wordpress

                                                        +
                                                        + +
                                                        +
                                                        + author +
                                                        +
                                                        + +

                                                        Jérémy Munsch jeremy.munsch@ldc.fr

                                                        +
                                                        + +
                                                        +
                                                        + license +
                                                        +
                                                        + +

                                                        MIT https://opensource.org/licenses/MIT

                                                        +
                                                        + +
                                                        +
                                                        + link +
                                                        +
                                                        + / + +
                                                        +
                                                        + + + + +

                                                        + Interfaces, Classes and Traits + +

                                                        + +
                                                        +
                                                        JsonSerializable
                                                        +
                                                        + + +
                                                        + + +

                                                        + Table of Contents + +

                                                        + +
                                                        +
                                                        + $address + +  : string +
                                                        +
                                                        + +
                                                        + $address2 + +  : string +
                                                        +
                                                        + +
                                                        + $birth_date + +  : string +
                                                        +
                                                        + +
                                                        + $city + +  : string +
                                                        +
                                                        + +
                                                        + $country + +  : Country +
                                                        +
                                                        + +
                                                        + $email + +  : string +
                                                        +
                                                        + +
                                                        + $firstname + +  : string +
                                                        +
                                                        + +
                                                        + $hashcode + +  : string +
                                                        +
                                                        + +
                                                        + $last_connection + +  : string +
                                                        +
                                                        + +
                                                        + $lastname + +  : string +
                                                        +
                                                        + +
                                                        + $opt_in + +  : bool +
                                                        +
                                                        + +
                                                        + $password + +  : string +
                                                        +
                                                        + +
                                                        + $phone + +  : string +
                                                        +
                                                        + +
                                                        + $postcode + +  : string +
                                                        +
                                                        + +
                                                        + $status + +  : bool +
                                                        +
                                                        + +
                                                        + $uuidToken + +  : string +
                                                        +
                                                        + +
                                                        + $info + +  : Customer +
                                                        +
                                                        The CRM customer info (the api response)
                                                        + +
                                                        + $pemail + +  : string +
                                                        +
                                                        The CRM customer email
                                                        + +
                                                        + $phashcode + +  : string +
                                                        +
                                                        The CRM hashcode (UUID)
                                                        + +
                                                        + $uuidToken + +  : string +
                                                        +
                                                        The CRM customer temp uuidToken to validate transactions
                                                        + +
                                                        + __construct() + +  : mixed +
                                                        +
                                                        WPCrmUser construct
                                                        + +
                                                        + __get() + +  : bool|string|Country|null +
                                                        +
                                                        Generic accessor
                                                        + +
                                                        + __set() + +  : void +
                                                        +
                                                        Generic mutator
                                                        + +
                                                        + activate() + +  : bool +
                                                        +
                                                        Activate the account in the crm
                                                        + +
                                                        + delete() + +  : bool +
                                                        +
                                                        Delete current customer to +the local database and on crm
                                                        + +
                                                        + jsonSerialize() + +  : array<string|int, mixed> +
                                                        +
                                                        Serialize this object to an array
                                                        + +
                                                        + parseFromJson() + +  : WPCrmUser +
                                                        +
                                                        Generate a user from session data
                                                        + +
                                                        + save() + +  : bool +
                                                        +
                                                        Save current customer to +the local database and on crm
                                                        + +
                                                        + setInfo() + +  : void +
                                                        +
                                                        Set the customer info +with api response
                                                        + +
                                                        + toggleOptin() + +  : bool +
                                                        +
                                                        Toggle the current user optin value +on the current user and the crm
                                                        + +
                                                        + + + + + + +
                                                        +

                                                        + Properties + +

                                                        +
                                                        +

                                                        + $address + + + +

                                                        + + + + + public + string + $address + + +

                                                        The account address (street number, name, build, flat number)

                                                        +
                                                        + +
                                                        + + + +
                                                        +
                                                        +

                                                        + $address2 + + + +

                                                        + + + + + public + string + $address2 + + +

                                                        — The account phone (address complement)

                                                        +
                                                        + +
                                                        + + + +
                                                        +
                                                        +

                                                        + $birth_date + + + +

                                                        + + + + + public + string + $birth_date + + +

                                                        — The account birth date 'yyyy-mm-dd'

                                                        +
                                                        + +
                                                        + + + +
                                                        +
                                                        +

                                                        + $city + + + +

                                                        + + + + + public + string + $city + + +

                                                        — The account city name

                                                        +
                                                        + +
                                                        + + + +
                                                        +
                                                        +

                                                        + $country + + + +

                                                        + + + + + public + Country + $country + + +

                                                        — The account country residence

                                                        +
                                                        + +
                                                        + + + +
                                                        +
                                                        +

                                                        + $email + + + +

                                                        + + + + + public + string + $email + + +

                                                        — Must be a rfc valid email on a valid domain name

                                                        +
                                                        + +
                                                        + + + +
                                                        +
                                                        +

                                                        + $firstname + + + +

                                                        + + + + + public + string + $firstname + + +

                                                        — The account first name

                                                        +
                                                        + +
                                                        + + + +
                                                        +
                                                        +

                                                        + $hashcode + + + +

                                                        + + + + + public + string + $hashcode + + +

                                                        — The crm hashcode this is a readonly field

                                                        +
                                                        + +
                                                        + + + +
                                                        +
                                                        +

                                                        + $last_connection + + + +

                                                        + + + + + public + string + $last_connection + + +

                                                        the last time user was connected 'yyyy-mm-dd HH:ii:ss'

                                                        +
                                                        + +
                                                        + + + +
                                                        +
                                                        +

                                                        + $lastname + + + +

                                                        + + + + + public + string + $lastname + + +

                                                        — The account last name

                                                        +
                                                        + +
                                                        + + + +
                                                        +
                                                        +

                                                        + $opt_in + + + +

                                                        + + + + + public + bool + $opt_in + + +

                                                        — true if the account is opt in

                                                        +
                                                        + +
                                                        + + + +
                                                        +
                                                        +

                                                        + $password + + + +

                                                        + + + + + public + string + $password + + +

                                                        Required only on create, +must have upper and lowers chars, +at least 1 number, +at leat 1 upper char, +at least 1 lower char and +at leat 1 special char

                                                        +
                                                        + +
                                                        + + + +
                                                        +
                                                        +

                                                        + $phone + + + +

                                                        + + + + + public + string + $phone + + +

                                                        — The account phone

                                                        +
                                                        + +
                                                        + + + +
                                                        +
                                                        +

                                                        + $postcode + + + +

                                                        + + + + + public + string + $postcode + + +

                                                        — The account city postcode

                                                        +
                                                        + +
                                                        + + + +
                                                        +
                                                        +

                                                        + $status + + + +

                                                        + + + + + public + bool + $status + + +

                                                        — true if the account is activated

                                                        +
                                                        + +
                                                        + + + +
                                                        +
                                                        +

                                                        + $uuidToken + + + +

                                                        + + + + + public + string + $uuidToken + + +

                                                        — A local transaction token for this user

                                                        +
                                                        + +
                                                        + + + +
                                                        +
                                                        +

                                                        + $info + + + +

                                                        + + +

                                                        The CRM customer info (the api response)

                                                        + + + protected + Customer + $info + = null + + + + + +
                                                        +
                                                        +

                                                        + $pemail + + + +

                                                        + + +

                                                        The CRM customer email

                                                        + + + protected + string + $pemail + = null + + + + + +
                                                        +
                                                        +

                                                        + $phashcode + + + +

                                                        + + +

                                                        The CRM hashcode (UUID)

                                                        + + + protected + string + $phashcode + = null + + + + + +
                                                        +
                                                        +

                                                        + $uuidToken + + + +

                                                        + + +

                                                        The CRM customer temp uuidToken to validate transactions

                                                        + + + protected + string + $uuidToken + = null + + +

                                                        UUID

                                                        +
                                                        + + + +
                                                        +
                                                        + +
                                                        +

                                                        + Methods + +

                                                        +
                                                        +

                                                        + __construct() + +

                                                        + + +

                                                        WPCrmUser construct

                                                        + + + public + __construct([string $hashcode = null ][, string $email = null ]) : mixed + + +
                                                        Parameters
                                                        +
                                                        +
                                                        + $hashcode + : string + = null
                                                        +
                                                        +

                                                        The customer hashcode (UUID).

                                                        +
                                                        + +
                                                        +
                                                        + $email + : string + = null
                                                        +
                                                        +

                                                        The customer email.

                                                        +
                                                        + +
                                                        +
                                                        + + + +
                                                        Return values
                                                        + mixed + — + + +
                                                        +
                                                        +

                                                        + __get() + +

                                                        + + +

                                                        Generic accessor

                                                        + + + public + __get(string $prop) : bool|string|Country|null + + +
                                                        Parameters
                                                        +
                                                        +
                                                        + $prop + : string +
                                                        +
                                                        +

                                                        The prop to get.

                                                        +
                                                        + +
                                                        +
                                                        + + + +
                                                        Return values
                                                        + bool|string|Country|null + — + + +
                                                        +
                                                        +

                                                        + __set() + +

                                                        + + +

                                                        Generic mutator

                                                        + + + public + __set(string $prop, mixed $value) : void + + +
                                                        Parameters
                                                        +
                                                        +
                                                        + $prop + : string +
                                                        +
                                                        +

                                                        The property to assign.

                                                        +
                                                        + +
                                                        +
                                                        + $value + : mixed +
                                                        +
                                                        +

                                                        The value to set.

                                                        +
                                                        + +
                                                        +
                                                        + + + +
                                                        Return values
                                                        + void + — + + +
                                                        +
                                                        +

                                                        + activate() + +

                                                        + + +

                                                        Activate the account in the crm

                                                        + + + public + activate() : bool + + + + +
                                                        + Tags + +
                                                        +
                                                        +
                                                        + throws +
                                                        +
                                                        + ValidationException + +

                                                        If a customer's hashcode could not be validated.

                                                        +
                                                        + +
                                                        +
                                                        + throws +
                                                        +
                                                        + CrmException + +

                                                        If an error occurs on server side or on getting response.

                                                        +
                                                        + +
                                                        +
                                                        + throws +
                                                        +
                                                        + ApiErrorException + +

                                                        If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found. +- customerAlreadyActive, It the customer is already activated.

                                                        +
                                                        + +
                                                        +
                                                        + +
                                                        Return values
                                                        + bool + — +

                                                        true if succeeded

                                                        +
                                                        + + +
                                                        +
                                                        +

                                                        + delete() + +

                                                        + + +

                                                        Delete current customer to +the local database and on crm

                                                        + + + public + delete() : bool + + + + +
                                                        + Tags + +
                                                        +
                                                        +
                                                        + throws +
                                                        +
                                                        + CrmException + +

                                                        If a critical error occured.

                                                        +
                                                        + +
                                                        +
                                                        + throws +
                                                        +
                                                        + ApiErrorException + +

                                                        If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found.

                                                        +
                                                        + +
                                                        +
                                                        + +
                                                        Return values
                                                        + bool + — +

                                                        true if the operation succeeded false otherwise

                                                        +
                                                        + + +
                                                        +
                                                        +

                                                        + jsonSerialize() + +

                                                        + + +

                                                        Serialize this object to an array

                                                        + + + public + jsonSerialize() : array<string|int, mixed> + + + + + +
                                                        Return values
                                                        + array<string|int, mixed> + — + + +
                                                        +
                                                        +

                                                        + parseFromJson() + +

                                                        + + +

                                                        Generate a user from session data

                                                        + + + public + static parseFromJson(string $string) : WPCrmUser + + +
                                                        Parameters
                                                        +
                                                        +
                                                        + $string + : string +
                                                        +
                                                        +

                                                        The json data stored in session.

                                                        +
                                                        + +
                                                        +
                                                        + + +
                                                        + Tags + +
                                                        +
                                                        +
                                                        + throws +
                                                        +
                                                        + WpCrmInvalidJsonUserInfo + +

                                                        If the json string does no +contain the needed information.

                                                        +
                                                        + +
                                                        +
                                                        + +
                                                        Return values
                                                        + WPCrmUser + — + + +
                                                        +
                                                        +

                                                        + save() + +

                                                        + + +

                                                        Save current customer to +the local database and on crm

                                                        + + + public + save() : bool + + + + +
                                                        + Tags + +
                                                        +
                                                        +
                                                        + throws +
                                                        +
                                                        + CrmException + +

                                                        If a critical error occured.

                                                        +
                                                        + +
                                                        +
                                                        + throws +
                                                        +
                                                        + ApiErrorException + +

                                                        If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side). +- modelNotFound, If this customer hashcode could not be found.

                                                        +
                                                        + +
                                                        +
                                                        + +
                                                        Return values
                                                        + bool + — +

                                                        true if the operation succeeded false otherwise

                                                        +
                                                        + + +
                                                        +
                                                        +

                                                        + setInfo() + +

                                                        + + +

                                                        Set the customer info +with api response

                                                        + + + public + setInfo(Customer $customer) : void + + +
                                                        Parameters
                                                        +
                                                        +
                                                        + $customer + : Customer +
                                                        +
                                                        +

                                                        The Api object reponse (user).

                                                        +
                                                        + +
                                                        +
                                                        + + + +
                                                        Return values
                                                        + void + — + + +
                                                        +
                                                        +

                                                        + toggleOptin() + +

                                                        + + +

                                                        Toggle the current user optin value +on the current user and the crm

                                                        + + + public + toggleOptin() : bool + + + + +
                                                        + Tags + +
                                                        +
                                                        +
                                                        + throws +
                                                        +
                                                        + CrmException + +

                                                        If a critical error occured.

                                                        +
                                                        + +
                                                        +
                                                        + throws +
                                                        +
                                                        + ApiErrorException + +

                                                        If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found.

                                                        +
                                                        + +
                                                        +
                                                        + +
                                                        Return values
                                                        + bool + — +

                                                        true if the operation succeeded

                                                        +
                                                        + + +
                                                        +
                                                        + + + + +
                                                        +
                                                        +
                                                        +
                                                        +

                                                        Search results

                                                        + +
                                                        +
                                                        +
                                                          +
                                                          +
                                                          +
                                                          +
                                                          +
                                                          + + +
                                                          + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/css/base.css b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/css/base.css new file mode 100644 index 0000000..db4e807 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/css/base.css @@ -0,0 +1,1087 @@ + +:root { + /* Typography */ + --font-primary: 'Source Sans Pro', Helvetica, Arial, sans-serif; + --font-secondary: 'Source Sans Pro', Helvetica, Arial, sans-serif; + --font-monospace: 'Source Code Pro', monospace; + --line-height--primary: 1.6; + --letter-spacing--primary: .05rem; + --text-base-size: 1em; + --text-scale-ratio: 1.2; + + --text-xxs: calc(var(--text-base-size) / var(--text-scale-ratio) / var(--text-scale-ratio) / var(--text-scale-ratio)); + --text-xs: calc(var(--text-base-size) / var(--text-scale-ratio) / var(--text-scale-ratio)); + --text-sm: calc(var(--text-base-size) / var(--text-scale-ratio)); + --text-md: var(--text-base-size); + --text-lg: calc(var(--text-base-size) * var(--text-scale-ratio)); + --text-xl: calc(var(--text-base-size) * var(--text-scale-ratio) * var(--text-scale-ratio)); + --text-xxl: calc(var(--text-base-size) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio)); + --text-xxxl: calc(var(--text-base-size) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio)); + --text-xxxxl: calc(var(--text-base-size) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio)); + --text-xxxxxl: calc(var(--text-base-size) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio)); + + /* Colors */ + --primary-color: hsl(96, 57%, 60%); + --primary-color-darken: hsl(96, 57%, 40%); + --primary-color-darker: hsl(96, 57%, 20%); + --primary-color-darkest: hsl(96, 57%, 10%); + --primary-color-lighten: hsl(96, 57%, 80%); + --primary-color-lighter: hsl(96, 57%, 99%); + --dark-gray: #d1d1d1; + --light-gray: #f0f0f0; + + --text-color: var(--primary-color-darkest); + + --header-height: var(--spacing-xxxxl); + --header-bg-color: var(--primary-color); + --code-background-color: #f7faf5; + --code-border-color: #d6e7cb; + --button-border-color: var(--primary-color-darken); + --button-color: transparent; + --button-color-primary: var(--primary-color); + --button-text-color: #555; + --button-text-color-primary: white; + --popover-background-color: rgba(255, 255, 255, 0.75); + --link-color-primary: var(--primary-color-darken); + --link-hover-color-primary: var(--primary-color-darker); + --form-field-border-color: var(--dark-gray); + --form-field-color: #fff; + --admonition-success-color: var(--primary-color); + --admonition-border-color: silver; + --table-separator-color: var(--primary-color-lighten); + --title-text-color: var(--primary-color); + + --sidebar-border-color: var(--primary-color-lighten); + + /* Grid */ + --container-width: 1400px; + + /* Spacing */ + --spacing-base-size: 1rem; + --spacing-scale-ratio: 1.5; + + --spacing-xxxs: calc(var(--spacing-base-size) / var(--spacing-scale-ratio) / var(--spacing-scale-ratio) / var(--spacing-scale-ratio) / var(--spacing-scale-ratio)); + --spacing-xxs: calc(var(--spacing-base-size) / var(--spacing-scale-ratio) / var(--spacing-scale-ratio) / var(--spacing-scale-ratio)); + --spacing-xs: calc(var(--spacing-base-size) / var(--spacing-scale-ratio) / var(--spacing-scale-ratio)); + --spacing-sm: calc(var(--spacing-base-size) / var(--spacing-scale-ratio)); + --spacing-md: var(--spacing-base-size); + --spacing-lg: calc(var(--spacing-base-size) * var(--spacing-scale-ratio)); + --spacing-xl: calc(var(--spacing-base-size) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio)); + --spacing-xxl: calc(var(--spacing-base-size) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio)); + --spacing-xxxl: calc(var(--spacing-base-size) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio)); + --spacing-xxxxl: calc(var(--spacing-base-size) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio)); + + --border-radius-base-size: 3px; +} + +/* Base Styles +-------------------------------------------------- */ +body { + color: var(--text-color); + font-family: var(--font-primary); + font-size: var(--text-md); + letter-spacing: var(--letter-spacing--primary); + line-height: var(--line-height--primary); +} + +.phpdocumentor h1, +.phpdocumentor h2, +.phpdocumentor h3, +.phpdocumentor h4, +.phpdocumentor h5, +.phpdocumentor h6 { + margin-bottom: var(--spacing-lg); + margin-top: var(--spacing-lg); + font-weight: 600; +} + +.phpdocumentor h1 { + font-size: var(--text-xxxxl); + letter-spacing: var(--letter-spacing--primary); + line-height: 1.2; + margin-top: 0; +} + +.phpdocumentor h2 { + font-size: var(--text-xxxl); + letter-spacing: var(--letter-spacing--primary); + line-height: 1.25; +} + +.phpdocumentor h3 { + font-size: var(--text-xxl); + letter-spacing: var(--letter-spacing--primary); + line-height: 1.3; +} + +.phpdocumentor h4 { + font-size: var(--text-xl); + letter-spacing: calc(var(--letter-spacing--primary) / 2); + line-height: 1.35; + margin-bottom: var(--spacing-md); +} + +.phpdocumentor h5 { + font-size: var(--text-lg); + letter-spacing: calc(var(--letter-spacing--primary) / 4); + line-height: 1.5; + margin-bottom: var(--spacing-md); + margin-top: var(--spacing-md); +} + +.phpdocumentor h6 { + font-size: var(--text-md); + letter-spacing: 0; + line-height: var(--line-height--primary); + margin-bottom: var(--spacing-md); + margin-top: var(--spacing-md); +} + +.phpdocumentor h1 .headerlink, +.phpdocumentor h2 .headerlink, +.phpdocumentor h3 .headerlink, +.phpdocumentor h4 .headerlink, +.phpdocumentor h5 .headerlink, +.phpdocumentor h6 .headerlink +{ + transition: all .3s ease-in-out; + opacity: 0; + text-decoration: none; + color: silver; + font-size: 80%; +} + +.phpdocumentor h1:hover .headerlink, +.phpdocumentor h2:hover .headerlink, +.phpdocumentor h3:hover .headerlink, +.phpdocumentor h4:hover .headerlink, +.phpdocumentor h5:hover .headerlink, +.phpdocumentor h6:hover .headerlink +{ + opacity: 1; +} +.phpdocumentor p { + margin-top: 0; + margin-bottom: var(--spacing-md); +} +.phpdocumentor figure { + margin-bottom: var(--spacing-md); +} + +.phpdocumentor figcaption { + text-align: center; + font-style: italic; + font-size: 80%; +} +.phpdocumentor-line { + border-top: 1px solid #E1E1E1; + border-width: 0; + margin-bottom: var(--spacing-xxl); + margin-top: var(--spacing-xxl); +} +.phpdocumentor-section { + box-sizing: border-box; + margin: 0 auto; + max-width: var(--container-width); + padding: 0 var(--spacing-lg); + position: relative; + width: 100%; +} + +@media (min-width: 1200px) { + .phpdocumentor-section { + padding: 0; + width: 95%; + } +} +.phpdocumentor-column { + box-sizing: border-box; + float: left; + width: 100%; +} + +@media (min-width: 550px) { + .phpdocumentor-column { + margin-left: 4%; + } + + .phpdocumentor-column:first-child { + margin-left: 0; + } + + .-one.phpdocumentor-column { + width: 4.66666666667%; + } + + .-two.phpdocumentor-column { + width: 13.3333333333%; + } + + .-three.phpdocumentor-column { + width: 22%; + } + + .-four.phpdocumentor-column { + width: 30.6666666667%; + } + + .-five.phpdocumentor-column { + width: 39.3333333333%; + } + + .-six.phpdocumentor-column { + width: 48%; + } + + .-seven.phpdocumentor-column { + width: 56.6666666667%; + } + + .-eight.phpdocumentor-column { + width: 65.3333333333%; + } + + .-nine.phpdocumentor-column { + width: 74.0%; + } + + .-ten.phpdocumentor-column { + width: 82.6666666667%; + } + + .-eleven.phpdocumentor-column { + width: 91.3333333333%; + } + + .-twelve.phpdocumentor-column { + margin-left: 0; + width: 100%; + } + + .-one-third.phpdocumentor-column { + width: 30.6666666667%; + } + + .-two-thirds.phpdocumentor-column { + width: 65.3333333333%; + } + + .-one-half.phpdocumentor-column { + width: 48%; + } + + /* Offsets */ + .-offset-by-one.phpdocumentor-column { + margin-left: 8.66666666667%; + } + + .-offset-by-two.phpdocumentor-column { + margin-left: 17.3333333333%; + } + + .-offset-by-three.phpdocumentor-column { + margin-left: 26%; + } + + .-offset-by-four.phpdocumentor-column { + margin-left: 34.6666666667%; + } + + .-offset-by-five.phpdocumentor-column { + margin-left: 43.3333333333%; + } + + .-offset-by-six.phpdocumentor-column { + margin-left: 52%; + } + + .-offset-by-seven.phpdocumentor-column { + margin-left: 60.6666666667%; + } + + .-offset-by-eight.phpdocumentor-column { + margin-left: 69.3333333333%; + } + + .-offset-by-nine.phpdocumentor-column { + margin-left: 78.0%; + } + + .-offset-by-ten.phpdocumentor-column { + margin-left: 86.6666666667%; + } + + .-offset-by-eleven.phpdocumentor-column { + margin-left: 95.3333333333%; + } + + .-offset-by-one-third.phpdocumentor-column { + margin-left: 34.6666666667%; + } + + .-offset-by-two-thirds.phpdocumentor-column { + margin-left: 69.3333333333%; + } + + .-offset-by-one-half.phpdocumentor-column { + margin-left: 52%; + } +} +.phpdocumentor a { + color: var(--link-color-primary); +} + +.phpdocumentor a:hover { + color: var(--link-hover-color-primary); +} +.phpdocumentor-button { + background-color: var(--button-color); + border: 1px solid var(--button-border-color); + border-radius: var(--border-radius-base-size); + box-sizing: border-box; + color: var(--button-text-color); + cursor: pointer; + display: inline-block; + font-size: var(--text-sm); + font-weight: 600; + height: 38px; + letter-spacing: .1rem; + line-height: 38px; + padding: 0 var(--spacing-xxl); + text-align: center; + text-decoration: none; + text-transform: uppercase; + white-space: nowrap; + margin-bottom: var(--spacing-md); +} + +.phpdocumentor-button .-wide { + width: 100%; +} + +.phpdocumentor-button:hover, +.phpdocumentor-button:focus { + border-color: #888; + color: #333; + outline: 0; +} + +.phpdocumentor-button.-primary { + background-color: var(--button-color-primary); + border-color: var(--button-color-primary); + color: var(--button-text-color-primary); +} + +.phpdocumentor-button.-primary:hover, +.phpdocumentor-button.-primary:focus { + background-color: var(--link-color-primary); + border-color: var(--link-color-primary); + color: var(--button-text-color-primary); +} +.phpdocumentor form { + margin-bottom: var(--spacing-md); +} + +.phpdocumentor-field { + background-color: var(--form-field-color); + border: 1px solid var(--form-field-border-color); + border-radius: var(--border-radius-base-size); + box-shadow: none; + box-sizing: border-box; + height: 38px; + padding: var(--spacing-xxxs) var(--spacing-xxs); /* The 6px vertically centers text on FF, ignored by Webkit */ + margin-bottom: var(--spacing-md); +} + +/* Removes awkward default styles on some inputs for iOS */ +input[type="email"], +input[type="number"], +input[type="search"], +input[type="text"], +input[type="tel"], +input[type="url"], +input[type="password"], +textarea { + -moz-appearance: none; + -webkit-appearance: none; + appearance: none; +} + +.phpdocumentor-textarea { + min-height: 65px; + padding-bottom: var(--spacing-xxxs); + padding-top: var(--spacing-xxxs); +} + +.phpdocumentor-field:focus { + border: 1px solid var(--button-color-primary); + outline: 0; +} + +.phpdocumentor-label { + display: block; + margin-bottom: var(--spacing-xs); +} + +.phpdocumentor-fieldset { + border-width: 0; + padding: 0; +} + +input[type="checkbox"].phpdocumentor-field, +input[type="radio"].phpdocumentor-field { + display: inline; +} +div.phpdocumentor-list > ul, +ul.phpdocumentor-list { + list-style: circle inside; +} + +ol.phpdocumentor-list { + list-style: decimal inside; +} + +div.phpdocumentor-list > ul, +ol.phpdocumentor-list, +ul.phpdocumentor-list { + margin-top: 0; + padding-left: 0; + margin-bottom: var(--spacing-md); +} + +dl { + margin-bottom: var(--spacing-md); +} + +div.phpdocumentor-list > ul ul, +ul.phpdocumentor-list ul.phpdocumentor-list, +ul.phpdocumentor-list ol.phpdocumentor-list, +ol.phpdocumentor-list ol.phpdocumentor-list, +ol.phpdocumentor-list ul.phpdocumentor-list { + font-size: var(--text-sm); + margin: var(--spacing-xs) 0 var(--spacing-xs) calc(var(--spacing-xs) * 2); +} + +li.phpdocumentor-list { + margin-bottom: var(--spacing-md); +} + +.phpdocumentor dl dt { + margin-bottom: var(--spacing-xs); +} + +.phpdocumentor dl dd { + margin-bottom: var(--spacing-md); +} +.phpdocumentor pre { + margin-bottom: var(--spacing-md); +} + +.phpdocumentor-code { + font-family: var(--font-monospace); + background: var(--code-background-color); + border: 1px solid var(--code-border-color); + border-radius: var(--border-radius-base-size); + font-size: var(--text-sm); + padding: var(--spacing-sm) var(--spacing-md); + width: 100%; + box-sizing: border-box; +} + +.phpdocumentor-code.-dark { + background: var(--primary-color-darkest); + color: var(--light-gray); + box-shadow: 0 2px 3px var(--dark-gray); +} + +pre > .phpdocumentor-code { + display: block; + white-space: pre; +} +.phpdocumentor blockquote { + border-left: 4px solid var(--primary-color-darken); + margin: var(--spacing-md) 0; + padding: var(--spacing-xs) var(--spacing-sm); + color: var(--primary-color-darker); + font-style: italic; +} + +.phpdocumentor blockquote p:last-of-type { + margin-bottom: 0; +} +.phpdocumentor table { + margin-bottom: var(--spacing-md); +} + +th.phpdocumentor-heading, +td.phpdocumentor-cell { + border-bottom: 1px solid var(--table-separator-color); + padding: var(--spacing-sm) var(--spacing-md); + text-align: left; +} + +th.phpdocumentor-heading:first-child, +td.phpdocumentor-cell:first-child { + padding-left: 0; +} + +th.phpdocumentor-heading:last-child, +td.phpdocumentor-cell:last-child { + padding-right: 0; +} + +.phpdocumentor-header { + display: flex; + flex-direction: row; + align-items: stretch; + flex-wrap: wrap; + justify-content: space-between; + height: auto; + padding: var(--spacing-md) var(--spacing-md); +} + +.phpdocumentor-header__menu-button { + position: absolute; + top: -100%; + left: -100%; +} + +.phpdocumentor-header__menu-icon { + font-size: 2rem; + color: var(--primary-color); +} + +.phpdocumentor-header__menu-button:checked ~ .phpdocumentor-topnav { + max-height: 250px; + padding-top: var(--spacing-md); +} + +@media (min-width: 1000px) { + .phpdocumentor-header { + flex-direction: row; + padding: var(--spacing-lg) var(--spacing-lg); + min-height: var(--header-height); + } + + .phpdocumentor-header__menu-icon { + display: none; + } +} + +@media (min-width: 1000px) { + .phpdocumentor-header { + padding-top: 0; + padding-bottom: 0; + } +} +@media (min-width: 1200px) { + .phpdocumentor-header { + padding: 0; + } +} +.phpdocumentor-title { + box-sizing: border-box; + color: var(--title-text-color); + font-size: var(--text-xxl); + letter-spacing: .05rem; + font-weight: normal; + width: auto; + margin: 0; + display: flex; + align-items: center; +} + +.phpdocumentor-title.-without-divider { + border: none; +} + +.phpdocumentor-title__link { + transition: all .3s ease-out; + display: flex; + color: var(--title-text-color); + text-decoration: none; + font-weight: normal; + white-space: nowrap; + transform: scale(.75); + transform-origin: left; +} + +.phpdocumentor-title__link:hover { + transform: perspective(15rem) translateX(.5rem); + font-weight: 600; +} + +@media (min-width: 1000px) { + .phpdocumentor-title { + width: 30.6666666667%; + border-right: var(--sidebar-border-color) solid 1px; + } + + .phpdocumentor-title__link { + transform-origin: left; + } +} + +@media (min-width: 1000px) { + .phpdocumentor-title__link { + transform: scale(.85); + } +} + +@media (min-width: 1200px) { + .phpdocumentor-title__link { + transform: scale(1); + } +} +.phpdocumentor-topnav { + display: flex; + align-items: center; + margin: 0; + max-height: 0; + overflow: hidden; + transition: max-height 0.2s ease-out; + flex-basis: 100%; +} + +.phpdocumentor-topnav__menu { + text-align: right; + list-style: none; + margin: 0; + padding: 0; + flex: 1; + display: flex; + flex-flow: row wrap; + justify-content: center; +} + +.phpdocumentor-topnav__menu-item { + margin: 0; + width: 100%; + display: inline-block; + text-align: center; + padding: var(--spacing-sm) 0 +} + +.phpdocumentor-topnav__menu-item.-social { + width: auto; + padding: var(--spacing-sm) +} + +.phpdocumentor-topnav__menu-item a { + display: inline-block; + color: var(--text-color); + text-decoration: none; + font-size: var(--text-lg); + transition: all .3s ease-out; + border-bottom: 1px dotted transparent; + line-height: 1; +} + +.phpdocumentor-topnav__menu-item a:hover { + transform: perspective(15rem) translateY(.1rem); + border-bottom: 1px dotted var(--text-color); +} + +@media (min-width: 1000px) { + .phpdocumentor-topnav { + max-height: none; + overflow: visible; + flex-basis: auto; + } + + .phpdocumentor-topnav__menu { + display: flex; + flex-flow: row wrap; + justify-content: flex-end; + } + + .phpdocumentor-topnav__menu-item, + .phpdocumentor-topnav__menu-item.-social { + width: auto; + display: inline; + text-align: right; + padding: 0 0 0 var(--spacing-md) + } +} +.phpdocumentor-sidebar { + margin: 0; + overflow: hidden; + max-height: 0; +} + +.phpdocumentor .phpdocumentor-sidebar .phpdocumentor-list { + padding: var(--spacing-xs) var(--spacing-md); + list-style: none; + margin: 0; +} + +.phpdocumentor .phpdocumentor-sidebar li { + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; + padding: 0 0 var(--spacing-xxxs) var(--spacing-md); +} + +.phpdocumentor .phpdocumentor-sidebar abbr, +.phpdocumentor .phpdocumentor-sidebar a { + text-decoration: none; + border-bottom: none; + color: var(--text-color); + font-size: var(--text-md); + padding-left: 0; + transition: padding-left .4s ease-out; +} + +.phpdocumentor .phpdocumentor-sidebar a:hover { + padding-left: 5px; + font-weight: 600; +} + +.phpdocumentor .phpdocumentor-sidebar__category > * { + border-left: 1px solid var(--primary-color-lighten); +} + +.phpdocumentor .phpdocumentor-sidebar__category { + margin-bottom: var(--spacing-lg); +} + +.phpdocumentor .phpdocumentor-sidebar__category-header { + font-size: var(--text-md); + margin-bottom: var(--spacing-xs); + color: var(--link-color-primary); + font-weight: 600; + border-left: 0; +} + +.phpdocumentor .phpdocumentor-sidebar__root-package, +.phpdocumentor .phpdocumentor-sidebar__root-namespace { + font-size: var(--text-md); + margin: 0; + padding-top: var(--spacing-xs); + padding-left: var(--spacing-md); + color: var(--text-color); + font-weight: normal; +} + +@media (min-width: 550px) { + .phpdocumentor-sidebar { + border-right: var(--sidebar-border-color) solid 1px; + } +} + +.phpdocumentor-sidebar__menu-button { + position: absolute; + top: -100%; + left: -100%; +} + +.phpdocumentor-sidebar__menu-icon { + font-size: var(--text-md); + font-weight: 600; + background: var(--primary-color); + color: white; + margin: 0 0 var(--spacing-lg); + display: block; + padding: var(--spacing-sm); + text-align: center; + border-radius: 3px; + text-transform: uppercase; + letter-spacing: .15rem; +} + +.phpdocumentor-sidebar__menu-button:checked ~ .phpdocumentor-sidebar { + max-height: 100%; + padding-top: var(--spacing-md); +} + +@media (min-width: 550px) { + .phpdocumentor-sidebar { + overflow: visible; + max-height: 100%; + } + + .phpdocumentor-sidebar__menu-icon { + display: none; + } +} +.phpdocumentor-admonition { + border: 1px solid var(--admonition-border-color); + border-radius: var(--border-radius-base-size); + border-color: var(--primary-color-lighten); + background-color: var(--primary-color-lighter); + padding: var(--spacing-lg); + margin: var(--spacing-lg) 0; + display: flex; + flex-direction: row; + align-items: flex-start; +} + +.phpdocumentor-admonition p:last-of-type { + margin-bottom: 0; +} + +.phpdocumentor-admonition--success, +.phpdocumentor-admonition.-success { + border-color: var(--admonition-success-color); +} + +.phpdocumentor-admonition__icon { + margin-right: var(--spacing-md); + color: var(--primary-color); + max-width: 3rem; +} +.phpdocumentor ul.phpdocumentor-breadcrumbs { + font-size: var(--text-md); + list-style: none; + margin: 0; + padding: 0; +} + +.phpdocumentor ul.phpdocumentor-breadcrumbs a { + color: var(--text-color); + text-decoration: none; +} + +.phpdocumentor ul.phpdocumentor-breadcrumbs > li { + display: inline-block; + margin: 0; +} + +.phpdocumentor ul.phpdocumentor-breadcrumbs > li + li:before { + color: var(--dark-gray); + content: "\\\A0"; + padding: 0; +} +.phpdocumentor .phpdocumentor-back-to-top { + position: fixed; + bottom: 2rem; + font-size: 2.5rem; + opacity: .25; + transition: all .3s ease-in-out; + right: 2rem; +} + +.phpdocumentor .phpdocumentor-back-to-top:hover { + color: var(--link-color-primary); + opacity: 1; +} +.phpdocumentor-search { + position: relative; + display: none; /** disable by default for non-js flow */ + opacity: .3; /** white-out default for loading indication */ + transition: opacity .3s, background .3s; + margin: var(--spacing-sm) 0; + flex: 1; + min-width: 100%; +} + +.phpdocumentor-search label { + display: flex; + align-items: center; + flex: 1; +} + +.phpdocumentor-search__icon { + color: var(--primary-color); + margin-right: var(--spacing-sm); + width: 1rem; + height: 1rem; +} + +.phpdocumentor-search--enabled { + display: flex; +} + +.phpdocumentor-search--active { + opacity: 1; +} + +.phpdocumentor-search input:disabled { + background-color: lightgray; +} + +.phpdocumentor-search__field:focus, +.phpdocumentor-search__field { + margin-bottom: 0; + border: 0; + border-bottom: 2px solid var(--primary-color); + padding: 0; + border-radius: 0; + flex: 1; +} + +@media (min-width: 1000px) { + .phpdocumentor-search { + min-width: auto; + max-width: 20rem; + margin: 0 0 0 auto; + } +} +.phpdocumentor-content { + position: relative; +} + +.phpdocumentor-search-results { + backdrop-filter: blur(5px); + background: var(--popover-background-color); + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + padding: 0; + opacity: 1; + pointer-events: all; + + transition: opacity .3s, background .3s; +} + +.phpdocumentor-search-results--hidden { + background: transparent; + backdrop-filter: blur(0); + opacity: 0; + pointer-events: none; +} + +.phpdocumentor-search-results__dialog { + width: 100%; + background: white; + max-height: 100%; + display: flex; + flex-direction: column; +} + +.phpdocumentor-search-results__body { + overflow: auto; +} + +.phpdocumentor-search-results__header { + padding: var(--spacing-lg); + display: flex; + justify-content: space-between; + background: var(--primary-color-darken); + color: white; + align-items: center; +} + +.phpdocumentor-search-results__close { + font-size: var(--text-xl); + background: none; + border: none; + padding: 0; + margin: 0; +} + +.phpdocumentor .phpdocumentor-search-results__title { + font-size: var(--text-xl); + margin-bottom: 0; +} + +.phpdocumentor-search-results__entries { + list-style: none; + padding: 0 var(--spacing-lg); + margin: 0; +} + +.phpdocumentor-search-results__entry { + border-bottom: 1px solid var(--table-separator-color); + padding: var(--spacing-sm) 0; + text-align: left; +} + +.phpdocumentor-search-results__entry a { + display: block; +} + +.phpdocumentor-search-results__entry small { + margin-top: var(--spacing-xs); + margin-bottom: var(--spacing-md); + color: var(--primary-color-darker); + display: block; + word-break: break-word; +} + +.phpdocumentor-search-results__entry h3 { + font-size: var(--text-lg); + margin: 0; +} + +@media (min-width: 550px) { + .phpdocumentor-search-results { + padding: 0 var(--spacing-lg); + } + + .phpdocumentor-search-results__entry h3 { + font-size: var(--text-xxl); + } + + .phpdocumentor-search-results__dialog { + margin: var(--spacing-xl) auto; + max-width: 40rem; + background: white; + border: 1px solid silver; + box-shadow: 0 2px 5px silver; + max-height: 40rem; + border-radius: 3px; + } +} +.phpdocumentor-modal { + position: fixed; + width: 100vw; + height: 100vh; + opacity: 0; + visibility: hidden; + transition: all 0.3s ease; + top: 0; + left: 0; + display: flex; + align-items: center; + justify-content: center; +} + +.phpdocumentor-modal__open { + visibility: visible; + opacity: 1; + transition-delay: 0s; +} + +.phpdocumentor-modal-bg { + position: absolute; + background: gray; + opacity: 50%; + width: 100%; + height: 100%; +} + +.phpdocumentor-modal-container { + border-radius: 1em; + background: #fff; + position: relative; + padding: 2em; +} + +.phpdocumentor-modal__close { + position: absolute; + right: 0.75em; + top: 0.75em; + outline: none; + appearance: none; + color: var(--primary-color); + background: none; + border: 0px; + font-weight: bold; + cursor: pointer; +} + +/* Used for screen readers and such */ +.visually-hidden { + display: none; +} + +.float-right { + float: right; +} + +.float-left { + float: left; +} diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/css/normalize.css b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/css/normalize.css new file mode 100644 index 0000000..579152b --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/css/normalize.css @@ -0,0 +1,427 @@ +/*! normalize.css v3.0.2 | MIT License | git.io/normalize */ + +/** + * 1. Set default font family to sans-serif. + * 2. Prevent iOS text size adjust after orientation change, without disabling + * user zoom. + */ + +html { + font-family: sans-serif; /* 1 */ + -ms-text-size-adjust: 100%; /* 2 */ + -webkit-text-size-adjust: 100%; /* 2 */ +} + +/** + * Remove default margin. + */ + +body { + margin: 0; +} + +/* HTML5 display definitions + ========================================================================== */ + +/** + * Correct `block` display not defined for any HTML5 element in IE 8/9. + * Correct `block` display not defined for `details` or `summary` in IE 10/11 + * and Firefox. + * Correct `block` display not defined for `main` in IE 11. + */ + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +menu, +nav, +section, +summary { + display: block; +} + +/** + * 1. Correct `inline-block` display not defined in IE 8/9. + * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. + */ + +audio, +canvas, +progress, +video { + display: inline-block; /* 1 */ + vertical-align: baseline; /* 2 */ +} + +/** + * Prevent modern browsers from displaying `audio` without controls. + * Remove excess height in iOS 5 devices. + */ + +audio:not([controls]) { + display: none; + height: 0; +} + +/** + * Address `[hidden]` styling not present in IE 8/9/10. + * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22. + */ + +[hidden], +template { + display: none; +} + +/* Links + ========================================================================== */ + +/** + * Remove the gray background color from active links in IE 10. + */ + +a { + background-color: transparent; +} + +/** + * Improve readability when focused and also mouse hovered in all browsers. + */ + +a:active, +a:hover { + outline: 0; +} + +/* Text-level semantics + ========================================================================== */ + +/** + * Address styling not present in IE 8/9/10/11, Safari, and Chrome. + */ + +abbr[title] { + border-bottom: 1px dotted; +} + +/** + * Address style set to `bolder` in Firefox 4+, Safari, and Chrome. + */ + +b, +strong { + font-weight: bold; +} + +/** + * Address styling not present in Safari and Chrome. + */ + +dfn { + font-style: italic; +} + +/** + * Address variable `h1` font-size and margin within `section` and `article` + * contexts in Firefox 4+, Safari, and Chrome. + */ + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +/** + * Address styling not present in IE 8/9. + */ + +mark { + background: #ff0; + color: #000; +} + +/** + * Address inconsistent and variable font size in all browsers. + */ + +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` affecting `line-height` in all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +/* Embedded content + ========================================================================== */ + +/** + * Remove border when inside `a` element in IE 8/9/10. + */ + +img { + border: 0; +} + +/** + * Correct overflow not hidden in IE 9/10/11. + */ + +svg:not(:root) { + overflow: hidden; +} + +/* Grouping content + ========================================================================== */ + +/** + * Address margin not present in IE 8/9 and Safari. + */ + +figure { + margin: 1em 40px; +} + +/** + * Address differences between Firefox and other browsers. + */ + +hr { + -moz-box-sizing: content-box; + box-sizing: content-box; + height: 0; +} + +/** + * Contain overflow in all browsers. + */ + +pre { + overflow: auto; +} + +/** + * Address odd `em`-unit font size rendering in all browsers. + */ + +code, +kbd, +pre, +samp { + font-family: var(--font-monospace); + font-size: 1em; +} + +/* Forms + ========================================================================== */ + +/** + * Known limitation: by default, Chrome and Safari on OS X allow very limited + * styling of `select`, unless a `border` property is set. + */ + +/** + * 1. Correct color not being inherited. + * Known issue: affects color of disabled elements. + * 2. Correct font properties not being inherited. + * 3. Address margins set differently in Firefox 4+, Safari, and Chrome. + */ + +button, +input, +optgroup, +select, +textarea { + color: inherit; /* 1 */ + font: inherit; /* 2 */ + margin: 0; /* 3 */ +} + +/** + * Address `overflow` set to `hidden` in IE 8/9/10/11. + */ + +button { + overflow: visible; +} + +/** + * Address inconsistent `text-transform` inheritance for `button` and `select`. + * All other form control elements do not inherit `text-transform` values. + * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera. + * Correct `select` style inheritance in Firefox. + */ + +button, +select { + text-transform: none; +} + +/** + * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` + * and `video` controls. + * 2. Correct inability to style clickable `input` types in iOS. + * 3. Improve usability and consistency of cursor style between image-type + * `input` and others. + */ + +button, +html input[type="button"], /* 1 */ +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; /* 2 */ + cursor: pointer; /* 3 */ +} + +/** + * Re-set default cursor for disabled elements. + */ + +button[disabled], +html input[disabled] { + cursor: default; +} + +/** + * Remove inner padding and border in Firefox 4+. + */ + +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + padding: 0; +} + +/** + * Address Firefox 4+ setting `line-height` on `input` using `!important` in + * the UA stylesheet. + */ + +input { + line-height: normal; +} + +/** + * It's recommended that you don't attempt to style these elements. + * Firefox's implementation doesn't respect box-sizing, padding, or width. + * + * 1. Address box sizing set to `content-box` in IE 8/9/10. + * 2. Remove excess padding in IE 8/9/10. + */ + +input[type="checkbox"], +input[type="radio"] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * Fix the cursor style for Chrome's increment/decrement buttons. For certain + * `font-size` values of the `input`, it causes the cursor style of the + * decrement button to change from `default` to `text`. + */ + +input[type="number"]::-webkit-inner-spin-button, +input[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +/** + * 1. Address `appearance` set to `searchfield` in Safari and Chrome. + * 2. Address `box-sizing` set to `border-box` in Safari and Chrome + * (include `-moz` to future-proof). + */ + +input[type="search"] { + -webkit-appearance: textfield; /* 1 */ + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; /* 2 */ + box-sizing: content-box; +} + +/** + * Remove inner padding and search cancel button in Safari and Chrome on OS X. + * Safari (but not Chrome) clips the cancel button when the search input has + * padding (and `textfield` appearance). + */ + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * Define consistent border, margin, and padding. + */ + +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; +} + +/** + * 1. Correct `color` not being inherited in IE 8/9/10/11. + * 2. Remove padding so people aren't caught out if they zero out fieldsets. + */ + +legend { + border: 0; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * Remove default vertical scrollbar in IE 8/9/10/11. + */ + +textarea { + overflow: auto; +} + +/** + * Don't inherit the `font-weight` (applied by a rule above). + * NOTE: the default cannot safely be changed in Chrome and Safari on OS X. + */ + +optgroup { + font-weight: bold; +} + +/* Tables + ========================================================================== */ + +/** + * Remove most spacing between table cells. + */ + +table { + border-collapse: collapse; + border-spacing: 0; +} + +td, +th { + padding: 0; +} diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/css/template.css b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/css/template.css new file mode 100644 index 0000000..31f00e3 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/css/template.css @@ -0,0 +1,188 @@ +.phpdocumentor-summary { + font-style: italic; +} +.phpdocumentor-description { + margin-bottom: var(--spacing-md); +} +.phpdocumentor-element { + position: relative; +} + +.phpdocumentor .phpdocumentor-element__name { + line-height: 1; +} + +.phpdocumentor-element__package, +.phpdocumentor-element__extends, +.phpdocumentor-element__implements { + display: block; + font-size: var(--text-xxs); + font-weight: normal; + opacity: .7; +} + +.phpdocumentor-element__package .phpdocumentor-breadcrumbs { + display: inline; +} + +.phpdocumentor-element:not(:last-child) { + border-bottom: 1px solid var(--primary-color-lighten); + padding-bottom: var(--spacing-lg); +} + +.phpdocumentor-element.-deprecated .phpdocumentor-element__name { + text-decoration: line-through; +} + +.phpdocumentor-element__modifier { + font-size: var(--text-xxs); + padding: calc(var(--spacing-base-size) / 4) calc(var(--spacing-base-size) / 2); + color: var(--text-color); + background-color: var(--light-gray); + border-radius: 3px; + text-transform: uppercase; +} +.phpdocumentor-signature { + display: inline-block; + font-size: var(--text-sm); + margin-bottom: var(--spacing-md); +} + +.phpdocumentor-signature.-deprecated .phpdocumentor-signature__name { + text-decoration: line-through; +} +.phpdocumentor-table-of-contents { +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry { + padding-top: var(--spacing-xs); + margin-left: 2rem; + display: flex; +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry > a { + flex: 0 1 auto; +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry > span { + flex: 1; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry:after { + content: ''; + height: 12px; + width: 12px; + left: 16px; + position: absolute; +} +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-private:after { + background: url('data:image/svg+xml;utf8,') no-repeat; +} +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-protected:after { + left: 13px; + background: url('data:image/svg+xml;utf8,') no-repeat; +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry:before { + width: 1.25rem; + height: 1.25rem; + line-height: 1.25rem; + background: transparent url('data:image/svg+xml;utf8,') no-repeat center center; + content: ''; + position: absolute; + left: 0; + border-radius: 50%; + font-weight: 600; + color: white; + text-align: center; + font-size: .75rem; + margin-top: .2rem; +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-method:before { + content: 'M'; + background-image: url('data:image/svg+xml;utf8,'); +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-function:before { + content: 'M'; + background-image: url('data:image/svg+xml;utf8,'); +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-property:before { + content: 'P' +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-constant:before { + content: 'C'; + background-color: transparent; + background-image: url('data:image/svg+xml;utf8,'); +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-class:before { + content: 'C' +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-interface:before { + content: 'I' +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-trait:before { + content: 'T' +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-namespace:before { + content: 'N' +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-package:before { + content: 'P' +} + +.phpdocumentor-table-of-contents dd { + font-style: italic; + margin-left: 2rem; +} +.phpdocumentor-element-found-in { + position: absolute; + top: 0; + right: 0; + font-size: var(--text-sm); + color: gray; +} + +.phpdocumentor-element-found-in .phpdocumentor-element-found-in__source { + flex: 0 1 auto; + display: inline-flex; +} + +.phpdocumentor-element-found-in .phpdocumentor-element-found-in__source:after { + width: 1.25rem; + height: 1.25rem; + line-height: 1.25rem; + background: transparent url('data:image/svg+xml;utf8,') no-repeat center center; + content: ''; + left: 0; + border-radius: 50%; + font-weight: 600; + text-align: center; + font-size: .75rem; + margin-top: .2rem; +} +.phpdocumentor-class-graph { + width: 100%; height: 600px; border:1px solid black; overflow: hidden +} + +.phpdocumentor-class-graph__graph { + width: 100%; +} +.phpdocumentor-tag-list__definition { + display: flex; +} + +.phpdocumentor-tag-link { + margin-right: var(--spacing-sm); +} diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/examples-customerexample.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/examples-customerexample.html new file mode 100644 index 0000000..d26f76d --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/examples-customerexample.html @@ -0,0 +1,162 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                          +

                                                          CRM V2

                                                          + + + + + +
                                                          + +
                                                          +
                                                          + + + + +
                                                          +
                                                            +
                                                          + +
                                                          +

                                                          CustomerExample.php

                                                          + + +
                                                          + + + + + + + + + + + + + + +
                                                          +
                                                          +
                                                          +
                                                          +

                                                          Search results

                                                          + +
                                                          +
                                                          +
                                                            +
                                                            +
                                                            +
                                                            +
                                                            +
                                                            + + +
                                                            + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-crmapiv2.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-crmapiv2.html new file mode 100644 index 0000000..7d879d1 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-crmapiv2.html @@ -0,0 +1,173 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                            +

                                                            CRM V2

                                                            + + + + + +
                                                            + +
                                                            +
                                                            + + + + +
                                                            +
                                                              +
                                                            + +
                                                            +

                                                            CrmApiV2.php

                                                            + + +
                                                            + + + + + + +

                                                            + Interfaces, Classes and Traits + +

                                                            + +
                                                            + +
                                                            CrmApiV2
                                                            +
                                                            This is the main class to interact with the CRM
                                                            + +
                                                            + + + + + + + + +
                                                            +
                                                            +
                                                            +
                                                            +

                                                            Search results

                                                            + +
                                                            +
                                                            +
                                                              +
                                                              +
                                                              +
                                                              +
                                                              +
                                                              + + +
                                                              + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-enums-apierror.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-enums-apierror.html new file mode 100644 index 0000000..e9164b4 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-enums-apierror.html @@ -0,0 +1,173 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                              +

                                                              CRM V2

                                                              + + + + + +
                                                              + +
                                                              +
                                                              + + + + +
                                                              +
                                                                +
                                                              + +
                                                              +

                                                              ApiError.php

                                                              + + +
                                                              + + + + + + +

                                                              + Interfaces, Classes and Traits + +

                                                              + +
                                                              + +
                                                              ApiError
                                                              +
                                                              This describes an API error.
                                                              + +
                                                              + + + + + + + + +
                                                              +
                                                              +
                                                              +
                                                              +

                                                              Search results

                                                              + +
                                                              +
                                                              +
                                                                +
                                                                +
                                                                +
                                                                +
                                                                +
                                                                + + +
                                                                + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-enums-apistatus.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-enums-apistatus.html new file mode 100644 index 0000000..50c855a --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-enums-apistatus.html @@ -0,0 +1,173 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                +

                                                                CRM V2

                                                                + + + + + +
                                                                + +
                                                                +
                                                                + + + + +
                                                                +
                                                                  +
                                                                + +
                                                                +

                                                                ApiStatus.php

                                                                + + +
                                                                + + + + + + +

                                                                + Interfaces, Classes and Traits + +

                                                                + +
                                                                + +
                                                                ApiStatus
                                                                +
                                                                + +
                                                                + + + + + + + + +
                                                                +
                                                                +
                                                                +
                                                                +

                                                                Search results

                                                                + +
                                                                +
                                                                +
                                                                  +
                                                                  +
                                                                  +
                                                                  +
                                                                  +
                                                                  + + +
                                                                  + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-enums-arcadiamailtype.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-enums-arcadiamailtype.html new file mode 100644 index 0000000..8188097 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-enums-arcadiamailtype.html @@ -0,0 +1,173 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                  +

                                                                  CRM V2

                                                                  + + + + + +
                                                                  + +
                                                                  +
                                                                  + + + + +
                                                                  +
                                                                    +
                                                                  + +
                                                                  +

                                                                  ArcadiaMailType.php

                                                                  + + +
                                                                  + + + + + + +

                                                                  + Interfaces, Classes and Traits + +

                                                                  + +
                                                                  + +
                                                                  ArcadiaMailType
                                                                  +
                                                                  + +
                                                                  + + + + + + + + +
                                                                  +
                                                                  +
                                                                  +
                                                                  +

                                                                  Search results

                                                                  + +
                                                                  +
                                                                  +
                                                                    +
                                                                    +
                                                                    +
                                                                    +
                                                                    +
                                                                    + + +
                                                                    + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-enums-arcadiaordertype.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-enums-arcadiaordertype.html new file mode 100644 index 0000000..7628230 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-enums-arcadiaordertype.html @@ -0,0 +1,173 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                    +

                                                                    CRM V2

                                                                    + + + + + +
                                                                    + +
                                                                    +
                                                                    + + + + +
                                                                    +
                                                                      +
                                                                    + +
                                                                    +

                                                                    ArcadiaOrderType.php

                                                                    + + +
                                                                    + + + + + + +

                                                                    + Interfaces, Classes and Traits + +

                                                                    + +
                                                                    + +
                                                                    ArcadiaOrderType
                                                                    +
                                                                    + +
                                                                    + + + + + + + + +
                                                                    +
                                                                    +
                                                                    +
                                                                    +

                                                                    Search results

                                                                    + +
                                                                    +
                                                                    +
                                                                      +
                                                                      +
                                                                      +
                                                                      +
                                                                      +
                                                                      + + +
                                                                      + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-enums-country.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-enums-country.html new file mode 100644 index 0000000..b8fd6e0 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-enums-country.html @@ -0,0 +1,173 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                      +

                                                                      CRM V2

                                                                      + + + + + +
                                                                      + +
                                                                      +
                                                                      + + + + +
                                                                      +
                                                                        +
                                                                      + +
                                                                      +

                                                                      Country.php

                                                                      + + +
                                                                      + + + + + + +

                                                                      + Interfaces, Classes and Traits + +

                                                                      + +
                                                                      + +
                                                                      Country
                                                                      +
                                                                      Liste de Pays
                                                                      + +
                                                                      + + + + + + + + +
                                                                      +
                                                                      +
                                                                      +
                                                                      +

                                                                      Search results

                                                                      + +
                                                                      +
                                                                      +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        + + +
                                                                        + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-enums-httpmethods.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-enums-httpmethods.html new file mode 100644 index 0000000..7229c55 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-enums-httpmethods.html @@ -0,0 +1,162 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                        +

                                                                        CRM V2

                                                                        + + + + + +
                                                                        + +
                                                                        +
                                                                        + + + + +
                                                                        +
                                                                          +
                                                                        + +
                                                                        +

                                                                        HttpMethods.php

                                                                        + + +
                                                                        + + + + + + + + + + + + + + +
                                                                        +
                                                                        +
                                                                        +
                                                                        +

                                                                        Search results

                                                                        + +
                                                                        +
                                                                        +
                                                                          +
                                                                          +
                                                                          +
                                                                          +
                                                                          +
                                                                          + + +
                                                                          + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-enums-loglevel.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-enums-loglevel.html new file mode 100644 index 0000000..ea00f52 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-enums-loglevel.html @@ -0,0 +1,173 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                          +

                                                                          CRM V2

                                                                          + + + + + +
                                                                          + +
                                                                          +
                                                                          + + + + +
                                                                          +
                                                                            +
                                                                          + +
                                                                          +

                                                                          LogLevel.php

                                                                          + + +
                                                                          + + + + + + +

                                                                          + Interfaces, Classes and Traits + +

                                                                          + +
                                                                          + +
                                                                          LogLevel
                                                                          +
                                                                          + +
                                                                          + + + + + + + + +
                                                                          +
                                                                          +
                                                                          +
                                                                          +

                                                                          Search results

                                                                          + +
                                                                          +
                                                                          +
                                                                            +
                                                                            +
                                                                            +
                                                                            +
                                                                            +
                                                                            + + +
                                                                            + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-enums-questiontype.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-enums-questiontype.html new file mode 100644 index 0000000..d3587ff --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-enums-questiontype.html @@ -0,0 +1,173 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                            +

                                                                            CRM V2

                                                                            + + + + + +
                                                                            + +
                                                                            +
                                                                            + + + + +
                                                                            +
                                                                              +
                                                                            + +
                                                                            +

                                                                            QuestionType.php

                                                                            + + +
                                                                            + + + + + + +

                                                                            + Interfaces, Classes and Traits + +

                                                                            + +
                                                                            + +
                                                                            QuestionType
                                                                            +
                                                                            + +
                                                                            + + + + + + + + +
                                                                            +
                                                                            +
                                                                            +
                                                                            +

                                                                            Search results

                                                                            + +
                                                                            +
                                                                            +
                                                                              +
                                                                              +
                                                                              +
                                                                              +
                                                                              +
                                                                              + + +
                                                                              + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-exceptions-accesserror.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-exceptions-accesserror.html new file mode 100644 index 0000000..d53d80f --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-exceptions-accesserror.html @@ -0,0 +1,173 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                              +

                                                                              CRM V2

                                                                              + + + + + +
                                                                              + +
                                                                              +
                                                                              + + + + +
                                                                              +
                                                                                +
                                                                              + +
                                                                              +

                                                                              AccessError.php

                                                                              + + +
                                                                              + + + + + + +

                                                                              + Interfaces, Classes and Traits + +

                                                                              + +
                                                                              + +
                                                                              AccessError
                                                                              +
                                                                              This is thrown when trying to set a value on an object property that does not exist.
                                                                              + +
                                                                              + + + + + + + + +
                                                                              +
                                                                              +
                                                                              +
                                                                              +

                                                                              Search results

                                                                              + +
                                                                              +
                                                                              +
                                                                                +
                                                                                +
                                                                                +
                                                                                +
                                                                                +
                                                                                + + +
                                                                                + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-exceptions-apierrorexception.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-exceptions-apierrorexception.html new file mode 100644 index 0000000..67c7520 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-exceptions-apierrorexception.html @@ -0,0 +1,175 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                +

                                                                                CRM V2

                                                                                + + + + + +
                                                                                + +
                                                                                +
                                                                                + + + + +
                                                                                +
                                                                                  +
                                                                                + +
                                                                                +

                                                                                ApiErrorException.php

                                                                                + + +
                                                                                + + + + + + +

                                                                                + Interfaces, Classes and Traits + +

                                                                                + +
                                                                                + +
                                                                                ApiErrorException
                                                                                +
                                                                                This would be thrown if any of the case +referenced in \LDC\LDCCRM\Enums\ApiError would +occur within the crm
                                                                                + +
                                                                                + + + + + + + + +
                                                                                +
                                                                                +
                                                                                +
                                                                                +

                                                                                Search results

                                                                                + +
                                                                                +
                                                                                +
                                                                                  +
                                                                                  +
                                                                                  +
                                                                                  +
                                                                                  +
                                                                                  + + +
                                                                                  + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-exceptions-crmexception.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-exceptions-crmexception.html new file mode 100644 index 0000000..75ac072 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-exceptions-crmexception.html @@ -0,0 +1,173 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                  +

                                                                                  CRM V2

                                                                                  + + + + + +
                                                                                  + +
                                                                                  +
                                                                                  + + + + +
                                                                                  +
                                                                                    +
                                                                                  + +
                                                                                  +

                                                                                  CrmException.php

                                                                                  + + +
                                                                                  + + + + + + +

                                                                                  + Interfaces, Classes and Traits + +

                                                                                  + +
                                                                                  + +
                                                                                  CrmException
                                                                                  +
                                                                                  This is a critical error.
                                                                                  + +
                                                                                  + + + + + + + + +
                                                                                  +
                                                                                  +
                                                                                  +
                                                                                  +

                                                                                  Search results

                                                                                  + +
                                                                                  +
                                                                                  +
                                                                                    +
                                                                                    +
                                                                                    +
                                                                                    +
                                                                                    +
                                                                                    + + +
                                                                                    + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-exceptions-skipvalidationexception.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-exceptions-skipvalidationexception.html new file mode 100644 index 0000000..0bc7082 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-exceptions-skipvalidationexception.html @@ -0,0 +1,173 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                    +

                                                                                    CRM V2

                                                                                    + + + + + +
                                                                                    + +
                                                                                    +
                                                                                    + + + + +
                                                                                    +
                                                                                      +
                                                                                    + +
                                                                                    +

                                                                                    SkipValidationException.php

                                                                                    + + +
                                                                                    + + + + + + +

                                                                                    + Interfaces, Classes and Traits + +

                                                                                    + +
                                                                                    + +
                                                                                    SkipValidationException
                                                                                    +
                                                                                    Used only for internal validator
                                                                                    + +
                                                                                    + + + + + + + + +
                                                                                    +
                                                                                    +
                                                                                    +
                                                                                    +

                                                                                    Search results

                                                                                    + +
                                                                                    +
                                                                                    +
                                                                                      +
                                                                                      +
                                                                                      +
                                                                                      +
                                                                                      +
                                                                                      + + +
                                                                                      + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-exceptions-validationexception.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-exceptions-validationexception.html new file mode 100644 index 0000000..dfadef5 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-exceptions-validationexception.html @@ -0,0 +1,174 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                      +

                                                                                      CRM V2

                                                                                      + + + + + +
                                                                                      + +
                                                                                      +
                                                                                      + + + + +
                                                                                      +
                                                                                        +
                                                                                      + +
                                                                                      +

                                                                                      ValidationException.php

                                                                                      + + +
                                                                                      + + + + + + +

                                                                                      + Interfaces, Classes and Traits + +

                                                                                      + +
                                                                                      + +
                                                                                      ValidationException
                                                                                      +
                                                                                      This would be thrown if a data could not be validated +on any models
                                                                                      + +
                                                                                      + + + + + + + + +
                                                                                      +
                                                                                      +
                                                                                      +
                                                                                      +

                                                                                      Search results

                                                                                      + +
                                                                                      +
                                                                                      +
                                                                                        +
                                                                                        +
                                                                                        +
                                                                                        +
                                                                                        +
                                                                                        + + +
                                                                                        + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-exceptions-wpcrminvalidjsonuserinfo.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-exceptions-wpcrminvalidjsonuserinfo.html new file mode 100644 index 0000000..56757be --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-exceptions-wpcrminvalidjsonuserinfo.html @@ -0,0 +1,173 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                        +

                                                                                        CRM V2

                                                                                        + + + + + +
                                                                                        + +
                                                                                        +
                                                                                        + + + + +
                                                                                        +
                                                                                          +
                                                                                        + +
                                                                                        +

                                                                                        WpCrmInvalidJsonUserInfo.php

                                                                                        + + +
                                                                                        + + + + + + +

                                                                                        + Interfaces, Classes and Traits + +

                                                                                        + +
                                                                                        + +
                                                                                        WpCrmInvalidJsonUserInfo
                                                                                        +
                                                                                        This is thrown when trying to read WP customer from DB json data.
                                                                                        + +
                                                                                        + + + + + + + + +
                                                                                        +
                                                                                        +
                                                                                        +
                                                                                        +

                                                                                        Search results

                                                                                        + +
                                                                                        +
                                                                                        +
                                                                                          +
                                                                                          +
                                                                                          +
                                                                                          +
                                                                                          +
                                                                                          + + +
                                                                                          + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-models-answer.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-models-answer.html new file mode 100644 index 0000000..a75ad59 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-models-answer.html @@ -0,0 +1,174 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                          +

                                                                                          CRM V2

                                                                                          + + + + + +
                                                                                          + +
                                                                                          +
                                                                                          + + + + +
                                                                                          +
                                                                                            +
                                                                                          + +
                                                                                          +

                                                                                          Answer.php

                                                                                          + + +
                                                                                          + + + + + + +

                                                                                          + Interfaces, Classes and Traits + +

                                                                                          + +
                                                                                          + +
                                                                                          Answer
                                                                                          +
                                                                                          This class represents an answer +It has a method to submit answers
                                                                                          + +
                                                                                          + + + + + + + + +
                                                                                          +
                                                                                          +
                                                                                          +
                                                                                          +

                                                                                          Search results

                                                                                          + +
                                                                                          +
                                                                                          +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            + + +
                                                                                            + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-models-arcadiamaildefault.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-models-arcadiamaildefault.html new file mode 100644 index 0000000..e38cdd1 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-models-arcadiamaildefault.html @@ -0,0 +1,174 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                            +

                                                                                            CRM V2

                                                                                            + + + + + +
                                                                                            + +
                                                                                            +
                                                                                            + + + + +
                                                                                            +
                                                                                              +
                                                                                            + +
                                                                                            +

                                                                                            ArcadiaMailDefault.php

                                                                                            + + +
                                                                                            + + + + + + +

                                                                                            + Interfaces, Classes and Traits + +

                                                                                            + +
                                                                                            + +
                                                                                            ArcadiaMailDefault
                                                                                            +
                                                                                            This class represents the customer info with +the account validation status
                                                                                            + +
                                                                                            + + + + + + + + +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Search results

                                                                                            + +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                              +
                                                                                              +
                                                                                              +
                                                                                              +
                                                                                              + + +
                                                                                              + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-models-arcadiamailgame.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-models-arcadiamailgame.html new file mode 100644 index 0000000..bb2b6fe --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-models-arcadiamailgame.html @@ -0,0 +1,174 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                              +

                                                                                              CRM V2

                                                                                              + + + + + +
                                                                                              + +
                                                                                              +
                                                                                              + + + + +
                                                                                              +
                                                                                                +
                                                                                              + +
                                                                                              +

                                                                                              ArcadiaMailGame.php

                                                                                              + + +
                                                                                              + + + + + + +

                                                                                              + Interfaces, Classes and Traits + +

                                                                                              + +
                                                                                              + +
                                                                                              ArcadiaMailGame
                                                                                              +
                                                                                              This class represents the customer info with +the account validation status
                                                                                              + +
                                                                                              + + + + + + + + +
                                                                                              +
                                                                                              +
                                                                                              +
                                                                                              +

                                                                                              Search results

                                                                                              + +
                                                                                              +
                                                                                              +
                                                                                                +
                                                                                                +
                                                                                                +
                                                                                                +
                                                                                                +
                                                                                                + + +
                                                                                                + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-models-crmclientmodel.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-models-crmclientmodel.html new file mode 100644 index 0000000..d811a9c --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-models-crmclientmodel.html @@ -0,0 +1,162 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                +

                                                                                                CRM V2

                                                                                                + + + + + +
                                                                                                + +
                                                                                                +
                                                                                                + + + + +
                                                                                                +
                                                                                                  +
                                                                                                + +
                                                                                                +

                                                                                                CrmClientModel.php

                                                                                                + + +
                                                                                                + + + + + + + + + + + + + + +
                                                                                                +
                                                                                                +
                                                                                                +
                                                                                                +

                                                                                                Search results

                                                                                                + +
                                                                                                +
                                                                                                +
                                                                                                  +
                                                                                                  +
                                                                                                  +
                                                                                                  +
                                                                                                  +
                                                                                                  + + +
                                                                                                  + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-models-customer.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-models-customer.html new file mode 100644 index 0000000..6fea515 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-models-customer.html @@ -0,0 +1,175 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                  +

                                                                                                  CRM V2

                                                                                                  + + + + + +
                                                                                                  + +
                                                                                                  +
                                                                                                  + + + + +
                                                                                                  +
                                                                                                    +
                                                                                                  + +
                                                                                                  +

                                                                                                  Customer.php

                                                                                                  + + +
                                                                                                  + + + + + + +

                                                                                                  + Interfaces, Classes and Traits + +

                                                                                                  + +
                                                                                                  + +
                                                                                                  Customer
                                                                                                  +
                                                                                                  This class represents the customer info with +the account validation status. You can use it as +a standalone class but beware of catching exceptions
                                                                                                  + +
                                                                                                  + + + + + + + + +
                                                                                                  +
                                                                                                  +
                                                                                                  +
                                                                                                  +

                                                                                                  Search results

                                                                                                  + +
                                                                                                  +
                                                                                                  +
                                                                                                    +
                                                                                                    +
                                                                                                    +
                                                                                                    +
                                                                                                    +
                                                                                                    + + +
                                                                                                    + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-models-question.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-models-question.html new file mode 100644 index 0000000..2b74fed --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-models-question.html @@ -0,0 +1,174 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                    +

                                                                                                    CRM V2

                                                                                                    + + + + + +
                                                                                                    + +
                                                                                                    +
                                                                                                    + + + + +
                                                                                                    +
                                                                                                      +
                                                                                                    + +
                                                                                                    +

                                                                                                    Question.php

                                                                                                    + + +
                                                                                                    + + + + + + +

                                                                                                    + Interfaces, Classes and Traits + +

                                                                                                    + +
                                                                                                    + +
                                                                                                    Question
                                                                                                    +
                                                                                                    This class represents a question +It has some static methods to retrieve questions and answers
                                                                                                    + +
                                                                                                    + + + + + + + + +
                                                                                                    +
                                                                                                    +
                                                                                                    +
                                                                                                    +

                                                                                                    Search results

                                                                                                    + +
                                                                                                    +
                                                                                                    +
                                                                                                      +
                                                                                                      +
                                                                                                      +
                                                                                                      +
                                                                                                      +
                                                                                                      + + +
                                                                                                      + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-models-singleoptin.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-models-singleoptin.html new file mode 100644 index 0000000..d6a3c0d --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-models-singleoptin.html @@ -0,0 +1,173 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                      +

                                                                                                      CRM V2

                                                                                                      + + + + + +
                                                                                                      + +
                                                                                                      +
                                                                                                      + + + + +
                                                                                                      +
                                                                                                        +
                                                                                                      + +
                                                                                                      +

                                                                                                      SingleOptin.php

                                                                                                      + + +
                                                                                                      + + + + + + +

                                                                                                      + Interfaces, Classes and Traits + +

                                                                                                      + +
                                                                                                      + +
                                                                                                      SingleOptin
                                                                                                      +
                                                                                                      This class allows to handle single optins
                                                                                                      + +
                                                                                                      + + + + + + + + +
                                                                                                      +
                                                                                                      +
                                                                                                      +
                                                                                                      +

                                                                                                      Search results

                                                                                                      + +
                                                                                                      +
                                                                                                      +
                                                                                                        +
                                                                                                        +
                                                                                                        +
                                                                                                        +
                                                                                                        +
                                                                                                        + + +
                                                                                                        + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-models-stats.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-models-stats.html new file mode 100644 index 0000000..71e812c --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-models-stats.html @@ -0,0 +1,173 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                        +

                                                                                                        CRM V2

                                                                                                        + + + + + +
                                                                                                        + +
                                                                                                        +
                                                                                                        + + + + +
                                                                                                        +
                                                                                                          +
                                                                                                        + +
                                                                                                        +

                                                                                                        Stats.php

                                                                                                        + + +
                                                                                                        + + + + + + +

                                                                                                        + Interfaces, Classes and Traits + +

                                                                                                        + +
                                                                                                        + +
                                                                                                        Stats
                                                                                                        +
                                                                                                        This class is used to get stats from CRM
                                                                                                        + +
                                                                                                        + + + + + + + + +
                                                                                                        +
                                                                                                        +
                                                                                                        +
                                                                                                        +

                                                                                                        Search results

                                                                                                        + +
                                                                                                        +
                                                                                                        +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          + + +
                                                                                                          + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-transport-apiinterface.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-transport-apiinterface.html new file mode 100644 index 0000000..19754a8 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-transport-apiinterface.html @@ -0,0 +1,162 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                          +

                                                                                                          CRM V2

                                                                                                          + + + + + +
                                                                                                          + +
                                                                                                          +
                                                                                                          + + + + +
                                                                                                          +
                                                                                                            +
                                                                                                          + +
                                                                                                          +

                                                                                                          ApiInterface.php

                                                                                                          + + +
                                                                                                          + + + + + + + + + + + + + + +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +

                                                                                                          Search results

                                                                                                          + +
                                                                                                          +
                                                                                                          +
                                                                                                            +
                                                                                                            +
                                                                                                            +
                                                                                                            +
                                                                                                            +
                                                                                                            + + +
                                                                                                            + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-transport-request.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-transport-request.html new file mode 100644 index 0000000..299ea61 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-transport-request.html @@ -0,0 +1,174 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                            +

                                                                                                            CRM V2

                                                                                                            + + + + + +
                                                                                                            + +
                                                                                                            +
                                                                                                            + + + + +
                                                                                                            +
                                                                                                              +
                                                                                                            + +
                                                                                                            +

                                                                                                            Request.php

                                                                                                            + + +
                                                                                                            + + + + + + +

                                                                                                            + Interfaces, Classes and Traits + +

                                                                                                            + +
                                                                                                            + +
                                                                                                            Request
                                                                                                            +
                                                                                                            The LDC CRM request +Contains the http method, the requested url and data to pass
                                                                                                            + +
                                                                                                            + + + + + + + + +
                                                                                                            +
                                                                                                            +
                                                                                                            +
                                                                                                            +

                                                                                                            Search results

                                                                                                            + +
                                                                                                            +
                                                                                                            +
                                                                                                              +
                                                                                                              +
                                                                                                              +
                                                                                                              +
                                                                                                              +
                                                                                                              + + +
                                                                                                              + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-transport-response.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-transport-response.html new file mode 100644 index 0000000..cb1c349 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-transport-response.html @@ -0,0 +1,173 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                              +

                                                                                                              CRM V2

                                                                                                              + + + + + +
                                                                                                              + +
                                                                                                              +
                                                                                                              + + + + +
                                                                                                              +
                                                                                                                +
                                                                                                              + +
                                                                                                              +

                                                                                                              Response.php

                                                                                                              + + +
                                                                                                              + + + + + + +

                                                                                                              + Interfaces, Classes and Traits + +

                                                                                                              + +
                                                                                                              + +
                                                                                                              Response
                                                                                                              +
                                                                                                              + +
                                                                                                              + + + + + + + + +
                                                                                                              +
                                                                                                              +
                                                                                                              +
                                                                                                              +

                                                                                                              Search results

                                                                                                              + +
                                                                                                              +
                                                                                                              +
                                                                                                                +
                                                                                                                +
                                                                                                                +
                                                                                                                +
                                                                                                                +
                                                                                                                + + +
                                                                                                                + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-utils.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-utils.html new file mode 100644 index 0000000..be50783 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-utils.html @@ -0,0 +1,173 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                +

                                                                                                                CRM V2

                                                                                                                + + + + + +
                                                                                                                + +
                                                                                                                +
                                                                                                                + + + + +
                                                                                                                +
                                                                                                                  +
                                                                                                                + +
                                                                                                                +

                                                                                                                Utils.php

                                                                                                                + + +
                                                                                                                + + + + + + +

                                                                                                                + Interfaces, Classes and Traits + +

                                                                                                                + +
                                                                                                                + +
                                                                                                                Utils
                                                                                                                +
                                                                                                                This is the LDCCRM utility class
                                                                                                                + +
                                                                                                                + + + + + + + + +
                                                                                                                +
                                                                                                                +
                                                                                                                +
                                                                                                                +

                                                                                                                Search results

                                                                                                                + +
                                                                                                                +
                                                                                                                +
                                                                                                                  +
                                                                                                                  +
                                                                                                                  +
                                                                                                                  +
                                                                                                                  +
                                                                                                                  + + +
                                                                                                                  + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-wordpress-wpcrm.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-wordpress-wpcrm.html new file mode 100644 index 0000000..5db55b4 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-wordpress-wpcrm.html @@ -0,0 +1,213 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                  +

                                                                                                                  CRM V2

                                                                                                                  + + + + + +
                                                                                                                  + +
                                                                                                                  +
                                                                                                                  + + + + +
                                                                                                                  +
                                                                                                                    +
                                                                                                                  + +
                                                                                                                  +

                                                                                                                  WPCrm.php

                                                                                                                  + +

                                                                                                                  LDCCRM For Wordpress usage

                                                                                                                  + + + +
                                                                                                                  + Tags + +
                                                                                                                  +
                                                                                                                  +
                                                                                                                  + category +
                                                                                                                  +
                                                                                                                  + +

                                                                                                                  API

                                                                                                                  +
                                                                                                                  + +
                                                                                                                  +
                                                                                                                  + author +
                                                                                                                  +
                                                                                                                  + +

                                                                                                                  Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                  +
                                                                                                                  + +
                                                                                                                  +
                                                                                                                  + license +
                                                                                                                  +
                                                                                                                  + +

                                                                                                                  MIT https://opensource.org/licenses/MIT

                                                                                                                  +
                                                                                                                  + +
                                                                                                                  +
                                                                                                                  + link +
                                                                                                                  +
                                                                                                                  + / + +
                                                                                                                  +
                                                                                                                  + + + + +

                                                                                                                  + Interfaces, Classes and Traits + +

                                                                                                                  + +
                                                                                                                  + +
                                                                                                                  WPCrm
                                                                                                                  +
                                                                                                                  Class de gestion des users en session avec Wordpress (ce truc immonde)
                                                                                                                  + +
                                                                                                                  + + + + + + + + +
                                                                                                                  +
                                                                                                                  +
                                                                                                                  +
                                                                                                                  +

                                                                                                                  Search results

                                                                                                                  + +
                                                                                                                  +
                                                                                                                  +
                                                                                                                    +
                                                                                                                    +
                                                                                                                    +
                                                                                                                    +
                                                                                                                    +
                                                                                                                    + + +
                                                                                                                    + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-wordpress-wpcrmanswer.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-wordpress-wpcrmanswer.html new file mode 100644 index 0000000..2cd9821 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-wordpress-wpcrmanswer.html @@ -0,0 +1,213 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                    +

                                                                                                                    CRM V2

                                                                                                                    + + + + + +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + + + + +
                                                                                                                    +
                                                                                                                      +
                                                                                                                    + +
                                                                                                                    +

                                                                                                                    WPCrmAnswer.php

                                                                                                                    + +

                                                                                                                    LDCCRM For Wordpress usage

                                                                                                                    + + + +
                                                                                                                    + Tags + +
                                                                                                                    +
                                                                                                                    +
                                                                                                                    + category +
                                                                                                                    +
                                                                                                                    + +

                                                                                                                    API

                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + author +
                                                                                                                    +
                                                                                                                    + +

                                                                                                                    Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + license +
                                                                                                                    +
                                                                                                                    + +

                                                                                                                    MIT https://opensource.org/licenses/MIT

                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + link +
                                                                                                                    +
                                                                                                                    + / + +
                                                                                                                    +
                                                                                                                    + + + + +

                                                                                                                    + Interfaces, Classes and Traits + +

                                                                                                                    + +
                                                                                                                    + +
                                                                                                                    WPCrmAnswer
                                                                                                                    +
                                                                                                                    Class de gestion de la segmentation question avec Wordpress (ce truc immonde)
                                                                                                                    + +
                                                                                                                    + + + + + + + + +
                                                                                                                    +
                                                                                                                    +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    Search results

                                                                                                                    + +
                                                                                                                    +
                                                                                                                    +
                                                                                                                      +
                                                                                                                      +
                                                                                                                      +
                                                                                                                      +
                                                                                                                      +
                                                                                                                      + + +
                                                                                                                      + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-wordpress-wpcrmquestion.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-wordpress-wpcrmquestion.html new file mode 100644 index 0000000..47a47ee --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-wordpress-wpcrmquestion.html @@ -0,0 +1,213 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                      +

                                                                                                                      CRM V2

                                                                                                                      + + + + + +
                                                                                                                      + +
                                                                                                                      +
                                                                                                                      + + + + +
                                                                                                                      +
                                                                                                                        +
                                                                                                                      + +
                                                                                                                      +

                                                                                                                      WPCrmQuestion.php

                                                                                                                      + +

                                                                                                                      LDCCRM For Wordpress usage

                                                                                                                      + + + +
                                                                                                                      + Tags + +
                                                                                                                      +
                                                                                                                      +
                                                                                                                      + category +
                                                                                                                      +
                                                                                                                      + +

                                                                                                                      API

                                                                                                                      +
                                                                                                                      + +
                                                                                                                      +
                                                                                                                      + author +
                                                                                                                      +
                                                                                                                      + +

                                                                                                                      Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                      +
                                                                                                                      + +
                                                                                                                      +
                                                                                                                      + license +
                                                                                                                      +
                                                                                                                      + +

                                                                                                                      MIT https://opensource.org/licenses/MIT

                                                                                                                      +
                                                                                                                      + +
                                                                                                                      +
                                                                                                                      + link +
                                                                                                                      +
                                                                                                                      + / + +
                                                                                                                      +
                                                                                                                      + + + + +

                                                                                                                      + Interfaces, Classes and Traits + +

                                                                                                                      + +
                                                                                                                      + +
                                                                                                                      WPCrmQuestion
                                                                                                                      +
                                                                                                                      Class de gestion de la segmentation question avec Wordpress (ce truc immonde)
                                                                                                                      + +
                                                                                                                      + + + + + + + + +
                                                                                                                      +
                                                                                                                      +
                                                                                                                      +
                                                                                                                      +

                                                                                                                      Search results

                                                                                                                      + +
                                                                                                                      +
                                                                                                                      +
                                                                                                                        +
                                                                                                                        +
                                                                                                                        +
                                                                                                                        +
                                                                                                                        +
                                                                                                                        + + +
                                                                                                                        + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-wordpress-wpcrmuser.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-wordpress-wpcrmuser.html new file mode 100644 index 0000000..82877b3 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/files/src-wordpress-wpcrmuser.html @@ -0,0 +1,213 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                        +

                                                                                                                        CRM V2

                                                                                                                        + + + + + +
                                                                                                                        + +
                                                                                                                        +
                                                                                                                        + + + + +
                                                                                                                        +
                                                                                                                          +
                                                                                                                        + +
                                                                                                                        +

                                                                                                                        WPCrmUser.php

                                                                                                                        + +

                                                                                                                        LDCCRM For Wordpress usage

                                                                                                                        + + + +
                                                                                                                        + Tags + +
                                                                                                                        +
                                                                                                                        +
                                                                                                                        + category +
                                                                                                                        +
                                                                                                                        + +

                                                                                                                        API

                                                                                                                        +
                                                                                                                        + +
                                                                                                                        +
                                                                                                                        + author +
                                                                                                                        +
                                                                                                                        + +

                                                                                                                        Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                        +
                                                                                                                        + +
                                                                                                                        +
                                                                                                                        + license +
                                                                                                                        +
                                                                                                                        + +

                                                                                                                        MIT https://opensource.org/licenses/MIT

                                                                                                                        +
                                                                                                                        + +
                                                                                                                        +
                                                                                                                        + link +
                                                                                                                        +
                                                                                                                        + / + +
                                                                                                                        +
                                                                                                                        + + + + +

                                                                                                                        + Interfaces, Classes and Traits + +

                                                                                                                        + +
                                                                                                                        + +
                                                                                                                        WPCrmUser
                                                                                                                        +
                                                                                                                        Class de gestion des users en session avec Wordpress (ce truc immonde)
                                                                                                                        + +
                                                                                                                        + + + + + + + + +
                                                                                                                        +
                                                                                                                        +
                                                                                                                        +
                                                                                                                        +

                                                                                                                        Search results

                                                                                                                        + +
                                                                                                                        +
                                                                                                                        +
                                                                                                                          +
                                                                                                                          +
                                                                                                                          +
                                                                                                                          +
                                                                                                                          +
                                                                                                                          + + +
                                                                                                                          + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/graphs/classes.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/graphs/classes.html new file mode 100644 index 0000000..cc88261 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/graphs/classes.html @@ -0,0 +1,139 @@ + + + + + CRM V2 + + + + + + + + +
                                                                                                                          +

                                                                                                                          CRM V2

                                                                                                                          + + + + + +
                                                                                                                          + +
                                                                                                                          +
                                                                                                                          + + + + +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + +
                                                                                                                          +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          Search results

                                                                                                                          + +
                                                                                                                          +
                                                                                                                          +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            + + +
                                                                                                                            + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/index.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/index.html new file mode 100644 index 0000000..2cb11dc --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/index.html @@ -0,0 +1,167 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                            +

                                                                                                                            CRM V2

                                                                                                                            + + + + + +
                                                                                                                            + +
                                                                                                                            +
                                                                                                                            + + + + +
                                                                                                                            +

                                                                                                                            Documentation

                                                                                                                            + + +

                                                                                                                            + Packages + +

                                                                                                                            + +
                                                                                                                            +
                                                                                                                            LDCCrmClient
                                                                                                                            +
                                                                                                                            None
                                                                                                                            +
                                                                                                                            + +

                                                                                                                            + Namespaces + +

                                                                                                                            + +
                                                                                                                            +
                                                                                                                            LDC
                                                                                                                            +
                                                                                                                            + + + + + + + +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +

                                                                                                                            Search results

                                                                                                                            + +
                                                                                                                            +
                                                                                                                            +
                                                                                                                              +
                                                                                                                              +
                                                                                                                              +
                                                                                                                              +
                                                                                                                              +
                                                                                                                              + + +
                                                                                                                              + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/indices/files.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/indices/files.html new file mode 100644 index 0000000..af7d1b1 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/indices/files.html @@ -0,0 +1,203 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                              +

                                                                                                                              CRM V2

                                                                                                                              + + + + + +
                                                                                                                              + +
                                                                                                                              +
                                                                                                                              + + + + + +
                                                                                                                              + + +
                                                                                                                              + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/js/search.js b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/js/search.js new file mode 100644 index 0000000..093d6d0 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/js/search.js @@ -0,0 +1,173 @@ +// Search module for phpDocumentor +// +// This module is a wrapper around fuse.js that will use a given index and attach itself to a +// search form and to a search results pane identified by the following data attributes: +// +// 1. data-search-form +// 2. data-search-results +// +// The data-search-form is expected to have a single input element of type 'search' that will trigger searching for +// a series of results, were the data-search-results pane is expected to have a direct UL child that will be populated +// with rendered results. +// +// The search has various stages, upon loading this stage the data-search-form receives the CSS class +// 'phpdocumentor-search--enabled'; this indicates that JS is allowed and indices are being loaded. It is recommended +// to hide the form by default and show it when it receives this class to achieve progressive enhancement for this +// feature. +// +// After loading this module, it is expected to load a search index asynchronously, for example: +// +// +// +// In this script the generated index should attach itself to the search module using the `appendIndex` function. By +// doing it like this the page will continue loading, unhindered by the loading of the search. +// +// After the page has fully loaded, and all these deferred indexes loaded, the initialization of the search module will +// be called and the form will receive the class 'phpdocumentor-search--active', indicating search is ready. At this +// point, the input field will also have it's 'disabled' attribute removed. +var Search = (function () { + var fuse; + var index = []; + var options = { + shouldSort: true, + threshold: 0.6, + location: 0, + distance: 100, + maxPatternLength: 32, + minMatchCharLength: 1, + keys: [ + "fqsen", + "name", + "summary", + "url" + ] + }; + + // Credit David Walsh (https://davidwalsh.name/javascript-debounce-function) + // Returns a function, that, as long as it continues to be invoked, will not + // be triggered. The function will be called after it stops being called for + // N milliseconds. If `immediate` is passed, trigger the function on the + // leading edge, instead of the trailing. + function debounce(func, wait, immediate) { + var timeout; + + return function executedFunction() { + var context = this; + var args = arguments; + + var later = function () { + timeout = null; + if (!immediate) func.apply(context, args); + }; + + var callNow = immediate && !timeout; + clearTimeout(timeout); + timeout = setTimeout(later, wait); + if (callNow) func.apply(context, args); + }; + } + + function close() { + // Start scroll prevention: https://css-tricks.com/prevent-page-scrolling-when-a-modal-is-open/ + const scrollY = document.body.style.top; + document.body.style.position = ''; + document.body.style.top = ''; + window.scrollTo(0, parseInt(scrollY || '0') * -1); + // End scroll prevention + + var form = document.querySelector('[data-search-form]'); + var searchResults = document.querySelector('[data-search-results]'); + + form.classList.toggle('phpdocumentor-search--has-results', false); + searchResults.classList.add('phpdocumentor-search-results--hidden'); + var searchField = document.querySelector('[data-search-form] input[type="search"]'); + searchField.blur(); + } + + function search(event) { + // Start scroll prevention: https://css-tricks.com/prevent-page-scrolling-when-a-modal-is-open/ + document.body.style.position = 'fixed'; + document.body.style.top = `-${window.scrollY}px`; + // End scroll prevention + + // prevent enter's from autosubmitting + event.stopPropagation(); + + var form = document.querySelector('[data-search-form]'); + var searchResults = document.querySelector('[data-search-results]'); + var searchResultEntries = document.querySelector('[data-search-results] .phpdocumentor-search-results__entries'); + + searchResultEntries.innerHTML = ''; + + if (!event.target.value) { + close(); + return; + } + + form.classList.toggle('phpdocumentor-search--has-results', true); + searchResults.classList.remove('phpdocumentor-search-results--hidden'); + var results = fuse.search(event.target.value, {limit: 25}); + + results.forEach(function (result) { + var entry = document.createElement("li"); + entry.classList.add("phpdocumentor-search-results__entry"); + entry.innerHTML += '

                                                                                                                              ' + result.name + "

                                                                                                                              \n"; + entry.innerHTML += '' + result.fqsen + "\n"; + entry.innerHTML += '
                                                                                                                              ' + result.summary + '
                                                                                                                              '; + searchResultEntries.appendChild(entry) + }); + } + + function appendIndex(added) { + index = index.concat(added); + + // re-initialize search engine when appending an index after initialisation + if (typeof fuse !== 'undefined') { + fuse = new Fuse(index, options); + } + } + + function init() { + fuse = new Fuse(index, options); + + var form = document.querySelector('[data-search-form]'); + var searchField = document.querySelector('[data-search-form] input[type="search"]'); + + var closeButton = document.querySelector('.phpdocumentor-search-results__close'); + closeButton.addEventListener('click', function() { close() }.bind(this)); + + var searchResults = document.querySelector('[data-search-results]'); + searchResults.addEventListener('click', function() { close() }.bind(this)); + + form.classList.add('phpdocumentor-search--active'); + + searchField.setAttribute('placeholder', 'Search (Press "/" to focus)'); + searchField.removeAttribute('disabled'); + searchField.addEventListener('keyup', debounce(search, 300)); + + window.addEventListener('keyup', function (event) { + if (event.key === '/') { + searchField.focus(); + } + if (event.code === 'Escape') { + close(); + } + }.bind(this)); + } + + return { + appendIndex, + init + } +})(); + +window.addEventListener('DOMContentLoaded', function () { + var form = document.querySelector('[data-search-form]'); + + // When JS is supported; show search box. Must be before including the search for it to take effect immediately + form.classList.add('phpdocumentor-search--enabled'); +}); + +window.addEventListener('load', function () { + Search.init(); +}); diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/js/searchIndex.js b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/js/searchIndex.js new file mode 100644 index 0000000..3ec691a --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/js/searchIndex.js @@ -0,0 +1,1339 @@ +Search.appendIndex( + [ + { + "fqsen": "\\LDC\\LDCCRM\\CrmApiV2", + "name": "CrmApiV2", + "summary": "This\u0020is\u0020the\u0020main\u0020class\u0020to\u0020interact\u0020with\u0020the\u0020CRM", + "url": "classes/LDC-LDCCRM-CrmApiV2.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\CrmApiV2\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "CrmApiV2", + "url": "classes/LDC-LDCCRM-CrmApiV2.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\CrmApiV2\u003A\u003Aping\u0028\u0029", + "name": "ping", + "summary": "Use\u0020this\u0020the\u0020ping\u0020the\u0020crm\u0020and\u0020know\u0020its\u0020current\u0020status", + "url": "classes/LDC-LDCCRM-CrmApiV2.html#method_ping" + }, { + "fqsen": "\\LDC\\LDCCRM\\CrmApiV2\u003A\u003AgetCustomerOrNew\u0028\u0029", + "name": "getCustomerOrNew", + "summary": "Get\u0020a\u0020customer\u0020from\u0020its\u0020hashcode\u0020or\u0020email\nIf\u0020it\u0020does\u0020not\u0020exists\u0020a\u0020new\u0020instance\nwill\u0020be\u0020returned.\u0020You\u0020would\u0020have\nto\u0020call\u0020its\u0020save\u0020method\u0020later\u0020on.", + "url": "classes/LDC-LDCCRM-CrmApiV2.html#method_getCustomerOrNew" + }, { + "fqsen": "\\LDC\\LDCCRM\\CrmApiV2\u003A\u003AgetCustomer\u0028\u0029", + "name": "getCustomer", + "summary": "Get\u0020a\u0020customer\u0020from\u0020its\u0020hashcode\u0020or\u0020email\nIf\u0020it\u0020does\u0020not\u0020exists\u0020a\u0020new\u0020instance\nwill\u0020be\u0020returned.\u0020You\u0020would\u0020have\nto\u0020call\u0020its\u0020save\u0020method\u0020later\u0020on.", + "url": "classes/LDC-LDCCRM-CrmApiV2.html#method_getCustomer" + }, { + "fqsen": "\\LDC\\LDCCRM\\CrmApiV2\u003A\u003AsetStatus\u0028\u0029", + "name": "setStatus", + "summary": "Set\u0020the\u0020single\u0020optin\u0020status\u0020for\u0020an\u0020email", + "url": "classes/LDC-LDCCRM-CrmApiV2.html#method_setStatus" + }, { + "fqsen": "\\LDC\\LDCCRM\\CrmApiV2\u003A\u003Alogin\u0028\u0029", + "name": "login", + "summary": "Test\u0020a\u0020customer\u0020credentials\u0020to\u0020see\u0020if\u0020it\u0020can\u0020login", + "url": "classes/LDC-LDCCRM-CrmApiV2.html#method_login" + }, { + "fqsen": "\\LDC\\LDCCRM\\CrmApiV2\u003A\u003A\u0024apiInterface", + "name": "apiInterface", + "summary": "The\u0020Api\u0020object\u0020that\u0020will\u0020handle\u0020requests\u0020and\u0020responses", + "url": "classes/LDC-LDCCRM-CrmApiV2.html#property_apiInterface" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\ApiError", + "name": "ApiError", + "summary": "This\u0020describes\u0020an\u0020API\u0020error.", + "url": "classes/LDC-LDCCRM-Enums-ApiError.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\ApiError\u003A\u003Avalues\u0028\u0029", + "name": "values", + "summary": "Valeurs\u0020des\u0020possibilit\u00E9s\u0020de\u0020cet\u0020\u00E9num\u00E9ration\u0020\u0028value\u0029", + "url": "classes/LDC-LDCCRM-Enums-ApiError.html#method_values" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\ApiError\u003A\u003Alabels\u0028\u0029", + "name": "labels", + "summary": "Libell\u00E9s\u0020des\u0020possibilit\u00E9s\u0020de\u0020cet\u0020\u00E9num\u00E9ration\u0020\u0028label\u0029", + "url": "classes/LDC-LDCCRM-Enums-ApiError.html#method_labels" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\ApiStatus", + "name": "ApiStatus", + "summary": "", + "url": "classes/LDC-LDCCRM-Enums-ApiStatus.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\ArcadiaMailType", + "name": "ArcadiaMailType", + "summary": "", + "url": "classes/LDC-LDCCRM-Enums-ArcadiaMailType.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\ArcadiaMailType\u003A\u003Avalues\u0028\u0029", + "name": "values", + "summary": "Valeurs\u0020des\u0020possibilit\u00E9s\u0020de\u0020cet\u0020\u00E9num\u00E9ration\u0020\u0028value\u0029", + "url": "classes/LDC-LDCCRM-Enums-ArcadiaMailType.html#method_values" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\ArcadiaOrderType", + "name": "ArcadiaOrderType", + "summary": "", + "url": "classes/LDC-LDCCRM-Enums-ArcadiaOrderType.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\ArcadiaOrderType\u003A\u003Avalues\u0028\u0029", + "name": "values", + "summary": "Valeurs\u0020des\u0020possibilit\u00E9s\u0020de\u0020cet\u0020\u00E9num\u00E9ration\u0020\u0028value\u0029", + "url": "classes/LDC-LDCCRM-Enums-ArcadiaOrderType.html#method_values" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\Country", + "name": "Country", + "summary": "Liste\u0020de\u0020Pays", + "url": "classes/LDC-LDCCRM-Enums-Country.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\Country\u003A\u003Avalues\u0028\u0029", + "name": "values", + "summary": "Valeurs\u0020des\u0020possibilit\u00E9s\u0020de\u0020cet\u0020\u00E9num\u00E9ration\u0020\u0028value\u0029", + "url": "classes/LDC-LDCCRM-Enums-Country.html#method_values" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\Country\u003A\u003Alabels\u0028\u0029", + "name": "labels", + "summary": "Libell\u00E9s\u0020des\u0020possibilit\u00E9s\u0020de\u0020cet\u0020\u00E9num\u00E9ration\u0020\u0028label\u0029", + "url": "classes/LDC-LDCCRM-Enums-Country.html#method_labels" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\LogLevel", + "name": "LogLevel", + "summary": "", + "url": "classes/LDC-LDCCRM-Enums-LogLevel.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\LogLevel\u003A\u003Avalues\u0028\u0029", + "name": "values", + "summary": "Valeurs\u0020des\u0020possibilit\u00E9s\u0020de\u0020cet\u0020\u00E9num\u00E9ration\u0020\u0028value\u0029", + "url": "classes/LDC-LDCCRM-Enums-LogLevel.html#method_values" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\QuestionType", + "name": "QuestionType", + "summary": "", + "url": "classes/LDC-LDCCRM-Enums-QuestionType.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\QuestionType\u003A\u003Avalues\u0028\u0029", + "name": "values", + "summary": "Valeurs\u0020des\u0020possibilit\u00E9s\u0020de\u0020cet\u0020\u00E9num\u00E9ration\u0020\u0028value\u0029", + "url": "classes/LDC-LDCCRM-Enums-QuestionType.html#method_values" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\AccessError", + "name": "AccessError", + "summary": "This\u0020is\u0020thrown\u0020when\u0020trying\u0020to\u0020set\u0020a\u0020value\u0020on\u0020an\u0020object\u0020property\u0020that\u0020does\u0020not\u0020exist.", + "url": "classes/LDC-LDCCRM-Exceptions-AccessError.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\AccessError\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "AccessError", + "url": "classes/LDC-LDCCRM-Exceptions-AccessError.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ApiErrorException", + "name": "ApiErrorException", + "summary": "This\u0020would\u0020be\u0020thrown\u0020if\u0020any\u0020of\u0020the\u0020case\nreferenced\u0020in\u0020\\LDC\\LDCCRM\\Enums\\ApiError\u0020would\noccur\u0020within\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-Exceptions-ApiErrorException.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ApiErrorException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Create\u0020a\u0020new\u0020exception\u0020base\u0020on\u0020ApiError\u0020enum.", + "url": "classes/LDC-LDCCRM-Exceptions-ApiErrorException.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ApiErrorException\u003A\u003AgetApiError\u0028\u0029", + "name": "getApiError", + "summary": "Get\u0020the\u0020Api\u0020Error", + "url": "classes/LDC-LDCCRM-Exceptions-ApiErrorException.html#method_getApiError" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ApiErrorException\u003A\u003AgetStatusCode\u0028\u0029", + "name": "getStatusCode", + "summary": "Get\u0020the\u0020http\u0020code", + "url": "classes/LDC-LDCCRM-Exceptions-ApiErrorException.html#method_getStatusCode" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ApiErrorException\u003A\u003Areport\u0028\u0029", + "name": "report", + "summary": "This\u0020is\u0020used\u0020by\u0020laravel\u0020only.", + "url": "classes/LDC-LDCCRM-Exceptions-ApiErrorException.html#method_report" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ApiErrorException\u003A\u003A\u0024error", + "name": "error", + "summary": "Api\u0020Error\nThis\u0020value\u0020makes\u0020the\u0020error\u0020more\u0020explicit.", + "url": "classes/LDC-LDCCRM-Exceptions-ApiErrorException.html#property_error" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ApiErrorException\u003A\u003A\u0024message", + "name": "message", + "summary": "This\u0020is\u0020an\u0020explicit\u0020error\u0020message,\nou\u0020may\u0020print\u0020this\u0020to\u0020the\u0020front\u0020or\u0020not\u0020depending\non\u0020\u0024error\u0020value", + "url": "classes/LDC-LDCCRM-Exceptions-ApiErrorException.html#property_message" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ApiErrorException\u003A\u003A\u0024httpCode", + "name": "httpCode", + "summary": "This\u0020is\u0020the\u0020http\u0020code\u0020returned\u0020by\u0020the\u0020crm.", + "url": "classes/LDC-LDCCRM-Exceptions-ApiErrorException.html#property_httpCode" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\CrmException", + "name": "CrmException", + "summary": "This\u0020is\u0020a\u0020critical\u0020error.", + "url": "classes/LDC-LDCCRM-Exceptions-CrmException.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\CrmException\u003A\u003Areport\u0028\u0029", + "name": "report", + "summary": "This\u0020is\u0020used\u0020by\u0020laravel\u0020only.", + "url": "classes/LDC-LDCCRM-Exceptions-CrmException.html#method_report" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\SkipValidationException", + "name": "SkipValidationException", + "summary": "Used\u0020only\u0020for\u0020internal\u0020validator", + "url": "classes/LDC-LDCCRM-Exceptions-SkipValidationException.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ValidationException", + "name": "ValidationException", + "summary": "This\u0020would\u0020be\u0020thrown\u0020if\u0020a\u0020data\u0020could\u0020not\u0020be\u0020validated\non\u0020any\u0020models", + "url": "classes/LDC-LDCCRM-Exceptions-ValidationException.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ValidationException\u003A\u003Areport\u0028\u0029", + "name": "report", + "summary": "This\u0020is\u0020used\u0020by\u0020laravel\u0020only.", + "url": "classes/LDC-LDCCRM-Exceptions-ValidationException.html#method_report" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\WpCrmInvalidJsonUserInfo", + "name": "WpCrmInvalidJsonUserInfo", + "summary": "This\u0020is\u0020thrown\u0020when\u0020trying\u0020to\u0020read\u0020WP\u0020customer\u0020from\u0020DB\u0020json\u0020data.", + "url": "classes/LDC-LDCCRM-Exceptions-WpCrmInvalidJsonUserInfo.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\WpCrmInvalidJsonUserInfo\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "WpCrmInvalidJsonUserInfo", + "url": "classes/LDC-LDCCRM-Exceptions-WpCrmInvalidJsonUserInfo.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Answer", + "name": "Answer", + "summary": "This\u0020class\u0020represents\u0020an\u0020answer\nIt\u0020has\u0020a\u0020method\u0020to\u0020submit\u0020answers", + "url": "classes/LDC-LDCCRM-Models-Answer.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Answer", + "url": "classes/LDC-LDCCRM-Models-Answer.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003AsetQuestionAnswers\u0028\u0029", + "name": "setQuestionAnswers", + "summary": "Set\u0020unanswered\u0020question\u0020for\u0020a\u0020specific\u0020customer", + "url": "classes/LDC-LDCCRM-Models-Answer.html#method_setQuestionAnswers" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003AjsonSerialize\u0028\u0029", + "name": "jsonSerialize", + "summary": "Serialize\u0020this\u0020object\u0020to\u0020an\u0020array", + "url": "classes/LDC-LDCCRM-Models-Answer.html#method_jsonSerialize" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003A\u0024id", + "name": "id", + "summary": "The\u0020question\u0020id", + "url": "classes/LDC-LDCCRM-Models-Answer.html#property_id" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003A\u0024answer", + "name": "answer", + "summary": "The\u0020actual\u0020answer\u0020as\u0020a\u0020string", + "url": "classes/LDC-LDCCRM-Models-Answer.html#property_answer" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003A\u0024modelFields", + "name": "modelFields", + "summary": "The\u0020crm\u0020customer\u0020fields", + "url": "classes/LDC-LDCCRM-Models-Answer.html#property_modelFields" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003A\u0024validation", + "name": "validation", + "summary": "Validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-Answer.html#property_validation" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault", + "name": "ArcadiaMailDefault", + "summary": "This\u0020class\u0020represents\u0020the\u0020customer\u0020info\u0020with\nthe\u0020account\u0020validation\u0020status", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "ArcadiaMailDefault", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A__get\u0028\u0029", + "name": "__get", + "summary": "Generic\u0020accessor", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#method___get" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A__set\u0028\u0029", + "name": "__set", + "summary": "Set\u0020prop", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#method___set" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003Afill\u0028\u0029", + "name": "fill", + "summary": "Fill\u0020data\u0020into\u0020this\u0020model\nusing\u0020validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#method_fill" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003AvalidateAllValues\u0028\u0029", + "name": "validateAllValues", + "summary": "Validate\u0020all\u0020model\u0020properties", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#method_validateAllValues" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003Asend\u0028\u0029", + "name": "send", + "summary": "Send\u0020The\u0020actual\u0020mail", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#method_send" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003AjsonSerialize\u0028\u0029", + "name": "jsonSerialize", + "summary": "Serialize\u0020this\u0020object\u0020to\u0020an\u0020array", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#method_jsonSerialize" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024email", + "name": "email", + "summary": "An\u0020RFC\u0020Valid\u0020Email", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_email" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024firstname", + "name": "firstname", + "summary": "First\u0020name", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_firstname" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024lastname", + "name": "lastname", + "summary": "Last\u0020name", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_lastname" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024phone", + "name": "phone", + "summary": "The\u0020user\u0020phone", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_phone" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024address", + "name": "address", + "summary": "The\u0020user\u0020address\u0020\u0028street\u0020number,\u0020name,\u0020etc\u0029", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_address" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024address2", + "name": "address2", + "summary": "The\u0020user\u0020address\u00202nd\u0020part\u0020\u0028street\u0020number,\u0020name,\u0020more,\u0020etc\u0029", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_address2" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024city", + "name": "city", + "summary": "The\u0020user\u0020address\u0020city", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_city" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024postcode", + "name": "postcode", + "summary": "The\u0020user\u0020address\u0020postcode", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_postcode" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024operation", + "name": "operation", + "summary": "The\u0020arcadia\u0020operation\u0020code", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_operation" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024support_code", + "name": "support_code", + "summary": "The\u0020arcadia\u0020support\u0020code", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_support_code" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024label_type_support", + "name": "label_type_support", + "summary": "The\u0020arcadia\u0020type\u0020support\u0020label", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_label_type_support" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024order_date", + "name": "order_date", + "summary": "The\u0020arcadia\u0020order\u0020date", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_order_date" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024order_num", + "name": "order_num", + "summary": "The\u0020arcadia\u0020order\u0020number", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_order_num" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024state_order", + "name": "state_order", + "summary": "The\u0020arcadia\u0020state\u0020order", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_state_order" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024package_unit_weight", + "name": "package_unit_weight", + "summary": "The\u0020arcadia\u0020package\u0020unit\u0020weight", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_package_unit_weight" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024modelFields", + "name": "modelFields", + "summary": "The\u0020crm\u0020customer\u0020fields", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_modelFields" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024validation", + "name": "validation", + "summary": "Validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_validation" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame", + "name": "ArcadiaMailGame", + "summary": "This\u0020class\u0020represents\u0020the\u0020customer\u0020info\u0020with\nthe\u0020account\u0020validation\u0020status", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "ArcadiaMailGame", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A__set\u0028\u0029", + "name": "__set", + "summary": "Set\u0020prop", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#method___set" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003Afill\u0028\u0029", + "name": "fill", + "summary": "Fill\u0020data\u0020into\u0020this\u0020model\nusing\u0020validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#method_fill" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003Asend\u0028\u0029", + "name": "send", + "summary": "Send\u0020The\u0020actual\u0020mail", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#method_send" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003AjsonSerialize\u0028\u0029", + "name": "jsonSerialize", + "summary": "Serialize\u0020this\u0020object\u0020to\u0020an\u0020array", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#method_jsonSerialize" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024email", + "name": "email", + "summary": "An\u0020RFC\u0020Valid\u0020Email", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_email" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024firstname", + "name": "firstname", + "summary": "First\u0020name", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_firstname" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024lastname", + "name": "lastname", + "summary": "Last\u0020name", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_lastname" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024phone", + "name": "phone", + "summary": "The\u0020user\u0020phone", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_phone" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024address", + "name": "address", + "summary": "The\u0020user\u0020address\u0020\u0028street\u0020number,\u0020name,\u0020etc\u0029", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_address" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024address2", + "name": "address2", + "summary": "The\u0020user\u0020address\u00202nd\u0020part\u0020\u0028street\u0020number,\u0020name,\u0020more,\u0020etc\u0029", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_address2" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024city", + "name": "city", + "summary": "The\u0020user\u0020address\u0020city", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_city" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024postcode", + "name": "postcode", + "summary": "The\u0020user\u0020address\u0020postcode", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_postcode" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024operation", + "name": "operation", + "summary": "The\u0020arcadia\u0020operation\u0020code", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_operation" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024support_code", + "name": "support_code", + "summary": "The\u0020arcadia\u0020support\u0020code", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_support_code" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024label_type_support", + "name": "label_type_support", + "summary": "The\u0020arcadia\u0020type\u0020support\u0020label", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_label_type_support" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024order_date", + "name": "order_date", + "summary": "The\u0020arcadia\u0020order\u0020date", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_order_date" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024code_unique", + "name": "code_unique", + "summary": "The\u0020arcadia\u0020code\u0020unique", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_code_unique" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024code_on_pack", + "name": "code_on_pack", + "summary": "The\u0020arcadia\u0020code\u0020on\u0020pack", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_code_on_pack" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024modelFields", + "name": "modelFields", + "summary": "The\u0020crm\u0020customer\u0020fields", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_modelFields" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024validation", + "name": "validation", + "summary": "Validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_validation" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer", + "name": "Customer", + "summary": "This\u0020class\u0020represents\u0020the\u0020customer\u0020info\u0020with\nthe\u0020account\u0020validation\u0020status.\u0020You\u0020can\u0020use\u0020it\u0020as\na\u0020standalone\u0020class\u0020but\u0020beware\u0020of\u0020catching\u0020exceptions", + "url": "classes/LDC-LDCCRM-Models-Customer.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Customer", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A__get\u0028\u0029", + "name": "__get", + "summary": "Generic\u0020accessor", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method___get" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A__set\u0028\u0029", + "name": "__set", + "summary": "Set\u0020prop\u0020on\u0020the\u0020model.", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method___set" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003Afill\u0028\u0029", + "name": "fill", + "summary": "Fill\u0020values\u0020into\u0020model\u0020using\u0020validation\u0020rules.", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_fill" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003AvalidateAllValues\u0028\u0029", + "name": "validateAllValues", + "summary": "Validate\u0020all\u0020model\u0020properties", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_validateAllValues" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003Afind\u0028\u0029", + "name": "find", + "summary": "Find\u0020a\u0020customer\u0020using\u0020its\u0020hashcode\u0020in\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_find" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003AfindWithEmail\u0028\u0029", + "name": "findWithEmail", + "summary": "Find\u0020a\u0020customer\u0020using\u0020its\u0020email\u0020in\u0020the\u0020crm\nThis\u0020is\u0020an\u0020alias\u0020of\u0020Customer\u003A\u003Afind\u0028\u0029", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_findWithEmail" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003Asave\u0028\u0029", + "name": "save", + "summary": "Save\u0020the\u0020customer\u0020on\u0020CRM.", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_save" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003Astore\u0028\u0029", + "name": "store", + "summary": "Calls\u0020api\u0020store\u0020customer\u0020method", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_store" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003Aupdate\u0028\u0029", + "name": "update", + "summary": "Calls\u0020api\u0020update\u0020customer\u0020method", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_update" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003Adelete\u0028\u0029", + "name": "delete", + "summary": "Removes\u0020the\u0020customer\u0020from\u0020CRM.", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_delete" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003Aactivate\u0028\u0029", + "name": "activate", + "summary": "Active\u0020the\u0020customer\u0020on\u0020CRM.", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_activate" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003AtoggleOptin\u0028\u0029", + "name": "toggleOptin", + "summary": "Toggle\u0020the\u0020account\u0020optin\u0020value\u0020in\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_toggleOptin" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003Alogin\u0028\u0029", + "name": "login", + "summary": "Test\u0020customer\u0020credentials", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_login" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003AjsonSerialize\u0028\u0029", + "name": "jsonSerialize", + "summary": "Serialize\u0020this\u0020object\u0020to\u0020an\u0020array", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_jsonSerialize" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024hashcode", + "name": "hashcode", + "summary": "The\u0020user\u0020hashcode,\u0020this\u0020is\u0020link\u0020with\u0020the\u0020customer\u0020and\u0020the\u0020brand\u0020it\u0020is\u0020related\u0020to\nIt\u0020is\u0020used\u0020to\u0020identify\u0020the\u0020customer\u0020itself.", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_hashcode" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024email", + "name": "email", + "summary": "An\u0020RFC\u0020Valid\u0020Email", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_email" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024password", + "name": "password", + "summary": "The\u0020user\u0020password\nThis\u0020is\u0020set\u0020only\u0020when\u0020creating\u0020a\u0020user\nOtherwise\u0020it\u0020has\u0020to\u0020be\u0020set\u0020to\u0020null", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_password" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024firstname", + "name": "firstname", + "summary": "First\u0020name", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_firstname" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024lastname", + "name": "lastname", + "summary": "Last\u0020name", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_lastname" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024birth_date", + "name": "birth_date", + "summary": "Birth\u0020date", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_birth_date" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024phone", + "name": "phone", + "summary": "The\u0020user\u0020phone", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_phone" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024address", + "name": "address", + "summary": "The\u0020user\u0020address\u0020\u0028street\u0020number,\u0020name,\u0020etc\u0029", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_address" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024address2", + "name": "address2", + "summary": "The\u0020user\u0020address\u00202nd\u0020part\u0020\u0028street\u0020number,\u0020name,\u0020more,\u0020etc\u0029", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_address2" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024city", + "name": "city", + "summary": "The\u0020user\u0020address\u0020city", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_city" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024postcode", + "name": "postcode", + "summary": "The\u0020user\u0020address\u0020postcode", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_postcode" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024country", + "name": "country", + "summary": "The\u0020user\u0020address\u0020postcode", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_country" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024opt_in", + "name": "opt_in", + "summary": "The\u0020user\u0020optin\u0020choice", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_opt_in" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024status", + "name": "status", + "summary": "Is\u0020the\u0020account\u0020activated\u0020\u003F", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_status" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024last_connection", + "name": "last_connection", + "summary": "The\u0020last\u0020time\u0020the\u0020account\u0020was\u0020connected", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_last_connection" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024modelFields", + "name": "modelFields", + "summary": "The\u0020crm\u0020customer\u0020fields", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_modelFields" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024invisibleFields", + "name": "invisibleFields", + "summary": "The\u0020crm\u0020customer\u0020fields\nthe\u0020should\u0020not\u0020be\u0020visible", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_invisibleFields" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024validation", + "name": "validation", + "summary": "Validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_validation" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question", + "name": "Question", + "summary": "This\u0020class\u0020represents\u0020a\u0020question\nIt\u0020has\u0020some\u0020static\u0020methods\u0020to\u0020retrieve\u0020questions\u0020and\u0020answers", + "url": "classes/LDC-LDCCRM-Models-Question.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Question", + "url": "classes/LDC-LDCCRM-Models-Question.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A__get\u0028\u0029", + "name": "__get", + "summary": "General\u0020accessor", + "url": "classes/LDC-LDCCRM-Models-Question.html#method___get" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A__set\u0028\u0029", + "name": "__set", + "summary": "Set\u0020prop\u0020on\u0020the\u0020model.", + "url": "classes/LDC-LDCCRM-Models-Question.html#method___set" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003Afill\u0028\u0029", + "name": "fill", + "summary": "Fill\u0020values\u0020into\u0020model\u0020using\u0020validation\u0020rules.", + "url": "classes/LDC-LDCCRM-Models-Question.html#method_fill" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003AvalidateAllValues\u0028\u0029", + "name": "validateAllValues", + "summary": "Validate\u0020all\u0020model\u0020properties", + "url": "classes/LDC-LDCCRM-Models-Question.html#method_validateAllValues" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003Aall\u0028\u0029", + "name": "all", + "summary": "Get\u0020all\u0020questions\u0020only", + "url": "classes/LDC-LDCCRM-Models-Question.html#method_all" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003AallWithCustomerAnswers\u0028\u0029", + "name": "allWithCustomerAnswers", + "summary": "Get\u0020all\u0020the\u0020questions\u0020with\u0020customer\u0020answers", + "url": "classes/LDC-LDCCRM-Models-Question.html#method_allWithCustomerAnswers" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003AunansweredBy\u0028\u0029", + "name": "unansweredBy", + "summary": "Get\u0020unanswered\u0020question\u0020for\u0020a\u0020specific\u0020customer", + "url": "classes/LDC-LDCCRM-Models-Question.html#method_unansweredBy" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003AjsonSerialize\u0028\u0029", + "name": "jsonSerialize", + "summary": "Serialize\u0020this\u0020object\u0020to\u0020an\u0020array", + "url": "classes/LDC-LDCCRM-Models-Question.html#method_jsonSerialize" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024id", + "name": "id", + "summary": "The\u0020question\u0020id", + "url": "classes/LDC-LDCCRM-Models-Question.html#property_id" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024question", + "name": "question", + "summary": "The\u0020actual\u0020question\u0020as\u0020a\u0020string", + "url": "classes/LDC-LDCCRM-Models-Question.html#property_question" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024type", + "name": "type", + "summary": "The\u0020question\u0020type", + "url": "classes/LDC-LDCCRM-Models-Question.html#property_type" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024answers", + "name": "answers", + "summary": "The\u0020question\u0020answers", + "url": "classes/LDC-LDCCRM-Models-Question.html#property_answers" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024modelFields", + "name": "modelFields", + "summary": "The\u0020crm\u0020customer\u0020fields", + "url": "classes/LDC-LDCCRM-Models-Question.html#property_modelFields" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024validation", + "name": "validation", + "summary": "Validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-Question.html#property_validation" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\SingleOptin", + "name": "SingleOptin", + "summary": "This\u0020class\u0020allows\u0020to\u0020handle\u0020single\u0020optins", + "url": "classes/LDC-LDCCRM-Models-SingleOptin.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\SingleOptin\u003A\u003AsetStatus\u0028\u0029", + "name": "setStatus", + "summary": "Set\u0020the\u0020single\u0020optin\u0020status\u0020for\u0020an\u0020email", + "url": "classes/LDC-LDCCRM-Models-SingleOptin.html#method_setStatus" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\SingleOptin\u003A\u003A\u0024validation", + "name": "validation", + "summary": "Validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-SingleOptin.html#property_validation" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Stats", + "name": "Stats", + "summary": "This\u0020class\u0020is\u0020used\u0020to\u0020get\u0020stats\u0020from\u0020CRM", + "url": "classes/LDC-LDCCRM-Models-Stats.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Stats\u003A\u003AgetBrandStats\u0028\u0029", + "name": "getBrandStats", + "summary": "Get\u0020brand\u0020stats\u0020ordered\u0020by\u0020ascendent\u0020days", + "url": "classes/LDC-LDCCRM-Models-Stats.html#method_getBrandStats" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Stats\u003A\u003AgetQuestionStats\u0028\u0029", + "name": "getQuestionStats", + "summary": "Get\u0020brand\u0020stats\u0020ordered\u0020by\u0020ascendent\u0020days", + "url": "classes/LDC-LDCCRM-Models-Stats.html#method_getQuestionStats" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Stats\u003A\u003A\u0024validation", + "name": "validation", + "summary": "Validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-Stats.html#property_validation" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request", + "name": "Request", + "summary": "The\u0020LDC\u0020CRM\u0020request\nContains\u0020the\u0020http\u0020method,\u0020the\u0020requested\u0020url\u0020and\u0020data\u0020to\u0020pass", + "url": "classes/LDC-LDCCRM-Transport-Request.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Request", + "url": "classes/LDC-LDCCRM-Transport-Request.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A__get\u0028\u0029", + "name": "__get", + "summary": "Generic\u0020accessor", + "url": "classes/LDC-LDCCRM-Transport-Request.html#method___get" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003AmakeRequest\u0028\u0029", + "name": "makeRequest", + "summary": "make\u0020the\u0020guzzle\u0020request", + "url": "classes/LDC-LDCCRM-Transport-Request.html#method_makeRequest" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003AsetEndpoint\u0028\u0029", + "name": "setEndpoint", + "summary": "Set\u0020the\u0020api\u0020endpoint\u0020to\u0020the\u0020request", + "url": "classes/LDC-LDCCRM-Transport-Request.html#method_setEndpoint" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003Acall\u0028\u0029", + "name": "call", + "summary": "Make\u0020the\u0020Http\u0020request", + "url": "classes/LDC-LDCCRM-Transport-Request.html#method_call" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003AaddHeaders\u0028\u0029", + "name": "addHeaders", + "summary": "Add\u0020headers\u0020to\u0020the\u0020request", + "url": "classes/LDC-LDCCRM-Transport-Request.html#method_addHeaders" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003AaddData\u0028\u0029", + "name": "addData", + "summary": "Add\u0020data\u0020to\u0020the\u0020request", + "url": "classes/LDC-LDCCRM-Transport-Request.html#method_addData" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A\u0024client", + "name": "client", + "summary": "GuzzleHttp\u0020client", + "url": "classes/LDC-LDCCRM-Transport-Request.html#property_client" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A\u0024method", + "name": "method", + "summary": "The\u0020http\u0020method", + "url": "classes/LDC-LDCCRM-Transport-Request.html#property_method" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A\u0024uri", + "name": "uri", + "summary": "The\u0020http\u0020url", + "url": "classes/LDC-LDCCRM-Transport-Request.html#property_uri" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A\u0024headers", + "name": "headers", + "summary": "Data\u0020to\u0020pass\u0020to\u0020the\u0020http\u0020headers", + "url": "classes/LDC-LDCCRM-Transport-Request.html#property_headers" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A\u0024data", + "name": "data", + "summary": "Data\u0020to\u0020pass\u0020to\u0020the\u0020http\u0020body", + "url": "classes/LDC-LDCCRM-Transport-Request.html#property_data" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A\u0024request", + "name": "request", + "summary": "Guzzle\u0020request", + "url": "classes/LDC-LDCCRM-Transport-Request.html#property_request" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A\u0024endpoint", + "name": "endpoint", + "summary": "The\u0020Api\u0020endpoint", + "url": "classes/LDC-LDCCRM-Transport-Request.html#property_endpoint" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response", + "name": "Response", + "summary": "", + "url": "classes/LDC-LDCCRM-Transport-Response.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Response", + "url": "classes/LDC-LDCCRM-Transport-Response.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A__get\u0028\u0029", + "name": "__get", + "summary": "Generic\u0020accessor", + "url": "classes/LDC-LDCCRM-Transport-Response.html#method___get" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003AtryDecodeJson\u0028\u0029", + "name": "tryDecodeJson", + "summary": "Try\u0020to\u0020decode\u0020json\u0020and\u0020return\u0020false\u0020if\u0020it\u0020is\nnot\u0020a\u0020valid\u0020json", + "url": "classes/LDC-LDCCRM-Transport-Response.html#method_tryDecodeJson" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003AcheckVersion\u0028\u0029", + "name": "checkVersion", + "summary": "This\u0020checks\u0020if\u0020the\u0020crm\u0020version\u0020is\u0020way\u0020far\u0020beyond\u0020the\u0020client\u0020version.", + "url": "classes/LDC-LDCCRM-Transport-Response.html#method_checkVersion" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A\u0024status", + "name": "status", + "summary": "The\u0020response\u0020status", + "url": "classes/LDC-LDCCRM-Transport-Response.html#property_status" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A\u0024apiError", + "name": "apiError", + "summary": "The\u0020api\u0020error", + "url": "classes/LDC-LDCCRM-Transport-Response.html#property_apiError" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A\u0024httpCode", + "name": "httpCode", + "summary": "The\u0020response\u0020http\u0020code", + "url": "classes/LDC-LDCCRM-Transport-Response.html#property_httpCode" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A\u0024headers", + "name": "headers", + "summary": "The\u0020response\u0020headers", + "url": "classes/LDC-LDCCRM-Transport-Response.html#property_headers" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A\u0024body", + "name": "body", + "summary": "The\u0020response\u0020body", + "url": "classes/LDC-LDCCRM-Transport-Response.html#property_body" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A\u0024message", + "name": "message", + "summary": "The\u0020interface\u0020message", + "url": "classes/LDC-LDCCRM-Transport-Response.html#property_message" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A\u0024response", + "name": "response", + "summary": "PSR\u0020response", + "url": "classes/LDC-LDCCRM-Transport-Response.html#property_response" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils", + "name": "Utils", + "summary": "This\u0020is\u0020the\u0020LDCCRM\u0020utility\u0020class", + "url": "classes/LDC-LDCCRM-Utils.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AmakeValidator\u0028\u0029", + "name": "makeValidator", + "summary": "Create\u0020a\u0020new\u0020Validator\u0020instance.", + "url": "classes/LDC-LDCCRM-Utils.html#method_makeValidator" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AmakeValidatorFromRule\u0028\u0029", + "name": "makeValidatorFromRule", + "summary": "Generate\u0020a\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_makeValidatorFromRule" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationRequired\u0028\u0029", + "name": "validationRequired", + "summary": "Make\u0020Required\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationRequired" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationNullable\u0028\u0029", + "name": "validationNullable", + "summary": "Make\u0020Nullable\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationNullable" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationSometimes\u0028\u0029", + "name": "validationSometimes", + "summary": "Make\u0020Sometimes\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationSometimes" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationInt\u0028\u0029", + "name": "validationInt", + "summary": "Make\u0020Int\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationInt" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationString\u0028\u0029", + "name": "validationString", + "summary": "Make\u0020String\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationString" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationBool\u0028\u0029", + "name": "validationBool", + "summary": "Make\u0020Bool\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationBool" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationMin\u0028\u0029", + "name": "validationMin", + "summary": "Make\u0020Min\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationMin" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationMax\u0028\u0029", + "name": "validationMax", + "summary": "Make\u0020Max\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationMax" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationUuid\u0028\u0029", + "name": "validationUuid", + "summary": "Make\u0020Uuid\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationUuid" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationMixedCase\u0028\u0029", + "name": "validationMixedCase", + "summary": "Make\u0020MixedCase\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationMixedCase" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationContainDigit\u0028\u0029", + "name": "validationContainDigit", + "summary": "Make\u0020ContainDigit\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationContainDigit" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationContainSymbol\u0028\u0029", + "name": "validationContainSymbol", + "summary": "Make\u0020ContainSymbol\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationContainSymbol" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationDate\u0028\u0029", + "name": "validationDate", + "summary": "Make\u0020Date\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationDate" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationDateFormat\u0028\u0029", + "name": "validationDateFormat", + "summary": "Make\u0020DateFormat\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationDateFormat" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationEmail\u0028\u0029", + "name": "validationEmail", + "summary": "Make\u0020Email\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationEmail" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationArray\u0028\u0029", + "name": "validationArray", + "summary": "Make\u0020Array\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationArray" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationClosure\u0028\u0029", + "name": "validationClosure", + "summary": "Make\u0020Closure\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationClosure" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AgetConfig\u0028\u0029", + "name": "getConfig", + "summary": "This\u0020is\u0020only\u0020used\u0020for\u0020unit\u0020tests.", + "url": "classes/LDC-LDCCRM-Utils.html#method_getConfig" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AgetResquest\u0028\u0029", + "name": "getResquest", + "summary": "Generate\u0020a\u0020Request\u0020from\u0020the\u0020route\u0020name", + "url": "classes/LDC-LDCCRM-Utils.html#method_getResquest" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AgetPackageInfo\u0028\u0029", + "name": "getPackageInfo", + "summary": "Get\u0020composer.json\u0020infos", + "url": "classes/LDC-LDCCRM-Utils.html#method_getPackageInfo" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003Atranslate\u0028\u0029", + "name": "translate", + "summary": "Translation\u0020a\u0020string\u0020using\u0020php\u0020file\u0020lang", + "url": "classes/LDC-LDCCRM-Utils.html#method_translate" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003Alog\u0028\u0029", + "name": "log", + "summary": "Write\u0020log\u0020using\u0020syslog\nIt\u0020also\u0020write\u0020log\u0020using\u0020\\Illuminate\\Support\\Facades\\Log\nif\u0020it\u0020is\u0020present", + "url": "classes/LDC-LDCCRM-Utils.html#method_log" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AsetRawProperty\u0028\u0029", + "name": "setRawProperty", + "summary": "Set\u0020a\u0020property\u0020without\u0020any\u0020validation.", + "url": "classes/LDC-LDCCRM-Utils.html#method_setRawProperty" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AgetRawProperty\u0028\u0029", + "name": "getRawProperty", + "summary": "Get\u0020a\u0020property\u0020of\u0020an\u0020object.", + "url": "classes/LDC-LDCCRM-Utils.html#method_getRawProperty" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003A\u0024packageInfos", + "name": "packageInfos", + "summary": "Package\u0020infos", + "url": "classes/LDC-LDCCRM-Utils.html#property_packageInfos" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003A\u0024translations", + "name": "translations", + "summary": "Loaded\u0020translations", + "url": "classes/LDC-LDCCRM-Utils.html#property_translations" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm", + "name": "WPCrm", + "summary": "Class\u0020de\u0020gestion\u0020des\u0020users\u0020en\u0020session\u0020avec\u0020Wordpress\u0020\u0028ce\u0020truc\u0020immonde\u0029", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetUser\u0028\u0029", + "name": "getUser", + "summary": "Get\u0020the\u0020current\u0020user\nreturn\u0020null\u0020if\u0020the\u0020user\u0020is\u0020not\u0020logged\u0020in", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getUser" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetUserFromApi\u0028\u0029", + "name": "getUserFromApi", + "summary": "Get\u0020the\u0020current\u0020user\nreturn\u0020api\u0020response\u0020code\u0020if\u0020an\u0020error\u0020occurs", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getUserFromApi" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003Alogin\u0028\u0029", + "name": "login", + "summary": "Try\u0020to\u0020login\u0020with\u0020CRM\u0020API\nA\u0020session\u0020will\u0020be\u0020started\u0020if\u0020credentials\u0020are\u0020valid.", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_login" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003Alogout\u0028\u0029", + "name": "logout", + "summary": "Destroy\u0020the\u0020customer\u0020from\u0020session\nand\u0020therefore\u0020logout", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_logout" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003Acheck\u0028\u0029", + "name": "check", + "summary": "Check\u0020if\u0020the\u0020user\u0020is\u0020logged\u0020in.", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_check" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AsaveUser\u0028\u0029", + "name": "saveUser", + "summary": "Save\u0020current\u0020customer\u0020to\nthe\u0020local\u0020database\u0020and\u0020on\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_saveUser" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AdeleteUser\u0028\u0029", + "name": "deleteUser", + "summary": "Delete\u0020current\u0020customer\u0020from\nthe\u0020local\u0020database\u0020and\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_deleteUser" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AtoggleUserOptin\u0028\u0029", + "name": "toggleUserOptin", + "summary": "Toggle\u0020the\u0020current\u0020user\u0020optin\u0020value\non\u0020the\u0020current\u0020user\u0020and\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_toggleUserOptin" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AsetSingleOptin\u0028\u0029", + "name": "setSingleOptin", + "summary": "Set\u0020the\u0020single\u0020optin\u0020status\u0020for\u0020an\u0020email\non\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_setSingleOptin" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AactivateUser\u0028\u0029", + "name": "activateUser", + "summary": "Toggle\u0020the\u0020current\u0020user\u0020optin\u0020value\non\u0020the\u0020current\u0020user\u0020and\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_activateUser" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetNewUser\u0028\u0029", + "name": "getNewUser", + "summary": "Generate\u0020a\u0020new\u0020user", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getNewUser" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AunsetActiveUser\u0028\u0029", + "name": "unsetActiveUser", + "summary": "Remove\u0020active\u0020user\nto\u0020prevent\u0020WPCrm\u003A\u003Acheck\u0020to\u0020return\u0020true", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_unsetActiveUser" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AloginUserWithApi\u0028\u0029", + "name": "loginUserWithApi", + "summary": "Check\u0020customer\u0020credentials\u0020using\u0020the\u0020CRM.", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_loginUserWithApi" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetCustomer\u0028\u0029", + "name": "getCustomer", + "summary": "Get\u0020all\u0020customer\u0020infos", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getCustomer" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AsetUser\u0028\u0029", + "name": "setUser", + "summary": "Create\u0020a\u0020user\nstores\u0020it\u0020to\u0020the\u0020session\nand\u0020finally\u0020saves\u0020it\u0020to\u0020the\u0020database\u0020if\u0020it\u0020does\u0020not\u0020exists", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_setUser" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AinitLdcApi\u0028\u0029", + "name": "initLdcApi", + "summary": "Get\u0020the\u0020initialized\u0020API\u0020object", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_initLdcApi" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AmakeApiV2Call\u0028\u0029", + "name": "makeApiV2Call", + "summary": "Make\u0020a\u0020call\u0020using\u0020apiV2", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_makeApiV2Call" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AbootSessionIfNeeded\u0028\u0029", + "name": "bootSessionIfNeeded", + "summary": "Boot\u0020the\u0020php\u0020session\u0020if\u0020needed", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_bootSessionIfNeeded" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetUserFromTable\u0028\u0029", + "name": "getUserFromTable", + "summary": "Get\u0020a\u0020customer\u0020from\u0020table", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getUserFromTable" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetUserFromTableByEmail\u0028\u0029", + "name": "getUserFromTableByEmail", + "summary": "Get\u0020a\u0020customer\u0020from\u0020table\u0020by\u0020an\u0020email", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getUserFromTableByEmail" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetUserFromTableByUuid\u0028\u0029", + "name": "getUserFromTableByUuid", + "summary": "Get\u0020a\u0020customer\u0020from\u0020table\u0020by\u0020an\u0020email", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getUserFromTableByUuid" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AsaveOrUpdateUserToTable\u0028\u0029", + "name": "saveOrUpdateUserToTable", + "summary": "Save\u0020or\u0020update\u0020the\u0020user\u0020to\u0020the\u0020table", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_saveOrUpdateUserToTable" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AdeleteUserFromTable\u0028\u0029", + "name": "deleteUserFromTable", + "summary": "Save\u0020or\u0020update\u0020the\u0020user\u0020to\u0020the\u0020table", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_deleteUserFromTable" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003Aquery\u0028\u0029", + "name": "query", + "summary": "Query\u0020in\u0020DB", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_query" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetWpDb\u0028\u0029", + "name": "getWpDb", + "summary": "Get\u0020WP\u0020\u0027pdo\u0020instance\u0027", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getWpDb" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003A\u0024sessionKey", + "name": "sessionKey", + "summary": "The\u0020session\u0020key\u0020name", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#property_sessionKey" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003A\u0024sessionDestroyed", + "name": "sessionDestroyed", + "summary": "The\u0020session\u0020live\u0020status", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#property_sessionDestroyed" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003A\u0024api", + "name": "api", + "summary": "The\u0020user\u0020object", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#property_api" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003A\u0024user", + "name": "user", + "summary": "The\u0020user\u0020object", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#property_user" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmAnswer", + "name": "WPCrmAnswer", + "summary": "Class\u0020de\u0020gestion\u0020de\u0020la\u0020segmentation\u0020question\u0020avec\u0020Wordpress\u0020\u0028ce\u0020truc\u0020immonde\u0029", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmAnswer.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmAnswer\u003A\u003AsetQuestionAnswers\u0028\u0029", + "name": "setQuestionAnswers", + "summary": "Set\u0020answers\u0020to\u0020a\u0020question\u0020for\u0020a\u0020specific\u0020user", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmAnswer.html#method_setQuestionAnswers" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmQuestion", + "name": "WPCrmQuestion", + "summary": "Class\u0020de\u0020gestion\u0020de\u0020la\u0020segmentation\u0020question\u0020avec\u0020Wordpress\u0020\u0028ce\u0020truc\u0020immonde\u0029", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmQuestion\u003A\u003AgetAll\u0028\u0029", + "name": "getAll", + "summary": "Get\u0020all\u0020questions\u0020only", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html#method_getAll" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmQuestion\u003A\u003AallWithCustomerAnswers\u0028\u0029", + "name": "allWithCustomerAnswers", + "summary": "Get\u0020all\u0020the\u0020questions\u0020with\u0020user\u0020answers", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html#method_allWithCustomerAnswers" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmQuestion\u003A\u003AunansweredBy\u0028\u0029", + "name": "unansweredBy", + "summary": "Get\u0020unanswered\u0020question\u0020for\u0020a\u0020specific\u0020customer", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html#method_unansweredBy" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser", + "name": "WPCrmUser", + "summary": "Class\u0020de\u0020gestion\u0020des\u0020users\u0020en\u0020session\u0020avec\u0020Wordpress\u0020\u0028ce\u0020truc\u0020immonde\u0029", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "WPCrmUser\u0020construct", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A__get\u0028\u0029", + "name": "__get", + "summary": "Generic\u0020accessor", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method___get" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A__set\u0028\u0029", + "name": "__set", + "summary": "Generic\u0020mutator", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method___set" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003AsetInfo\u0028\u0029", + "name": "setInfo", + "summary": "Set\u0020the\u0020customer\u0020info\nwith\u0020api\u0020response", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_setInfo" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003AparseFromJson\u0028\u0029", + "name": "parseFromJson", + "summary": "Generate\u0020a\u0020user\u0020from\u0020session\u0020data", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_parseFromJson" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003AjsonSerialize\u0028\u0029", + "name": "jsonSerialize", + "summary": "Serialize\u0020this\u0020object\u0020to\u0020an\u0020array", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_jsonSerialize" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003Asave\u0028\u0029", + "name": "save", + "summary": "Save\u0020current\u0020customer\u0020to\nthe\u0020local\u0020database\u0020and\u0020on\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_save" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003Adelete\u0028\u0029", + "name": "delete", + "summary": "Delete\u0020current\u0020customer\u0020to\nthe\u0020local\u0020database\u0020and\u0020on\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_delete" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003AtoggleOptin\u0028\u0029", + "name": "toggleOptin", + "summary": "Toggle\u0020the\u0020current\u0020user\u0020optin\u0020value\non\u0020the\u0020current\u0020user\u0020and\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_toggleOptin" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003Aactivate\u0028\u0029", + "name": "activate", + "summary": "Activate\u0020the\u0020account\u0020in\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_activate" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A\u0024phashcode", + "name": "phashcode", + "summary": "The\u0020CRM\u0020hashcode\u0020\u0028UUID\u0029", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#property_phashcode" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A\u0024pemail", + "name": "pemail", + "summary": "The\u0020CRM\u0020customer\u0020email", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#property_pemail" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A\u0024info", + "name": "info", + "summary": "The\u0020CRM\u0020customer\u0020info\u0020\u0028the\u0020api\u0020response\u0029", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#property_info" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A\u0024uuidToken", + "name": "uuidToken", + "summary": "The\u0020CRM\u0020customer\u0020temp\u0020uuidToken\u0020to\u0020validate\u0020transactions", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#property_uuidToken" + }, { + "fqsen": "\\", + "name": "\\", + "summary": "", + "url": "namespaces/default.html" + }, { + "fqsen": "\\LDC\\LDCCRM", + "name": "LDCCRM", + "summary": "", + "url": "namespaces/ldc-ldccrm.html" + }, { + "fqsen": "\\LDC", + "name": "LDC", + "summary": "", + "url": "namespaces/ldc.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums", + "name": "Enums", + "summary": "", + "url": "namespaces/ldc-ldccrm-enums.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions", + "name": "Exceptions", + "summary": "", + "url": "namespaces/ldc-ldccrm-exceptions.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models", + "name": "Models", + "summary": "", + "url": "namespaces/ldc-ldccrm-models.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport", + "name": "Transport", + "summary": "", + "url": "namespaces/ldc-ldccrm-transport.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress", + "name": "WordPress", + "summary": "", + "url": "namespaces/ldc-ldccrm-wordpress.html" + } ] +); diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/namespaces/default.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/namespaces/default.html new file mode 100644 index 0000000..e254fb3 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/namespaces/default.html @@ -0,0 +1,162 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                              +

                                                                                                                              CRM V2

                                                                                                                              + + + + + +
                                                                                                                              + +
                                                                                                                              +
                                                                                                                              + + + + +
                                                                                                                              +
                                                                                                                                +
                                                                                                                              + +
                                                                                                                              +

                                                                                                                              API Documentation

                                                                                                                              + + +

                                                                                                                              + Namespaces + +

                                                                                                                              + +
                                                                                                                              +
                                                                                                                              LDC
                                                                                                                              +
                                                                                                                              + + + + + + + +
                                                                                                                              +
                                                                                                                              +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              Search results

                                                                                                                              + +
                                                                                                                              +
                                                                                                                              +
                                                                                                                                +
                                                                                                                                +
                                                                                                                                +
                                                                                                                                +
                                                                                                                                +
                                                                                                                                + + +
                                                                                                                                + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm-enums.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm-enums.html new file mode 100644 index 0000000..f7e2bc8 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm-enums.html @@ -0,0 +1,179 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                +

                                                                                                                                CRM V2

                                                                                                                                + + + + + +
                                                                                                                                + +
                                                                                                                                +
                                                                                                                                + + + + +
                                                                                                                                + + + +
                                                                                                                                +
                                                                                                                                +
                                                                                                                                +

                                                                                                                                Search results

                                                                                                                                + +
                                                                                                                                +
                                                                                                                                +
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm-exceptions.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm-exceptions.html new file mode 100644 index 0000000..2061037 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm-exceptions.html @@ -0,0 +1,180 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                  +

                                                                                                                                  CRM V2

                                                                                                                                  + + + + + +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  + + +
                                                                                                                                  +

                                                                                                                                  Exceptions

                                                                                                                                  + + + +

                                                                                                                                  + Interfaces, Classes and Traits + +

                                                                                                                                  + +
                                                                                                                                  + +
                                                                                                                                  AccessError
                                                                                                                                  +
                                                                                                                                  This is thrown when trying to set a value on an object property that does not exist.
                                                                                                                                  +
                                                                                                                                  ApiErrorException
                                                                                                                                  +
                                                                                                                                  This would be thrown if any of the case +referenced in \LDC\LDCCRM\Enums\ApiError would +occur within the crm
                                                                                                                                  +
                                                                                                                                  CrmException
                                                                                                                                  +
                                                                                                                                  This is a critical error.
                                                                                                                                  +
                                                                                                                                  SkipValidationException
                                                                                                                                  +
                                                                                                                                  Used only for internal validator
                                                                                                                                  +
                                                                                                                                  ValidationException
                                                                                                                                  +
                                                                                                                                  This would be thrown if a data could not be validated +on any models
                                                                                                                                  +
                                                                                                                                  WpCrmInvalidJsonUserInfo
                                                                                                                                  +
                                                                                                                                  This is thrown when trying to read WP customer from DB json data.
                                                                                                                                  + +
                                                                                                                                  + + + + + + +
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  Search results

                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                    +
                                                                                                                                    +
                                                                                                                                    +
                                                                                                                                    +
                                                                                                                                    +
                                                                                                                                    + + +
                                                                                                                                    + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm-models.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm-models.html new file mode 100644 index 0000000..715b496 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm-models.html @@ -0,0 +1,185 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                    +

                                                                                                                                    CRM V2

                                                                                                                                    + + + + + +
                                                                                                                                    + +
                                                                                                                                    +
                                                                                                                                    + + + + +
                                                                                                                                    + + +
                                                                                                                                    +

                                                                                                                                    Models

                                                                                                                                    + + + +

                                                                                                                                    + Interfaces, Classes and Traits + +

                                                                                                                                    + +
                                                                                                                                    + +
                                                                                                                                    Answer
                                                                                                                                    +
                                                                                                                                    This class represents an answer +It has a method to submit answers
                                                                                                                                    +
                                                                                                                                    ArcadiaMailDefault
                                                                                                                                    +
                                                                                                                                    This class represents the customer info with +the account validation status
                                                                                                                                    +
                                                                                                                                    ArcadiaMailGame
                                                                                                                                    +
                                                                                                                                    This class represents the customer info with +the account validation status
                                                                                                                                    +
                                                                                                                                    Customer
                                                                                                                                    +
                                                                                                                                    This class represents the customer info with +the account validation status. You can use it as +a standalone class but beware of catching exceptions
                                                                                                                                    +
                                                                                                                                    Question
                                                                                                                                    +
                                                                                                                                    This class represents a question +It has some static methods to retrieve questions and answers
                                                                                                                                    +
                                                                                                                                    SingleOptin
                                                                                                                                    +
                                                                                                                                    This class allows to handle single optins
                                                                                                                                    +
                                                                                                                                    Stats
                                                                                                                                    +
                                                                                                                                    This class is used to get stats from CRM
                                                                                                                                    + +
                                                                                                                                    + + + + + + +
                                                                                                                                    +
                                                                                                                                    +
                                                                                                                                    +
                                                                                                                                    +

                                                                                                                                    Search results

                                                                                                                                    + +
                                                                                                                                    +
                                                                                                                                    +
                                                                                                                                      +
                                                                                                                                      +
                                                                                                                                      +
                                                                                                                                      +
                                                                                                                                      +
                                                                                                                                      + + +
                                                                                                                                      + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm-transport.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm-transport.html new file mode 100644 index 0000000..937b238 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm-transport.html @@ -0,0 +1,170 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                      +

                                                                                                                                      CRM V2

                                                                                                                                      + + + + + +
                                                                                                                                      + +
                                                                                                                                      +
                                                                                                                                      + + + + +
                                                                                                                                      + + +
                                                                                                                                      +

                                                                                                                                      Transport

                                                                                                                                      + + + +

                                                                                                                                      + Interfaces, Classes and Traits + +

                                                                                                                                      + +
                                                                                                                                      + +
                                                                                                                                      Request
                                                                                                                                      +
                                                                                                                                      The LDC CRM request +Contains the http method, the requested url and data to pass
                                                                                                                                      +
                                                                                                                                      Response
                                                                                                                                      +
                                                                                                                                      + +
                                                                                                                                      + + + + + + +
                                                                                                                                      +
                                                                                                                                      +
                                                                                                                                      +
                                                                                                                                      +

                                                                                                                                      Search results

                                                                                                                                      + +
                                                                                                                                      +
                                                                                                                                      +
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        + + +
                                                                                                                                        + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm-wordpress.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm-wordpress.html new file mode 100644 index 0000000..23e4e24 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm-wordpress.html @@ -0,0 +1,173 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                        +

                                                                                                                                        CRM V2

                                                                                                                                        + + + + + +
                                                                                                                                        + +
                                                                                                                                        +
                                                                                                                                        + + + + +
                                                                                                                                        + + +
                                                                                                                                        +

                                                                                                                                        WordPress

                                                                                                                                        + + + +

                                                                                                                                        + Interfaces, Classes and Traits + +

                                                                                                                                        + +
                                                                                                                                        + +
                                                                                                                                        WPCrm
                                                                                                                                        +
                                                                                                                                        Class de gestion des users en session avec Wordpress (ce truc immonde)
                                                                                                                                        +
                                                                                                                                        WPCrmAnswer
                                                                                                                                        +
                                                                                                                                        Class de gestion de la segmentation question avec Wordpress (ce truc immonde)
                                                                                                                                        +
                                                                                                                                        WPCrmQuestion
                                                                                                                                        +
                                                                                                                                        Class de gestion de la segmentation question avec Wordpress (ce truc immonde)
                                                                                                                                        +
                                                                                                                                        WPCrmUser
                                                                                                                                        +
                                                                                                                                        Class de gestion des users en session avec Wordpress (ce truc immonde)
                                                                                                                                        + +
                                                                                                                                        + + + + + + +
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        +

                                                                                                                                        Search results

                                                                                                                                        + +
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                          + + +
                                                                                                                                          + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm.html new file mode 100644 index 0000000..849623e --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm.html @@ -0,0 +1,180 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                          +

                                                                                                                                          CRM V2

                                                                                                                                          + + + + + +
                                                                                                                                          + +
                                                                                                                                          +
                                                                                                                                          + + + + +
                                                                                                                                          + + +
                                                                                                                                          +

                                                                                                                                          LDCCRM

                                                                                                                                          + + +

                                                                                                                                          + Namespaces + +

                                                                                                                                          + +
                                                                                                                                          +
                                                                                                                                          Enums
                                                                                                                                          +
                                                                                                                                          Exceptions
                                                                                                                                          +
                                                                                                                                          Models
                                                                                                                                          +
                                                                                                                                          Transport
                                                                                                                                          +
                                                                                                                                          WordPress
                                                                                                                                          +
                                                                                                                                          + +

                                                                                                                                          + Interfaces, Classes and Traits + +

                                                                                                                                          + +
                                                                                                                                          + +
                                                                                                                                          CrmApiV2
                                                                                                                                          +
                                                                                                                                          This is the main class to interact with the CRM
                                                                                                                                          +
                                                                                                                                          Utils
                                                                                                                                          +
                                                                                                                                          This is the LDCCRM utility class
                                                                                                                                          + +
                                                                                                                                          + + + + + + +
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                          +

                                                                                                                                          Search results

                                                                                                                                          + +
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            + + +
                                                                                                                                            + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/namespaces/ldc.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/namespaces/ldc.html new file mode 100644 index 0000000..4c85420 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/namespaces/ldc.html @@ -0,0 +1,162 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                            +

                                                                                                                                            CRM V2

                                                                                                                                            + + + + + +
                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            + + + + +
                                                                                                                                            +
                                                                                                                                              +
                                                                                                                                            + +
                                                                                                                                            +

                                                                                                                                            LDC

                                                                                                                                            + + +

                                                                                                                                            + Namespaces + +

                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            LDCCRM
                                                                                                                                            +
                                                                                                                                            + + + + + + + +
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            Search results

                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                              +
                                                                                                                                              +
                                                                                                                                              +
                                                                                                                                              +
                                                                                                                                              +
                                                                                                                                              + + +
                                                                                                                                              + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-Wordpress.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-Wordpress.html new file mode 100644 index 0000000..7fd2cad --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-Wordpress.html @@ -0,0 +1,172 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                              +

                                                                                                                                              CRM V2

                                                                                                                                              + + + + + +
                                                                                                                                              + +
                                                                                                                                              +
                                                                                                                                              + + + + +
                                                                                                                                              + + +
                                                                                                                                              +

                                                                                                                                              Wordpress

                                                                                                                                              + + + +

                                                                                                                                              + Interfaces, Classes and Traits + +

                                                                                                                                              + +
                                                                                                                                              + +
                                                                                                                                              WPCrm
                                                                                                                                              +
                                                                                                                                              Class de gestion des users en session avec Wordpress (ce truc immonde)
                                                                                                                                              +
                                                                                                                                              WPCrmAnswer
                                                                                                                                              +
                                                                                                                                              Class de gestion de la segmentation question avec Wordpress (ce truc immonde)
                                                                                                                                              +
                                                                                                                                              WPCrmQuestion
                                                                                                                                              +
                                                                                                                                              Class de gestion de la segmentation question avec Wordpress (ce truc immonde)
                                                                                                                                              +
                                                                                                                                              WPCrmUser
                                                                                                                                              +
                                                                                                                                              Class de gestion des users en session avec Wordpress (ce truc immonde)
                                                                                                                                              + +
                                                                                                                                              + + + + + + +
                                                                                                                                              +
                                                                                                                                              +
                                                                                                                                              +
                                                                                                                                              +

                                                                                                                                              Search results

                                                                                                                                              + +
                                                                                                                                              +
                                                                                                                                              +
                                                                                                                                                +
                                                                                                                                                +
                                                                                                                                                +
                                                                                                                                                +
                                                                                                                                                +
                                                                                                                                                + + +
                                                                                                                                                + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-enums.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-enums.html new file mode 100644 index 0000000..f4af5ce --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-enums.html @@ -0,0 +1,178 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                +

                                                                                                                                                CRM V2

                                                                                                                                                + + + + + +
                                                                                                                                                + +
                                                                                                                                                +
                                                                                                                                                + + + + +
                                                                                                                                                + + + +
                                                                                                                                                +
                                                                                                                                                +
                                                                                                                                                +

                                                                                                                                                Search results

                                                                                                                                                + +
                                                                                                                                                +
                                                                                                                                                +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  + + +
                                                                                                                                                  + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-exceptions.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-exceptions.html new file mode 100644 index 0000000..3a0f3ff --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-exceptions.html @@ -0,0 +1,179 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                  +

                                                                                                                                                  CRM V2

                                                                                                                                                  + + + + + +
                                                                                                                                                  + +
                                                                                                                                                  +
                                                                                                                                                  + + + + +
                                                                                                                                                  + + +
                                                                                                                                                  +

                                                                                                                                                  exceptions

                                                                                                                                                  + + + +

                                                                                                                                                  + Interfaces, Classes and Traits + +

                                                                                                                                                  + +
                                                                                                                                                  + +
                                                                                                                                                  AccessError
                                                                                                                                                  +
                                                                                                                                                  This is thrown when trying to set a value on an object property that does not exist.
                                                                                                                                                  +
                                                                                                                                                  ApiErrorException
                                                                                                                                                  +
                                                                                                                                                  This would be thrown if any of the case +referenced in \LDC\LDCCRM\Enums\ApiError would +occur within the crm
                                                                                                                                                  +
                                                                                                                                                  CrmException
                                                                                                                                                  +
                                                                                                                                                  This is a critical error.
                                                                                                                                                  +
                                                                                                                                                  SkipValidationException
                                                                                                                                                  +
                                                                                                                                                  Used only for internal validator
                                                                                                                                                  +
                                                                                                                                                  ValidationException
                                                                                                                                                  +
                                                                                                                                                  This would be thrown if a data could not be validated +on any models
                                                                                                                                                  +
                                                                                                                                                  WpCrmInvalidJsonUserInfo
                                                                                                                                                  +
                                                                                                                                                  This is thrown when trying to read WP customer from DB json data.
                                                                                                                                                  + +
                                                                                                                                                  + + + + + + +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  Search results

                                                                                                                                                  + +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    + + +
                                                                                                                                                    + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-models.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-models.html new file mode 100644 index 0000000..c3be18d --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-models.html @@ -0,0 +1,184 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                    +

                                                                                                                                                    CRM V2

                                                                                                                                                    + + + + + +
                                                                                                                                                    + +
                                                                                                                                                    +
                                                                                                                                                    + + + + +
                                                                                                                                                    + + +
                                                                                                                                                    +

                                                                                                                                                    models

                                                                                                                                                    + + + +

                                                                                                                                                    + Interfaces, Classes and Traits + +

                                                                                                                                                    + +
                                                                                                                                                    + +
                                                                                                                                                    Answer
                                                                                                                                                    +
                                                                                                                                                    This class represents an answer +It has a method to submit answers
                                                                                                                                                    +
                                                                                                                                                    ArcadiaMailDefault
                                                                                                                                                    +
                                                                                                                                                    This class represents the customer info with +the account validation status
                                                                                                                                                    +
                                                                                                                                                    ArcadiaMailGame
                                                                                                                                                    +
                                                                                                                                                    This class represents the customer info with +the account validation status
                                                                                                                                                    +
                                                                                                                                                    Customer
                                                                                                                                                    +
                                                                                                                                                    This class represents the customer info with +the account validation status. You can use it as +a standalone class but beware of catching exceptions
                                                                                                                                                    +
                                                                                                                                                    Question
                                                                                                                                                    +
                                                                                                                                                    This class represents a question +It has some static methods to retrieve questions and answers
                                                                                                                                                    +
                                                                                                                                                    SingleOptin
                                                                                                                                                    +
                                                                                                                                                    This class allows to handle single optins
                                                                                                                                                    +
                                                                                                                                                    Stats
                                                                                                                                                    +
                                                                                                                                                    This class is used to get stats from CRM
                                                                                                                                                    + +
                                                                                                                                                    + + + + + + +
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    +

                                                                                                                                                    Search results

                                                                                                                                                    + +
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                      +
                                                                                                                                                      +
                                                                                                                                                      +
                                                                                                                                                      +
                                                                                                                                                      +
                                                                                                                                                      + + +
                                                                                                                                                      + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-transport.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-transport.html new file mode 100644 index 0000000..34305af --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-transport.html @@ -0,0 +1,169 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                      +

                                                                                                                                                      CRM V2

                                                                                                                                                      + + + + + +
                                                                                                                                                      + +
                                                                                                                                                      +
                                                                                                                                                      + + + + +
                                                                                                                                                      + + +
                                                                                                                                                      +

                                                                                                                                                      transport

                                                                                                                                                      + + + +

                                                                                                                                                      + Interfaces, Classes and Traits + +

                                                                                                                                                      + +
                                                                                                                                                      + +
                                                                                                                                                      Request
                                                                                                                                                      +
                                                                                                                                                      The LDC CRM request +Contains the http method, the requested url and data to pass
                                                                                                                                                      +
                                                                                                                                                      Response
                                                                                                                                                      +
                                                                                                                                                      + +
                                                                                                                                                      + + + + + + +
                                                                                                                                                      +
                                                                                                                                                      +
                                                                                                                                                      +
                                                                                                                                                      +

                                                                                                                                                      Search results

                                                                                                                                                      + +
                                                                                                                                                      +
                                                                                                                                                      +
                                                                                                                                                        +
                                                                                                                                                        +
                                                                                                                                                        +
                                                                                                                                                        +
                                                                                                                                                        +
                                                                                                                                                        + + +
                                                                                                                                                        + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-utilities.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-utilities.html new file mode 100644 index 0000000..f302c2d --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-utilities.html @@ -0,0 +1,166 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                        +

                                                                                                                                                        CRM V2

                                                                                                                                                        + + + + + +
                                                                                                                                                        + +
                                                                                                                                                        +
                                                                                                                                                        + + + + +
                                                                                                                                                        + + +
                                                                                                                                                        +

                                                                                                                                                        utilities

                                                                                                                                                        + + + +

                                                                                                                                                        + Interfaces, Classes and Traits + +

                                                                                                                                                        + +
                                                                                                                                                        + +
                                                                                                                                                        Utils
                                                                                                                                                        +
                                                                                                                                                        This is the LDCCRM utility class
                                                                                                                                                        + +
                                                                                                                                                        + + + + + + +
                                                                                                                                                        +
                                                                                                                                                        +
                                                                                                                                                        +
                                                                                                                                                        +

                                                                                                                                                        Search results

                                                                                                                                                        + +
                                                                                                                                                        +
                                                                                                                                                        +
                                                                                                                                                          +
                                                                                                                                                          +
                                                                                                                                                          +
                                                                                                                                                          +
                                                                                                                                                          +
                                                                                                                                                          + + +
                                                                                                                                                          + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient.html new file mode 100644 index 0000000..4654e06 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient.html @@ -0,0 +1,178 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                          +

                                                                                                                                                          CRM V2

                                                                                                                                                          + + + + + +
                                                                                                                                                          + +
                                                                                                                                                          +
                                                                                                                                                          + + + + +
                                                                                                                                                          +
                                                                                                                                                            +
                                                                                                                                                          + + +
                                                                                                                                                          +
                                                                                                                                                          +
                                                                                                                                                          +

                                                                                                                                                          Search results

                                                                                                                                                          + +
                                                                                                                                                          +
                                                                                                                                                          +
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                            + + +
                                                                                                                                                            + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/packages/None.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/packages/None.html new file mode 100644 index 0000000..d9a0064 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/packages/None.html @@ -0,0 +1,154 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                            +

                                                                                                                                                            CRM V2

                                                                                                                                                            + + + + + +
                                                                                                                                                            + +
                                                                                                                                                            +
                                                                                                                                                            + + + + +
                                                                                                                                                            +
                                                                                                                                                              +
                                                                                                                                                            + +
                                                                                                                                                            +

                                                                                                                                                            None

                                                                                                                                                            + + + + + + + + + +
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            Search results

                                                                                                                                                            + +
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              + + +
                                                                                                                                                              + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/packages/default.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/packages/default.html new file mode 100644 index 0000000..3cdcc15 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/packages/default.html @@ -0,0 +1,163 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                              +

                                                                                                                                                              CRM V2

                                                                                                                                                              + + + + + +
                                                                                                                                                              + +
                                                                                                                                                              +
                                                                                                                                                              + + + + +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              API Documentation

                                                                                                                                                              + +

                                                                                                                                                              + Packages + +

                                                                                                                                                              + +
                                                                                                                                                              +
                                                                                                                                                              LDCCrmClient
                                                                                                                                                              +
                                                                                                                                                              None
                                                                                                                                                              +
                                                                                                                                                              + + + + + + + + +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Search results

                                                                                                                                                              + +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                + + +
                                                                                                                                                                + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/reports/deprecated.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/reports/deprecated.html new file mode 100644 index 0000000..0e14398 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/reports/deprecated.html @@ -0,0 +1,152 @@ + + + + + CRM V2 » Deprecated elements + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                +

                                                                                                                                                                CRM V2

                                                                                                                                                                + + + + + +
                                                                                                                                                                + +
                                                                                                                                                                +
                                                                                                                                                                + + + + +
                                                                                                                                                                + + +
                                                                                                                                                                +

                                                                                                                                                                Deprecated

                                                                                                                                                                + + +
                                                                                                                                                                + No deprecated elements have been found in this project. +
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                Search results

                                                                                                                                                                + +
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + + +
                                                                                                                                                                  + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/reports/errors.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/reports/errors.html new file mode 100644 index 0000000..31cf4ac --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/reports/errors.html @@ -0,0 +1,151 @@ + + + + + CRM V2 » Compilation errors + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                  +

                                                                                                                                                                  CRM V2

                                                                                                                                                                  + + + + + +
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  + + + + +
                                                                                                                                                                  + + +
                                                                                                                                                                  +

                                                                                                                                                                  Errors

                                                                                                                                                                  + + +
                                                                                                                                                                  No errors have been found in this project.
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  Search results

                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                    +
                                                                                                                                                                    +
                                                                                                                                                                    +
                                                                                                                                                                    +
                                                                                                                                                                    +
                                                                                                                                                                    + + +
                                                                                                                                                                    + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/client-api/reports/markers.html b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/reports/markers.html new file mode 100644 index 0000000..faa9c4a --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/client-api/reports/markers.html @@ -0,0 +1,152 @@ + + + + + CRM V2 » Markers + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                    +

                                                                                                                                                                    CRM V2

                                                                                                                                                                    + + + + + +
                                                                                                                                                                    + +
                                                                                                                                                                    +
                                                                                                                                                                    + + + + +
                                                                                                                                                                    + + +
                                                                                                                                                                    +

                                                                                                                                                                    Markers

                                                                                                                                                                    + +
                                                                                                                                                                    + No markers have been found in this project. +
                                                                                                                                                                    + +
                                                                                                                                                                    +
                                                                                                                                                                    +
                                                                                                                                                                    +
                                                                                                                                                                    +

                                                                                                                                                                    Search results

                                                                                                                                                                    + +
                                                                                                                                                                    +
                                                                                                                                                                    +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      + + +
                                                                                                                                                                      + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/usages/client.md b/app/Lib/vendor/crm-client-3.0.6/docs/usages/client.md new file mode 100644 index 0000000..e1b6eed --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/usages/client.md @@ -0,0 +1,14 @@ +# Normal usage + +[Back](../../readme.md) + +Classes you can use are located in the ``\LDC\LDCCRM\Models`` namespace. + +- ``Answer`` : To provide an answers to a specific question. +- ``Customer`` : To fetch, create, update, delete, authenticate, activate, opt in or opt out you customer. +- ``Question`` : Used to fetch questions, unanswered question but also answered questions. +- ``SingleOptin`` : Use this to create a single opt in. For people who might just want to subscribe to a newsletter. +- ``Stats`` : Use this to fetch stats about questions or just general stats. + + +For more detailed info, you may refer to the [Client API DOC](../client-api/index.html) diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/usages/custom.md b/app/Lib/vendor/crm-client-3.0.6/docs/usages/custom.md new file mode 100644 index 0000000..5c1e7b8 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/usages/custom.md @@ -0,0 +1,194 @@ +# Custom implementation + +[Back](../../readme.md) + +***PLEASE NOTE: This should not be ever implemented on client side js lib or any. Doing this you will allow access all you clients data and make a security breach. You api secret shall remain secret. At your request it can be regenerated.*** + +The service provided is a restful api. The access is pretty simple but remains secured as possible. Make sure **you read all of the sections** as you handle **api errors** correctly. +The two steps you may achieve are +- Authenticate to the api correctly +- Implement a correct usage of each available calls you need. + +## Prerequisite + +From here you will learn how to consume data from LDC CRM. +**The prerequisite are still the same.** +You will need a **service ``token`` and ``password``**. The endpoint remains the same **https://ldc-crm.ldc.fr**. + +--- +There are multiple calls you can make but you will need to get some informations from this repo. + +- From file ``apiConfig.readonly.json`` + + - version: Use this as a landmark, if version evolves you may hear from us warning changes. As a matter effect from here only security updates may be applied. Any major changes may be discussed with partners. + - timestampTimeout: This value is in seconds and means that if your call cannot reach us until this delay it will not be accepted. + - apiRequestRatePerMinute: This is the threshold per minutes that will trigger throttling, thus your request may be refused. + - servicesDBCache: This value you can just ignore it. + +- From file ``src/routes.json`` + + - This contains the api routes. You can have more explications on different routes in [docs/usages/custom/routes.md](custom/routes.md). + +## Authentication + +The system used is completely restful. It prevents timing attacks, replay attacks (in a time lap), man in the middle attacks. We choose to adopt a system like Amazon web service uses https://docs.aws.amazon.com/AmazonSimpleDB/latest/DeveloperGuide/HMACAuth.html + +We consider this to be enough as the point the actual CRM is, also with regard to the financial resources available to LDC. + +### How to create a signature ? + +You will need to assemble information on your request. + +- The URL including scheme, host and path (eg: *https://ldc-crm.fr/customer/1*) +- Http method in lowercase (eg: *get*) +- Parameters + + All request must be sent as ``www/url-encoded``. Also parameters you have to collect here must be flattened joined with dots. example: + + 'code_on_pack', + 'code_unique', + 'label_type_support', + 'operation', + 'order_date', + 'support_code', + 'type', + 'deliver.firstname', + 'deliver.lastname', + 'deliver.email', + 'deliver.address', + 'deliver.address2', + 'deliver.city', + 'deliver.postcode', + 'deliver.phone' + + Then have to be sorted by ***natural order*** eg: + + 'code_on_pack', + 'code_unique', + 'deliver.address', + 'deliver.address2', + 'deliver.city', + 'deliver.email', + 'deliver.firstname', + 'deliver.lastname', + 'deliver.phone', + 'deliver.postcode', + 'label_type_support', + 'operation', + 'order_date', + 'support_code', + 'type' + + Notes: To these parameters you must add two things your service token and a timestamp. + + **eg:** + - ``bearer_token=cc82d97eb7235812f5cc1561ddcd64969`` + - ``timestamp=2021-12-29 21:10:31`` + + Time stamp must have this format ``Y-m-d H:i:s`` as a classic DateTime. This will serve as nonce making harder to guess data obfuscated with ssl. + + After this you will have to **concatenate all parameters names with their values using ``=`` then all parameters between them using char ``&``**. Note that each parameter key and value must be url encoded according [rfc3986](http://www.faqs.org/rfcs/rfc3986.html). + + Finally you will have to concatenate those 3 items, uri, method and parameters with ``\n``. eg: + + http://127.0.0.1/api/v2/arcadia/outgoing-mail/default\n + post\n + bearer_token=cc82d97eb7235812f5cc1561ddcd64969 + 4810e56&deliver.address=94%2C%20chemin%20de%20 + Hamon%0A79344%20Bonnin&deliver.address2=& + deliver.city=Blanchet&deliver.email=danielle + 42%40gmail.com&deliver.firstname=Marianne& + deliver.lastname=Morvan&deliver.phone=01%2043%20 + 53%2013%2073&deliver.postcode=92%20197&label_ + type_support=Fond%20carte%20Aimant%C3%A9& + operation=16&order_date=2021%2F12%2F29%2022 + %3A10%3A31&order_num=23&package_unit_weight=0& + state_order=0&support_code=1×tamp=2021- + 12-29%2021%3A10%3A31 + + This string will be used to calculate our signature using [hmac, rfc2104](http://www.faqs.org/rfcs/rfc2104.html) method with algo sha256, the result will be binary encode as base64. + + **PHP** + + base64_encode(hash_hmac( + 'sha256', + $concatRequestString, + $servicePassword, + true + )); + + **ASP.NET** + + var secretKeyByteArray = Convert.FromBase64String(APIKey); + + byte[] signature = Encoding.UTF8.GetBytes(signatureRawData); + + using (HMACSHA256 hmac = new HMACSHA256(secretKeyByteArray)) + { + byte[] signatureBytes = hmac.ComputeHash(signature); + string requestSignatureBase64String = Convert.ToBase64String(signatureBytes); + } + + **JAVA** + + byte[] secretKey = "bearer_pwd".getBytes("UTF-8"); + byte[] message = "https://ldc-crm.fr\nget\n....".getBytes("UTF-8") + byte[] hmacSha256 = null; + String base64HmacSha256 = ''; + try { + Mac mac = Mac.getInstance("HmacSHA256"); + SecretKeySpec secretKeySpec = new SecretKeySpec(secretKey, "HmacSHA256"); + mac.init(secretKeySpec); + hmacSha256 = mac.doFinal(message); + base64HmacSha256 = Base64.getEncoder().encodeToString(hmacSha256); + } catch (Exception e) { + throw new RuntimeException("Failed to calculate hmac-sha256", e); + } + + This way your request will be able to pass checks, also to be authenticated since you give your api token we now which data you may be served with. + Details about how to implement this is up to you after that. If your request is not accepted you will always have details about what is wrong. + +### Mandatory parameters for all requests + +Every request except ``apiV2.ping`` needs a signature parameter. Some you have to provide foreach each request ``bearer_token``, ``timestamp``, ``signature``. Also only request. + +## HTTP CONTENT-TYPE + +Every request have to be json_encoded. The crm will only handle json requests and also respond only in json. No other ways are handled at this time. This means your requests will need to have two HTTP headers +- ``Accept: application/json`` +- ``Content-Type: application/json`` +Of course body will have to be encoded as json to be a valid request. Minimal body content shall be ``{}``, ``[]`` following [RFC-4627](https://www.rfc-editor.org/rfc/rfc4627) instead of [RFC-8259](https://www.rfc-editor.org/rfc/rfc8259) witch is the actual "Internet Standard" as marked from 2017. + +## Handling Errors + +All responses will be constants, this means you will always find a json array which contains : + + [ + 'status': 'OK' or 'KO', + 'data': [], + 'version': '3.0.0' // status version + ] + +***So having to handle error you will find*** + + [ + 'status': 'KO' + 'data': [ + 'code': xxx, // integer + 'message': 'error message text' + ] + 'version': '3.0.0' + ] + + +You may find all types of error message in ``src/Enums/ApiError.php``, this file contains detailed description of many errors, so we won't detail them in here. + +In general you may catch http error code 500 which is a general error of course. + +**You may also have errors that are not covered in the ApiError doc**. This could happen even if all code of crm is tested, we encourage you to have a log supervision of your project. + +**You may use errors messages to display in your app**. As for example the ``validationFailed`` error will always contain detailed information about why your request was rejected. This information will be in french language and could be displayed directly to your users. How ever you could also wrap all of this using only the error code. + +## Routes + +Please refer to the [Prerequisite section](#prerequisite) diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/usages/custom/routes.md b/app/Lib/vendor/crm-client-3.0.6/docs/usages/custom/routes.md new file mode 100644 index 0000000..d308b79 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/usages/custom/routes.md @@ -0,0 +1,576 @@ +# Routes + +[Back](../custom.md) + +Summary + +- [Routes](#routes) + - [Ping](#ping) + - [Opt in](#opt-in) + - [Create a customer](#create-a-customer) + - [Get customer info](#get-customer-info) + - [Update a customer](#update-a-customer) + - [Delete a customer](#delete-a-customer) + - [Authenticate a customer](#authenticate-a-customer) + - [Send customer answers to a question](#send-customer-answers-to-a-question) + - [Question listing](#question-listing) + - [Question listing unanswered only](#question-listing-unanswered-only) + - [Question listing with customer answers](#question-listing-with-customer-answers) + - [Get brand statistics](#get-brand-statistics) + - [Get question statistics](#get-question-statistics) + +**For all error codes please refer to ``src/Enums/ApiError.php``** + +--- + +## Ping + +Name : ``apiV2.ping`` + +URI : ``api/v2/ping`` + +METHOD: ``GET|HEAD`` + +PARAMETERS : + + [] + +This is the only route that don't need to be authenticated. You may use this to check in a supervision or any if you can still reach LDC crm and if it has not crashed. + + Response code you always be. + + HTTP : 200 + [ + 'status': 'OK', + 'data': [], + 'version': 'x.x.x' + ] + +--- + +## Opt in + +Name : ``apiV2.optin`` + +URI : ``api/v2/optin`` + +METHOD: ``POST`` + +PARAMETERS: + + [ + 'email': '', // A valid email string + 'status': 0 or 1 // A valid boolean value + ] + +You this you may create or delete a single opt in. This is used to add one of your customer to you mailing lists. So you may bind this to a subscribe newsletter button for example. ***Please note that you cannot create a single opt in using the same email than one of you customer have*** + + + Response should be if ok. + + HTTP : 200 + [ + 'status': 'OK', + 'data': [], + 'version': 'x.x.x' + ] + +Possible errors: + + - ``singleOptinCustomerExists`` : If a customer using the same email exists. You are not allowed to create a single opt in. + - ``validationException`` : + - If the provided ``email`` is not valid, checks are dns, rfc, spoof based. This is as strict as possible to prevent your contact list to contain trash. + - If ``status`` do not contain a boolean value. + +--- + +## Create a customer + +Name : ``apiV2.customers.store`` + +URI : ``api/v2/customers`` + +METHOD: ``POST`` + +PARAMETERS: + +- ``firstname`` : **required** *string* min:1 max:255 +- ``lastname`` : **required** *string* min:1 max:255 +- ``email`` : **required** max:255 A valid email string +- ``password`` : **required** min:8 max:255 Need to have mixed case, letters, numbers and must not be compromised. This means it must not appear as breached on the internet. +- ``birth_date``: **required** Must be with format Y-m-d. +- ``address``: *string* max:255. +- ``address2``: *string* max:255. +- ``phone``: *string* Accepted country phones are France, Belgium Luxembourg. +- ``country``: *integer* This has to contain a value of ``src/Enums/Country.php``, accepted are France or DROM COM (guadeloupe, martinique, frenchGuiana, reunion, saintPierreAndMiquelon, mayotte, saintBarthelemy, saintMartinFrenchPart, wallisAndFutuna, frenchPolynesia, newCaledonia), Belgium or Luxembourg +- ``city``: *string* min:2 max:255 +- ``postcode``: *string* A valid postal code of France, Belgium or Luxembourg +- ``opt_in``: **required** A valid boolean + + +This is used of course to create a new customer. +***Note : Reponse will contain hashcode, this is the ID of your customer and you may store this information along with its email*** + +**Note : If a single optin exists with you customer email, it will be deleted** + + +Response should be if ok. + + HTTP : 200 + [ + 'status': 'OK', + 'data': [ + firstname string + lastname string + birth_date datetime + address string + address2 string + phone string + country string + city string + postcode string + opt_in boolean + hashcode string + status boolean + ], + 'version': 'x.x.x' + ] + +Possible errors: + + - ``validationException`` : If any provided parameter is invalid. + +--- + +## Get customer info + +Name : ``apiV2.customers.show`` + +URI : ``api/v2/customers/{serviceCustomer}`` + +METHOD: ``GET|HEAD`` + +ROUTE PARAMETERS : + +- ``serviceCustomer`` : The customer hashcode or email, But you may absolutely prefer the customer hashcode. Requested uris leave trace in system logs. + + +This is used to get data about a customer, to show profile page for example. **You are encouraged to cache these informations** and update only when the customer updates its own informations. + + +Response should be if ok. + + HTTP : 200 + [ + 'status': 'OK', + 'data': [ + firstname string + lastname string + birth_date datetime + address string + address2 string + phone string + country string + city string + postcode string + opt_in boolean + hashcode string + status boolean + ], + 'version': 'x.x.x' + ] + +Possible errors: + + - ``modelNotFound`` : If the customer could not be found. + +--- + +## Update a customer + +Name : ``apiV2.customers.update`` + +URI : ``api/v2/customers/{serviceCustomer}`` + +METHOD: ``PUT|PATCH`` + +ROUTE PARAMETERS : + +- ``serviceCustomer`` : The customer hashcode or email, But you may absolutely prefer the customer hashcode. Requested uris leave trace in system logs. + +PARAMETERS: + +- ``firstname`` : **at_least** *string* min:1 max:255 +- ``lastname`` : **at_least** *string* min:1 max:255 +- ``email`` : **at_least** max:255 A valid email string +- ``password`` : **at_least** min:8 max:255 Need to have mixed case, letters, numbers and must not be compromised. This means it must not appear as breached on the internet. +- ``birth_date``: **at_least** Must be with format Y-m-d. +- ``address``: **at_least** max:255. +- ``address2``: **at_least** max:255. +- ``phone``: **at_least** Accepted country phones are France, Belgium Luxembourg. +- ``country``: **at_least** This has to contain a value of ``src/Enums/Country.php``, accepted are France or DROM COM (guadeloupe, martinique, frenchGuiana, reunion, saintPierreAndMiquelon, mayotte, saintBarthelemy, saintMartinFrenchPart, wallisAndFutuna, frenchPolynesia, newCaledonia), Belgium or Luxembourg +- ``city``: **at_least** min:2 max:255 +- ``postcode``: **at_least** A valid postal code of France, Belgium or Luxembourg +- ``opt_in``: **at_least** A valid boolean + + +This is used to update customer info. You must at least update on field while calling this. + +**Note : at_least rule means that at least one of these fields must be present. Send only fields you want to update.** + + + Response should be if ok. + + HTTP : 200 + [ + 'status': 'OK', + 'data': [ + firstname string + lastname string + birth_date datetime + address string + address2 string + phone string + country string + city string + postcode string + opt_in boolean + hashcode string + status boolean + ], + 'version': 'x.x.x' + ] + +Possible errors: + + - ``validationException`` : If any provided parameter is invalid. + - ``modelNotFound`` : If the customer could not be found. + +--- + +## Delete a customer + +Name : ``apiV2.customers.destroy`` + +URI : ``api/v2/customers/{serviceCustomer}`` + +METHOD: ``DELETE`` + +ROUTE PARAMETERS : + +- ``serviceCustomer`` : The customer hashcode or email, But you may absolutely prefer the customer hashcode. Requested uris leave trace in system logs. + + +This is used to remove customer info. ***This cannot be undone and will completly remove all of customer info on our systems.*** + + Response should be if ok. + + HTTP : 200 + [ + 'status': 'OK', + 'data': [], + 'version': 'x.x.x' + ] + +Possible errors: + + - ``modelNotFound`` : If the customer could not be found. + +--- + +## Authenticate a customer + +Name : ``apiV2.customers.authenticate`` + +URI : ``api/v2/customers/authenticate`` + +METHOD: ``POST`` + +PARAMETERS : + +- ``email`` : This should be a valid email address and of course exists in you customer database. +- ``password`` : The actual customer password. + + +Use this to test Customer credentials and determine if there are valid. You shall then allow login. + +***Note : make sure you use https connection, http only connections are not accepted*** + +**Note: to login a customer account must be activated, this means you shall verify yourself his email address, than call the activate url.** + +Response should be if ok. + + HTTP : 200 + [ + 'status': 'OK', + 'data': [], + 'version': 'x.x.x' + ] + +Possible errors: + + - ``validationFailed`` : If email is no valid. + - ``authFailed`` : If credentials aren't valid. + - ``customerNotActivated`` : If the customer account is not activated. + +--- + +## Send customer answers to a question + +Name : ``apiV2.customers.answers.store`` + +URI : ``api/v2/customers/{serviceCustomer}/answers`` + +METHOD: ``POST`` + +ROUTE PARAMETERS : + +- ``serviceCustomer`` : The customer hashcode or email, But you may absolutely prefer the customer hashcode. Requested uris leave trace in system logs. + +PARAMETERS : + +- ``question`` : This has to be a valid question ID +- ``answers`` : Has to be an array that contains a valid list of answers ID. Even if only one answer is given it still has to be an array. Answers has to belong to the provided question ID. + + This is to provide customer answer(s) + + ***Note : no checks are done as for the question type, this means even the question should have only one answer you can provide multiple answers.*** + + Response should be if ok. + + HTTP : 200 + [ + 'status': 'OK', + 'data': [], + 'version': 'x.x.x' + ] + +Possible errors: + + - ``validationFailed`` : If any of the provided IDS are not valid. + - ``modelNotFound`` : If the customer could not be found. + +--- + +## Question listing + +Name : ``apiV2.questions.index`` + +URI : ``api/v2/questions`` + +METHOD: ``GET|HEAD`` + + Use this call to fetch all existing questions. This method also provide the possible answers. We encourage you to cache them. + + Response should be if ok. + + HTTP : 200 + [ + 'status': 'OK', + 'data': [ + [ + 'id' => xx, // question id + 'type' => xx // ``src/Enums/QuestionType.php``, + 'question' => 'question string', // The question string. + 'answers' => [ + [ + 'id' => xx, // Answer ID + 'answer' => 'answer string' + ], + ... + ], + ... + ] + ], + 'version': 'x.x.x' + ] + +--- + +## Question listing unanswered only + +Name : ``apiV2.questions.unAnsweredBy`` + +URI : ``api/v2/questions/un-answered-by/{serviceCustomer}`` + +METHOD: ``GET|HEAD`` + +ROUTE PARAMETERS : + +- ``serviceCustomer`` : The customer hashcode or email, But you may absolutely prefer the customer hashcode. Requested uris leave trace in system logs. + + Use this to get question that are still unanswered by your customer. + + ***Note : no checks are done as for the question type, this means even the question should have only one answer you can provide multiple answers.*** + + Response should be if ok. + + HTTP : 200 + [ + 'status': 'OK', + 'data': [ + [ + 'id' => xx, // question id + 'type' => xx // ``src/Enums/QuestionType.php``, + 'question' => 'question string', // The question string. + 'answers' => [ + [ + 'id' => xx, // Answer ID + 'answer' => 'answer string' + ], + ... + ] + ], + ... + ], + 'version': 'x.x.x' + ] + + - ``modelNotFound`` : If the customer could not be found. + +--- + +## Question listing with customer answers + +Name : ``apiV2.questions.indexWithResponse`` + +URI : ``api/v2/questions/with-answers/{serviceCustomer}`` + +METHOD: ``GET|HEAD`` + +ROUTE PARAMETERS : + +- ``serviceCustomer`` : The customer hashcode or email, But you may absolutely prefer the customer hashcode. Requested uris leave trace in system logs. + +Use this to get all questions associated with answers already given by your customer. + +***Note : no checks are done as for the question type, this means even the question should have only one answer you can provide multiple answers.*** + + Response should be if ok. + + HTTP : 200 + [ + 'status': 'OK', + 'data': [ + [ + 'id' => xx, // question id + 'type' => xx // ``src/Enums/QuestionType.php``, + 'question' => 'question string', // The question string. + 'answers' => [ + [ + 'id' => xx, // Answer ID + 'answer' => 'answer string' + ], + ... + ], + 'customerAnswers' => [ + [ + 'id' => xx, // Answer ID + 'answer' => 'answer string' + ], + ... + ] + ], + ... + ], + 'version': 'x.x.x' + ] + + - ``modelNotFound`` : If the customer could not be found. + +--- + +## Get brand statistics + +Name : ``apiV2.stats.brandStats`` + +URI : ``api/v2/stats/brand`` + +METHOD: ``GET|HEAD`` + +ROUTE PARAMETERS : + +- ``serviceCustomer`` : The customer hashcode or email, But you may absolutely prefer the customer hashcode. Requested uris leave trace in system logs. + +PARAMETERS : +- ``start`` : Must be a date with format ``Y-m-d``, also has to represent a date before ``end`` +- ``end`` Must be a date with format ``Y-m-d``, also has to represent a date after ``start`` + +**Note : The period shall not be exceed 3 month.** + +***Note : Active user are those who connected since last 6 month, new accounts also are those who has been created since less than 6 months.*** + +Use this to get General stats about your service. + + Response should be if ok. + + HTTP : 200 + [ + 'status': 'OK', + 'data': [ + [ + [ + 'date' => 'Y-m-d', // Date with format + 'active' => xx, // Active users integer + 'inactive' => xx, // Inactive users integer + 'old_accounts' => xx, // Old accounts integer + 'new_accounts' => xx, // New accounts integer + 'total_accounts' => xx, // Total accounts integer + 'total_opt_in' => xx // Total opt in integer + ] + ], + ... + ], + 'version': 'x.x.x' + ] + + - ``validationFailed`` : If any of the provided dates are invalid. + +--- + +## Get question statistics + +Name : ``apiV2.stats.questionStats`` + +URI : ``api/v2/stats/question/{serviceQuestion}`` + +METHOD: ``GET|HEAD`` + +ROUTE PARAMETERS : +- ``serviceQuestion`` : The question ID you want statistics about. + +PARAMETERS : +- ``start`` : Must be a date with format ``Y-m-d``, also has to represent a date before ``end`` +- ``end`` Must be a date with format ``Y-m-d``, also has to represent a date after ``start`` + +**Note : The period shall not be exceed 3 month.** + +***Note : Active user are those who connected since last 6 month, new accounts also are those who has been created since less than 6 months.*** + +Use this to get General stats about your service. + + Response should be if ok. + + HTTP : 200 + [ + 'status': 'OK', + 'data': [ + 'answers' [ + [ + 'id' => xx, // Answer ID + 'answer' => 'answer string' + ], + ... + ], + 'stats' => [ + 'Y-m-d' = [ + 'xx' => xx, // Index is answer ID, value is integer the total count of persons who gave this answer this day. + ], + ... + ] + ], + 'version': 'x.x.x' + ] + + - ``modelNotFound`` : If the question could not be found. + - ``validationFailed`` : If any of the provided dates are invalid. diff --git a/app/Lib/vendor/crm-client-3.0.6/docs/usages/wordpress-client.md b/app/Lib/vendor/crm-client-3.0.6/docs/usages/wordpress-client.md new file mode 100644 index 0000000..c6c0daa --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/docs/usages/wordpress-client.md @@ -0,0 +1,21 @@ +# Wordpress client usage + +[Back](../../readme.md) + +This client is experimental. It may be used on wordpress sites. + +To use it you shall create a new table : + + // TABLE LDC CUSTOMERS + CREATE TABLE `ldc_wp_customers` ( + `hashcode` VARCHAR(36) NOT NULL DEFAULT '' COMMENT 'Le hashcode (UUID)', + `email` VARCHAR(255) NOT NULL DEFAULT '' COMMENT 'Le customer email', + `uuid` VARCHAR(50) NOT NULL DEFAULT '' COMMENT 'Code unique (inscripton, validation, etc)', + PRIMARY KEY (`hashcode`) + ) + COMMENT='Les customers sur un WP liées à la CRM' + COLLATE='utf8mb4_unicode_ci'; + +It will handle for you the customer session provide login and logout method but also other services provided by the crm. + +For more detailed info, you may refer to the [Client API DOC](../client-api/index.html) diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-CrmApiV2.html b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-CrmApiV2.html new file mode 100644 index 0000000..80b4c8e --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-CrmApiV2.html @@ -0,0 +1,785 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                      +

                                                                                                                                                                      CRM V2

                                                                                                                                                                      + + + + + +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + + + + +
                                                                                                                                                                      + + +
                                                                                                                                                                      +

                                                                                                                                                                      + CrmApiV2 + + +
                                                                                                                                                                      + in package + +
                                                                                                                                                                      + + +

                                                                                                                                                                      + + + +

                                                                                                                                                                      This is the main class to interact with the CRM

                                                                                                                                                                      + + + + + + + + + +

                                                                                                                                                                      + Table of Contents + +

                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + $apiInterface + +  : ApiInterface +
                                                                                                                                                                      +
                                                                                                                                                                      The Api object that will handle requests and responses
                                                                                                                                                                      + +
                                                                                                                                                                      + __construct() + +  : mixed +
                                                                                                                                                                      +
                                                                                                                                                                      CrmApiV2
                                                                                                                                                                      + +
                                                                                                                                                                      + getCustomer() + +  : Customer|null +
                                                                                                                                                                      +
                                                                                                                                                                      Get a customer from its hashcode or email +If it does not exists a new instance +will be returned. You would have +to call its save method later on.
                                                                                                                                                                      + +
                                                                                                                                                                      + getCustomerOrNew() + +  : Customer +
                                                                                                                                                                      +
                                                                                                                                                                      Get a customer from its hashcode or email +If it does not exists a new instance +will be returned. You would have +to call its save method later on.
                                                                                                                                                                      + +
                                                                                                                                                                      + login() + +  : bool +
                                                                                                                                                                      +
                                                                                                                                                                      Test a customer credentials to see if it can login
                                                                                                                                                                      + +
                                                                                                                                                                      + ping() + +  : bool +
                                                                                                                                                                      +
                                                                                                                                                                      Use this the ping the crm and know its current status
                                                                                                                                                                      + +
                                                                                                                                                                      + setStatus() + +  : bool +
                                                                                                                                                                      +
                                                                                                                                                                      Set the single optin status for an email
                                                                                                                                                                      + +
                                                                                                                                                                      + + + + + + +
                                                                                                                                                                      +

                                                                                                                                                                      + Properties + +

                                                                                                                                                                      +
                                                                                                                                                                      +

                                                                                                                                                                      + $apiInterface + + + +

                                                                                                                                                                      + + +

                                                                                                                                                                      The Api object that will handle requests and responses

                                                                                                                                                                      + + + private + static ApiInterface + $apiInterface + + + + + + +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +

                                                                                                                                                                      + Methods + +

                                                                                                                                                                      +
                                                                                                                                                                      +

                                                                                                                                                                      + __construct() + +

                                                                                                                                                                      + + +

                                                                                                                                                                      CrmApiV2

                                                                                                                                                                      + + + public + __construct([string|null $endpoint = null ][, string|null $bearerToken = null ][, string|null $bearerPwd = null ]) : mixed + + +
                                                                                                                                                                      Parameters
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      + $endpoint + : string|null + = null
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + $bearerToken + : string|null + = null
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + $bearerPwd + : string|null + = null
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + + + +
                                                                                                                                                                      Return values
                                                                                                                                                                      + mixed + — + + +
                                                                                                                                                                      +
                                                                                                                                                                      +

                                                                                                                                                                      + getCustomer() + +

                                                                                                                                                                      + + +

                                                                                                                                                                      Get a customer from its hashcode or email +If it does not exists a new instance +will be returned. You would have +to call its save method later on.

                                                                                                                                                                      + + + public + getCustomer(string $identification) : Customer|null + + +
                                                                                                                                                                      Parameters
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      + $identification + : string +
                                                                                                                                                                      +
                                                                                                                                                                      +

                                                                                                                                                                      The customer hashcode or email.

                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + + +
                                                                                                                                                                      + Tags + +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      + throws +
                                                                                                                                                                      +
                                                                                                                                                                      + CrmException + +

                                                                                                                                                                      If an error occurs on server side or on getting response.

                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + throws +
                                                                                                                                                                      +
                                                                                                                                                                      + ApiErrorException + +

                                                                                                                                                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found.

                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + phpcs:ignore +
                                                                                                                                                                      +
                                                                                                                                                                      + +

                                                                                                                                                                      Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      Return values
                                                                                                                                                                      + Customer|null + — +

                                                                                                                                                                      Return null if the customer was not found

                                                                                                                                                                      +
                                                                                                                                                                      + + +
                                                                                                                                                                      +
                                                                                                                                                                      +

                                                                                                                                                                      + getCustomerOrNew() + +

                                                                                                                                                                      + + +

                                                                                                                                                                      Get a customer from its hashcode or email +If it does not exists a new instance +will be returned. You would have +to call its save method later on.

                                                                                                                                                                      + + + public + getCustomerOrNew(string $identification) : Customer + + +
                                                                                                                                                                      Parameters
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      + $identification + : string +
                                                                                                                                                                      +
                                                                                                                                                                      +

                                                                                                                                                                      The customer hashcode or email.

                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + + +
                                                                                                                                                                      + Tags + +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      + throws +
                                                                                                                                                                      +
                                                                                                                                                                      + CrmException + +

                                                                                                                                                                      If an error occurs on server side or on getting response.

                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + throws +
                                                                                                                                                                      +
                                                                                                                                                                      + ApiErrorException + +

                                                                                                                                                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs.

                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + phpcs:ignore +
                                                                                                                                                                      +
                                                                                                                                                                      + +

                                                                                                                                                                      Squiz.Commenting.FunctionComment.EmptyThrows

                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      Return values
                                                                                                                                                                      + Customer + — +

                                                                                                                                                                      A client Customer model.

                                                                                                                                                                      +
                                                                                                                                                                      + + +
                                                                                                                                                                      +
                                                                                                                                                                      +

                                                                                                                                                                      + login() + +

                                                                                                                                                                      + + +

                                                                                                                                                                      Test a customer credentials to see if it can login

                                                                                                                                                                      + + + public + static login(string $email, string $password) : bool + + +
                                                                                                                                                                      Parameters
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      + $email + : string +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + $password + : string +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + + +
                                                                                                                                                                      + Tags + +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      + throws +
                                                                                                                                                                      +
                                                                                                                                                                      + CrmException + +

                                                                                                                                                                      If an error occurs on server side or on getting response.

                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + throws +
                                                                                                                                                                      +
                                                                                                                                                                      + ApiErrorException + +

                                                                                                                                                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - authFailed, If credentials are not valid. +- customerNotActivated, If the account is not activated.

                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + phpcs:ignore +
                                                                                                                                                                      +
                                                                                                                                                                      + +

                                                                                                                                                                      Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      Return values
                                                                                                                                                                      + bool + — + + +
                                                                                                                                                                      +
                                                                                                                                                                      +

                                                                                                                                                                      + ping() + +

                                                                                                                                                                      + + +

                                                                                                                                                                      Use this the ping the crm and know its current status

                                                                                                                                                                      + + + public + ping() : bool + + + + +
                                                                                                                                                                      + Tags + +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      + throws +
                                                                                                                                                                      +
                                                                                                                                                                      + CrmException + +

                                                                                                                                                                      If an error occurs +on server side or on getting response.

                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      Return values
                                                                                                                                                                      + bool + — + + +
                                                                                                                                                                      +
                                                                                                                                                                      +

                                                                                                                                                                      + setStatus() + +

                                                                                                                                                                      + + +

                                                                                                                                                                      Set the single optin status for an email

                                                                                                                                                                      + + + public + static setStatus(string $email, bool $opt_in) : bool + + +
                                                                                                                                                                      Parameters
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      + $email + : string +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + $opt_in + : bool +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + + +
                                                                                                                                                                      + Tags + +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      + throws +
                                                                                                                                                                      +
                                                                                                                                                                      + CrmException + +

                                                                                                                                                                      If an error occurs on server side or on getting response.

                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + throws +
                                                                                                                                                                      +
                                                                                                                                                                      + ApiErrorException + +

                                                                                                                                                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - singleOptinCustomerExists, If a customer exists with this email.

                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + phpcs:ignore +
                                                                                                                                                                      +
                                                                                                                                                                      + +

                                                                                                                                                                      Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      Return values
                                                                                                                                                                      + bool + — +

                                                                                                                                                                      true if succeeded

                                                                                                                                                                      +
                                                                                                                                                                      + + +
                                                                                                                                                                      +
                                                                                                                                                                      + + + + +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      +

                                                                                                                                                                      Search results

                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        + + +
                                                                                                                                                                        + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-ApiError.html b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-ApiError.html new file mode 100644 index 0000000..67fa657 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-ApiError.html @@ -0,0 +1,884 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                        +

                                                                                                                                                                        CRM V2

                                                                                                                                                                        + + + + + +
                                                                                                                                                                        + +
                                                                                                                                                                        +
                                                                                                                                                                        + + + + +
                                                                                                                                                                        + + +
                                                                                                                                                                        +

                                                                                                                                                                        + ApiError + + + extends BaseEnum + + +
                                                                                                                                                                        + in package + +
                                                                                                                                                                        + + +

                                                                                                                                                                        + + + +

                                                                                                                                                                        This describes an API error.

                                                                                                                                                                        + + + +
                                                                                                                                                                        + Tags + +
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        + subpackage +
                                                                                                                                                                        +
                                                                                                                                                                        + +

                                                                                                                                                                        enums

                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        +
                                                                                                                                                                        + + + + + + +

                                                                                                                                                                        + Table of Contents + +

                                                                                                                                                                        + +
                                                                                                                                                                        +
                                                                                                                                                                        + apiAuthFailed() + +  : +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        + authFailed() + +  : +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        + authorizationException() + +  : +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        + customerAlreadyActive() + +  : +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        + customerExists() + +  : +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        + customerNotActivated() + +  : +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        + labels() + +  : array<string|int, mixed> +
                                                                                                                                                                        +
                                                                                                                                                                        Libellés des possibilités de cet énumération (label)
                                                                                                                                                                        + +
                                                                                                                                                                        + methodNotAllowed() + +  : +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        + missingParameter() + +  : +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        + modelNotFound() + +  : +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        + singleOptinCustomerExists() + +  : +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        + throttleRequestsException() + +  : +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        + validationFailed() + +  : +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        + values() + +  : array<string|int, mixed> +
                                                                                                                                                                        +
                                                                                                                                                                        Valeurs des possibilités de cet énumération (value)
                                                                                                                                                                        + +
                                                                                                                                                                        + wrongTimeStamp() + +  : +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        + + + + + + + +
                                                                                                                                                                        +

                                                                                                                                                                        + Methods + +

                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + apiAuthFailed() + +

                                                                                                                                                                        + + + + + public + static apiAuthFailed() : + +

                                                                                                                                                                        The authentification to the api failed. You may have to +check into config or .env file for your service credentials

                                                                                                                                                                        +
                                                                                                                                                                        + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + authFailed() + +

                                                                                                                                                                        + + + + + public + static authFailed() : + +

                                                                                                                                                                        The authentification for this customer failed because of wrong credentials

                                                                                                                                                                        +
                                                                                                                                                                        + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + authorizationException() + +

                                                                                                                                                                        + + + + + public + static authorizationException() : + +

                                                                                                                                                                        You are maybe trying to access data that is out of your range. +This should not happen normally, it is here to allow you to handle this case. +If this happens fill a ticket on https://supportweb.ldc.fr +with some technical details

                                                                                                                                                                        +
                                                                                                                                                                        + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + customerAlreadyActive() + +

                                                                                                                                                                        + + + + + public + static customerAlreadyActive() : + +

                                                                                                                                                                        You have requested to activate a customer account, +but it is already active

                                                                                                                                                                        +
                                                                                                                                                                        + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + customerExists() + +

                                                                                                                                                                        + + + + + public + static customerExists() : + +

                                                                                                                                                                        The customer already exists

                                                                                                                                                                        +
                                                                                                                                                                        + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + customerNotActivated() + +

                                                                                                                                                                        + + + + + public + static customerNotActivated() : + +

                                                                                                                                                                        The customer account is not activated and cannot perform +this action

                                                                                                                                                                        +
                                                                                                                                                                        + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + labels() + +

                                                                                                                                                                        + + +

                                                                                                                                                                        Libellés des possibilités de cet énumération (label)

                                                                                                                                                                        + + + public + static labels() : array<string|int, mixed> + + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + array<string|int, mixed> + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + methodNotAllowed() + +

                                                                                                                                                                        + + + + + public + static methodNotAllowed() : + +

                                                                                                                                                                        This http method is not allowed

                                                                                                                                                                        +
                                                                                                                                                                        + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + missingParameter() + +

                                                                                                                                                                        + + + + + public + static missingParameter() : + +

                                                                                                                                                                        The request is missing some parameters

                                                                                                                                                                        +
                                                                                                                                                                        + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + modelNotFound() + +

                                                                                                                                                                        + + + + + public + static modelNotFound() : + +

                                                                                                                                                                        The request model was not found (typically the customer)

                                                                                                                                                                        +
                                                                                                                                                                        + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + singleOptinCustomerExists() + +

                                                                                                                                                                        + + + + + public + static singleOptinCustomerExists() : + +

                                                                                                                                                                        You have requested to create a single optin for an email, +but it already exists

                                                                                                                                                                        +
                                                                                                                                                                        + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + throttleRequestsException() + +

                                                                                                                                                                        + + + + + public + static throttleRequestsException() : + +

                                                                                                                                                                        Too many requests have been attempted. The is a throttle security. +Normally you should not trigger this. +If this happens fill a ticket on https://supportweb.ldc.fr +with some technical details

                                                                                                                                                                        +
                                                                                                                                                                        + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + validationFailed() + +

                                                                                                                                                                        + + + + + public + static validationFailed() : + +

                                                                                                                                                                        This means some data could not be validated, +you may have to look into message to get the details

                                                                                                                                                                        +
                                                                                                                                                                        + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + values() + +

                                                                                                                                                                        + + +

                                                                                                                                                                        Valeurs des possibilités de cet énumération (value)

                                                                                                                                                                        + + + public + static values() : array<string|int, mixed> + + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + array<string|int, mixed> + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + wrongTimeStamp() + +

                                                                                                                                                                        + + + + + public + static wrongTimeStamp() : + +

                                                                                                                                                                        The timestamp given is wrong. This would happen in case if +a replay attack scenario. Timestamps are provided in headers +and in the http body

                                                                                                                                                                        +
                                                                                                                                                                        + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        + + + + +
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        Search results

                                                                                                                                                                        + +
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                          + + +
                                                                                                                                                                          + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-ApiStatus.html b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-ApiStatus.html new file mode 100644 index 0000000..7673647 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-ApiStatus.html @@ -0,0 +1,335 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                          +

                                                                                                                                                                          CRM V2

                                                                                                                                                                          + + + + + +
                                                                                                                                                                          + +
                                                                                                                                                                          +
                                                                                                                                                                          + + + + +
                                                                                                                                                                          + + +
                                                                                                                                                                          +

                                                                                                                                                                          + ApiStatus + + + extends BaseEnum + + +
                                                                                                                                                                          + in package + +
                                                                                                                                                                          + + +

                                                                                                                                                                          + + + + + + +
                                                                                                                                                                          + Tags + +
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                          + subpackage +
                                                                                                                                                                          +
                                                                                                                                                                          + +

                                                                                                                                                                          enums

                                                                                                                                                                          +
                                                                                                                                                                          + +
                                                                                                                                                                          +
                                                                                                                                                                          + + + + + + +

                                                                                                                                                                          + Table of Contents + +

                                                                                                                                                                          + +
                                                                                                                                                                          +
                                                                                                                                                                          + KO() + +  : +
                                                                                                                                                                          +
                                                                                                                                                                          + +
                                                                                                                                                                          + OK() + +  : +
                                                                                                                                                                          +
                                                                                                                                                                          + +
                                                                                                                                                                          + + + + + + + +
                                                                                                                                                                          +

                                                                                                                                                                          + Methods + +

                                                                                                                                                                          +
                                                                                                                                                                          +

                                                                                                                                                                          + KO() + +

                                                                                                                                                                          + + + + + public + static KO() : + + + + + +
                                                                                                                                                                          Return values
                                                                                                                                                                          + + — + + +
                                                                                                                                                                          +
                                                                                                                                                                          +

                                                                                                                                                                          + OK() + +

                                                                                                                                                                          + + + + + public + static OK() : + + + + + +
                                                                                                                                                                          Return values
                                                                                                                                                                          + + — + + +
                                                                                                                                                                          +
                                                                                                                                                                          + + + + +
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                          +

                                                                                                                                                                          Search results

                                                                                                                                                                          + +
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                            +
                                                                                                                                                                            +
                                                                                                                                                                            +
                                                                                                                                                                            +
                                                                                                                                                                            +
                                                                                                                                                                            + + +
                                                                                                                                                                            + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-ArcadiaMailType.html b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-ArcadiaMailType.html new file mode 100644 index 0000000..022ec3b --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-ArcadiaMailType.html @@ -0,0 +1,375 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                            +

                                                                                                                                                                            CRM V2

                                                                                                                                                                            + + + + + +
                                                                                                                                                                            + +
                                                                                                                                                                            +
                                                                                                                                                                            + + + + +
                                                                                                                                                                            + + +
                                                                                                                                                                            +

                                                                                                                                                                            + ArcadiaMailType + + + extends BaseEnum + + +
                                                                                                                                                                            + in package + +
                                                                                                                                                                            + + +

                                                                                                                                                                            + + + + + + +
                                                                                                                                                                            + Tags + +
                                                                                                                                                                            +
                                                                                                                                                                            +
                                                                                                                                                                            + subpackage +
                                                                                                                                                                            +
                                                                                                                                                                            + +

                                                                                                                                                                            enums

                                                                                                                                                                            +
                                                                                                                                                                            + +
                                                                                                                                                                            +
                                                                                                                                                                            + + + + + + +

                                                                                                                                                                            + Table of Contents + +

                                                                                                                                                                            + +
                                                                                                                                                                            +
                                                                                                                                                                            + default() + +  : +
                                                                                                                                                                            +
                                                                                                                                                                            + +
                                                                                                                                                                            + game() + +  : +
                                                                                                                                                                            +
                                                                                                                                                                            + +
                                                                                                                                                                            + values() + +  : array<string|int, mixed> +
                                                                                                                                                                            +
                                                                                                                                                                            Valeurs des possibilités de cet énumération (value)
                                                                                                                                                                            + +
                                                                                                                                                                            + + + + + + + +
                                                                                                                                                                            +

                                                                                                                                                                            + Methods + +

                                                                                                                                                                            +
                                                                                                                                                                            +

                                                                                                                                                                            + default() + +

                                                                                                                                                                            + + + + + public + static default() : + + + + + +
                                                                                                                                                                            Return values
                                                                                                                                                                            + + — + + +
                                                                                                                                                                            +
                                                                                                                                                                            +

                                                                                                                                                                            + game() + +

                                                                                                                                                                            + + + + + public + static game() : + + + + + +
                                                                                                                                                                            Return values
                                                                                                                                                                            + + — + + +
                                                                                                                                                                            +
                                                                                                                                                                            +

                                                                                                                                                                            + values() + +

                                                                                                                                                                            + + +

                                                                                                                                                                            Valeurs des possibilités de cet énumération (value)

                                                                                                                                                                            + + + public + static values() : array<string|int, mixed> + + + + + +
                                                                                                                                                                            Return values
                                                                                                                                                                            + array<string|int, mixed> + — + + +
                                                                                                                                                                            +
                                                                                                                                                                            + + + + +
                                                                                                                                                                            +
                                                                                                                                                                            +
                                                                                                                                                                            +
                                                                                                                                                                            +

                                                                                                                                                                            Search results

                                                                                                                                                                            + +
                                                                                                                                                                            +
                                                                                                                                                                            +
                                                                                                                                                                              +
                                                                                                                                                                              +
                                                                                                                                                                              +
                                                                                                                                                                              +
                                                                                                                                                                              +
                                                                                                                                                                              + + +
                                                                                                                                                                              + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-ArcadiaOrderType.html b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-ArcadiaOrderType.html new file mode 100644 index 0000000..8c5779b --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-ArcadiaOrderType.html @@ -0,0 +1,375 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                              +

                                                                                                                                                                              CRM V2

                                                                                                                                                                              + + + + + +
                                                                                                                                                                              + +
                                                                                                                                                                              +
                                                                                                                                                                              + + + + +
                                                                                                                                                                              + + +
                                                                                                                                                                              +

                                                                                                                                                                              + ArcadiaOrderType + + + extends BaseEnum + + +
                                                                                                                                                                              + in package + +
                                                                                                                                                                              + + +

                                                                                                                                                                              + + + + + + +
                                                                                                                                                                              + Tags + +
                                                                                                                                                                              +
                                                                                                                                                                              +
                                                                                                                                                                              + subpackage +
                                                                                                                                                                              +
                                                                                                                                                                              + +

                                                                                                                                                                              enums

                                                                                                                                                                              +
                                                                                                                                                                              + +
                                                                                                                                                                              +
                                                                                                                                                                              + + + + + + +

                                                                                                                                                                              + Table of Contents + +

                                                                                                                                                                              + +
                                                                                                                                                                              +
                                                                                                                                                                              + cb() + +  : +
                                                                                                                                                                              +
                                                                                                                                                                              + +
                                                                                                                                                                              + check() + +  : +
                                                                                                                                                                              +
                                                                                                                                                                              + +
                                                                                                                                                                              + values() + +  : array<string|int, mixed> +
                                                                                                                                                                              +
                                                                                                                                                                              Valeurs des possibilités de cet énumération (value)
                                                                                                                                                                              + +
                                                                                                                                                                              + + + + + + + +
                                                                                                                                                                              +

                                                                                                                                                                              + Methods + +

                                                                                                                                                                              +
                                                                                                                                                                              +

                                                                                                                                                                              + cb() + +

                                                                                                                                                                              + + + + + public + static cb() : + + + + + +
                                                                                                                                                                              Return values
                                                                                                                                                                              + + — + + +
                                                                                                                                                                              +
                                                                                                                                                                              +

                                                                                                                                                                              + check() + +

                                                                                                                                                                              + + + + + public + static check() : + + + + + +
                                                                                                                                                                              Return values
                                                                                                                                                                              + + — + + +
                                                                                                                                                                              +
                                                                                                                                                                              +

                                                                                                                                                                              + values() + +

                                                                                                                                                                              + + +

                                                                                                                                                                              Valeurs des possibilités de cet énumération (value)

                                                                                                                                                                              + + + public + static values() : array<string|int, mixed> + + + + + +
                                                                                                                                                                              Return values
                                                                                                                                                                              + array<string|int, mixed> + — + + +
                                                                                                                                                                              +
                                                                                                                                                                              + + + + +
                                                                                                                                                                              +
                                                                                                                                                                              +
                                                                                                                                                                              +
                                                                                                                                                                              +

                                                                                                                                                                              Search results

                                                                                                                                                                              + +
                                                                                                                                                                              +
                                                                                                                                                                              +
                                                                                                                                                                                +
                                                                                                                                                                                +
                                                                                                                                                                                +
                                                                                                                                                                                +
                                                                                                                                                                                +
                                                                                                                                                                                + + +
                                                                                                                                                                                + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-Country.html b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-Country.html new file mode 100644 index 0000000..4172692 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-Country.html @@ -0,0 +1,10056 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                +

                                                                                                                                                                                CRM V2

                                                                                                                                                                                + + + + + +
                                                                                                                                                                                + +
                                                                                                                                                                                +
                                                                                                                                                                                + + + + +
                                                                                                                                                                                + + +
                                                                                                                                                                                +

                                                                                                                                                                                + Country + + + extends BaseEnum + + +
                                                                                                                                                                                + in package + +
                                                                                                                                                                                + + +

                                                                                                                                                                                + + + +

                                                                                                                                                                                Liste de Pays

                                                                                                                                                                                + + + +
                                                                                                                                                                                + Tags + +
                                                                                                                                                                                +
                                                                                                                                                                                +
                                                                                                                                                                                + source +
                                                                                                                                                                                +
                                                                                                                                                                                + + +
                                                                                                                                                                                +
                                                                                                                                                                                + subpackage +
                                                                                                                                                                                +
                                                                                                                                                                                + +

                                                                                                                                                                                enums

                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                +
                                                                                                                                                                                + + + + + + +

                                                                                                                                                                                + Table of Contents + +

                                                                                                                                                                                + +
                                                                                                                                                                                +
                                                                                                                                                                                + afghanistan() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + alandIslands() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + albania() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + algeria() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + americanSamoa() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + andorra() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + angola() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + anguilla() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + antarctica() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + antiguaAndBarbuda() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + argentina() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + armenia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + aruba() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + australia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + austria() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + azerbaijan() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + bahamas() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + bahrain() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + bangladesh() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + barbados() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + belarus() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + belgium() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + belize() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + benin() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + bermuda() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + bhutan() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + boliviaPlurinationalStateOf() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + bonaireSintEustatiusAndSaba() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + bosniaAndHerzegovina() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + botswana() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + bouvetIsland() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + brazil() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + britishIndianOceanTerritory() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + bruneiDarussalam() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + bulgaria() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + burkinaFaso() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + burundi() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + cambodia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + cameroon() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + canada() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + capeVerde() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + caymanIslands() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + centralAfricanRepublic() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + chad() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + chile() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + china() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + christmasIsland() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + cocosKeelingIslands() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + colombia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + comoros() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + congo() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + congoTheDemocraticRepublicOfThe() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + cookIslands() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + costaRica() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + coteDivoire() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + croatia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + cuba() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + curacao() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + cyprus() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + czechRepublic() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + denmark() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + djibouti() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + dominica() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + dominicanRepublic() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + ecuador() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + egypt() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + elSalvador() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + equatorialGuinea() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + eritrea() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + estonia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + ethiopia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + falklandIslandsMalvinas() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + faroeIslands() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + fiji() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + finland() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + france() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + frenchGuiana() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + frenchPolynesia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + frenchSouthernTerritories() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + gabon() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + gambia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + georgia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + germany() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + ghana() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + gibraltar() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + greece() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + greenland() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + grenada() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + guadeloupe() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + guam() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + guatemala() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + guernsey() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + guinea() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + guineaBissau() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + guyana() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + haiti() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + heardIslandAndMcdonaldIslands() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + holySeeVaticanCityState() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + honduras() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + hongKong() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + hungary() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + iceland() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + india() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + indonesia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + iranIslamicRepublicOf() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + iraq() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + ireland() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + isleOfMan() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + israel() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + italy() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + jamaica() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + japan() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + jersey() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + jordan() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + kazakhstan() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + kenya() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + kiribati() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + koreaDemocraticPeoplesRepublicOf() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + koreaRepublicOf() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + kuwait() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + kyrgyzstan() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + labels() + +  : array<string|int, mixed> +
                                                                                                                                                                                +
                                                                                                                                                                                Libellés des possibilités de cet énumération (label)
                                                                                                                                                                                + +
                                                                                                                                                                                + laoPeoplesDemocraticRepublic() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + latvia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + lebanon() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + lesotho() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + liberia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + libya() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + liechtenstein() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + lithuania() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + luxembourg() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + macao() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + macedoniaTheFormerYugoslavRepublicOf() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + madagascar() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + malawi() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + malaysia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + maldives() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + mali() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + malta() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + marshallIslands() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + martinique() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + mauritania() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + mauritius() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + mayotte() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + mexico() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + micronesiaFederatedStatesOf() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + moldovaRepublicOf() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + monaco() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + mongolia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + montenegro() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + montserrat() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + morocco() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + mozambique() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + myanmar() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + namibia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + nauru() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + nepal() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + netherlands() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + newCaledonia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + newZealand() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + nicaragua() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + niger() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + nigeria() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + niue() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + norfolkIsland() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + northernMarianaIslands() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + norway() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + oman() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + pakistan() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + palau() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + palestineStateOf() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + panama() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + papuaNewGuinea() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + paraguay() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + peru() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + philippines() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + pitcairn() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + poland() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + portugal() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + puertoRico() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + qatar() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + reunion() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + romania() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + russianFederation() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + rwanda() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + saintBarthelemy() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + saintHelenaAscensionAndTristanDaCunha() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + saintKittsAndNevis() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + saintLucia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + saintMartinFrenchPart() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + saintPierreAndMiquelon() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + saintVincentAndTheGrenadines() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + samoa() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + sanMarino() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + saoTomeAndPrincipe() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + saudiArabia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + senegal() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + serbia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + seychelles() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + sierraLeone() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + singapore() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + sintMaartenDutchPart() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + slovakia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + slovenia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + solomonIslands() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + somalia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + southAfrica() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + southGeorgiaAndTheSouthSandwichIslands() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + southSudan() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + spain() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + sriLanka() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + sudan() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + suriname() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + svalbardAndJanMayen() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + swaziland() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + sweden() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + switzerland() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + syrianArabRepublic() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + taiwanProvinceOfChina() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + tajikistan() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + tanzaniaUnitedRepublicOf() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + thailand() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + timorLeste() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + togo() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + tokelau() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + tonga() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + trinidadAndTobago() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + tunisia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + turkey() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + turkmenistan() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + turksAndCaicosIslands() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + tuvalu() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + uganda() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + ukraine() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + unitedArabEmirates() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + unitedKingdom() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + unitedStates() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + unitedStatesMinorOutlyingIslands() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + uruguay() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + uzbekistan() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + values() + +  : array<string|int, mixed> +
                                                                                                                                                                                +
                                                                                                                                                                                Valeurs des possibilités de cet énumération (value)
                                                                                                                                                                                + +
                                                                                                                                                                                + vanuatu() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + venezuelaBolivarianRepublicOf() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + vietNam() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + virginIslandsBritish() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + virginIslandsUs() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + wallisAndFutuna() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + westernSahara() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + yemen() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + zambia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + zimbabwe() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + + + + + + + +
                                                                                                                                                                                +

                                                                                                                                                                                + Methods + +

                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + afghanistan() + +

                                                                                                                                                                                + + + + + public + static afghanistan() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + alandIslands() + +

                                                                                                                                                                                + + + + + public + static alandIslands() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + albania() + +

                                                                                                                                                                                + + + + + public + static albania() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + algeria() + +

                                                                                                                                                                                + + + + + public + static algeria() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + americanSamoa() + +

                                                                                                                                                                                + + + + + public + static americanSamoa() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + andorra() + +

                                                                                                                                                                                + + + + + public + static andorra() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + angola() + +

                                                                                                                                                                                + + + + + public + static angola() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + anguilla() + +

                                                                                                                                                                                + + + + + public + static anguilla() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + antarctica() + +

                                                                                                                                                                                + + + + + public + static antarctica() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + antiguaAndBarbuda() + +

                                                                                                                                                                                + + + + + public + static antiguaAndBarbuda() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + argentina() + +

                                                                                                                                                                                + + + + + public + static argentina() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + armenia() + +

                                                                                                                                                                                + + + + + public + static armenia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + aruba() + +

                                                                                                                                                                                + + + + + public + static aruba() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + australia() + +

                                                                                                                                                                                + + + + + public + static australia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + austria() + +

                                                                                                                                                                                + + + + + public + static austria() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + azerbaijan() + +

                                                                                                                                                                                + + + + + public + static azerbaijan() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + bahamas() + +

                                                                                                                                                                                + + + + + public + static bahamas() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + bahrain() + +

                                                                                                                                                                                + + + + + public + static bahrain() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + bangladesh() + +

                                                                                                                                                                                + + + + + public + static bangladesh() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + barbados() + +

                                                                                                                                                                                + + + + + public + static barbados() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + belarus() + +

                                                                                                                                                                                + + + + + public + static belarus() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + belgium() + +

                                                                                                                                                                                + + + + + public + static belgium() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + belize() + +

                                                                                                                                                                                + + + + + public + static belize() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + benin() + +

                                                                                                                                                                                + + + + + public + static benin() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + bermuda() + +

                                                                                                                                                                                + + + + + public + static bermuda() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + bhutan() + +

                                                                                                                                                                                + + + + + public + static bhutan() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + boliviaPlurinationalStateOf() + +

                                                                                                                                                                                + + + + + public + static boliviaPlurinationalStateOf() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + bonaireSintEustatiusAndSaba() + +

                                                                                                                                                                                + + + + + public + static bonaireSintEustatiusAndSaba() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + bosniaAndHerzegovina() + +

                                                                                                                                                                                + + + + + public + static bosniaAndHerzegovina() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + botswana() + +

                                                                                                                                                                                + + + + + public + static botswana() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + bouvetIsland() + +

                                                                                                                                                                                + + + + + public + static bouvetIsland() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + brazil() + +

                                                                                                                                                                                + + + + + public + static brazil() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + britishIndianOceanTerritory() + +

                                                                                                                                                                                + + + + + public + static britishIndianOceanTerritory() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + bruneiDarussalam() + +

                                                                                                                                                                                + + + + + public + static bruneiDarussalam() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + bulgaria() + +

                                                                                                                                                                                + + + + + public + static bulgaria() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + burkinaFaso() + +

                                                                                                                                                                                + + + + + public + static burkinaFaso() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + burundi() + +

                                                                                                                                                                                + + + + + public + static burundi() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + cambodia() + +

                                                                                                                                                                                + + + + + public + static cambodia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + cameroon() + +

                                                                                                                                                                                + + + + + public + static cameroon() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + canada() + +

                                                                                                                                                                                + + + + + public + static canada() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + capeVerde() + +

                                                                                                                                                                                + + + + + public + static capeVerde() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + caymanIslands() + +

                                                                                                                                                                                + + + + + public + static caymanIslands() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + centralAfricanRepublic() + +

                                                                                                                                                                                + + + + + public + static centralAfricanRepublic() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + chad() + +

                                                                                                                                                                                + + + + + public + static chad() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + chile() + +

                                                                                                                                                                                + + + + + public + static chile() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + china() + +

                                                                                                                                                                                + + + + + public + static china() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + christmasIsland() + +

                                                                                                                                                                                + + + + + public + static christmasIsland() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + cocosKeelingIslands() + +

                                                                                                                                                                                + + + + + public + static cocosKeelingIslands() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + colombia() + +

                                                                                                                                                                                + + + + + public + static colombia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + comoros() + +

                                                                                                                                                                                + + + + + public + static comoros() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + congo() + +

                                                                                                                                                                                + + + + + public + static congo() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + congoTheDemocraticRepublicOfThe() + +

                                                                                                                                                                                + + + + + public + static congoTheDemocraticRepublicOfThe() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + cookIslands() + +

                                                                                                                                                                                + + + + + public + static cookIslands() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + costaRica() + +

                                                                                                                                                                                + + + + + public + static costaRica() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + coteDivoire() + +

                                                                                                                                                                                + + + + + public + static coteDivoire() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + croatia() + +

                                                                                                                                                                                + + + + + public + static croatia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + cuba() + +

                                                                                                                                                                                + + + + + public + static cuba() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + curacao() + +

                                                                                                                                                                                + + + + + public + static curacao() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + cyprus() + +

                                                                                                                                                                                + + + + + public + static cyprus() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + czechRepublic() + +

                                                                                                                                                                                + + + + + public + static czechRepublic() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + denmark() + +

                                                                                                                                                                                + + + + + public + static denmark() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + djibouti() + +

                                                                                                                                                                                + + + + + public + static djibouti() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + dominica() + +

                                                                                                                                                                                + + + + + public + static dominica() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + dominicanRepublic() + +

                                                                                                                                                                                + + + + + public + static dominicanRepublic() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + ecuador() + +

                                                                                                                                                                                + + + + + public + static ecuador() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + egypt() + +

                                                                                                                                                                                + + + + + public + static egypt() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + elSalvador() + +

                                                                                                                                                                                + + + + + public + static elSalvador() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + equatorialGuinea() + +

                                                                                                                                                                                + + + + + public + static equatorialGuinea() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + eritrea() + +

                                                                                                                                                                                + + + + + public + static eritrea() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + estonia() + +

                                                                                                                                                                                + + + + + public + static estonia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + ethiopia() + +

                                                                                                                                                                                + + + + + public + static ethiopia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + falklandIslandsMalvinas() + +

                                                                                                                                                                                + + + + + public + static falklandIslandsMalvinas() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + faroeIslands() + +

                                                                                                                                                                                + + + + + public + static faroeIslands() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + fiji() + +

                                                                                                                                                                                + + + + + public + static fiji() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + finland() + +

                                                                                                                                                                                + + + + + public + static finland() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + france() + +

                                                                                                                                                                                + + + + + public + static france() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + frenchGuiana() + +

                                                                                                                                                                                + + + + + public + static frenchGuiana() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + frenchPolynesia() + +

                                                                                                                                                                                + + + + + public + static frenchPolynesia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + frenchSouthernTerritories() + +

                                                                                                                                                                                + + + + + public + static frenchSouthernTerritories() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + gabon() + +

                                                                                                                                                                                + + + + + public + static gabon() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + gambia() + +

                                                                                                                                                                                + + + + + public + static gambia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + georgia() + +

                                                                                                                                                                                + + + + + public + static georgia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + germany() + +

                                                                                                                                                                                + + + + + public + static germany() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + ghana() + +

                                                                                                                                                                                + + + + + public + static ghana() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + gibraltar() + +

                                                                                                                                                                                + + + + + public + static gibraltar() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + greece() + +

                                                                                                                                                                                + + + + + public + static greece() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + greenland() + +

                                                                                                                                                                                + + + + + public + static greenland() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + grenada() + +

                                                                                                                                                                                + + + + + public + static grenada() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + guadeloupe() + +

                                                                                                                                                                                + + + + + public + static guadeloupe() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + guam() + +

                                                                                                                                                                                + + + + + public + static guam() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + guatemala() + +

                                                                                                                                                                                + + + + + public + static guatemala() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + guernsey() + +

                                                                                                                                                                                + + + + + public + static guernsey() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + guinea() + +

                                                                                                                                                                                + + + + + public + static guinea() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + guineaBissau() + +

                                                                                                                                                                                + + + + + public + static guineaBissau() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + guyana() + +

                                                                                                                                                                                + + + + + public + static guyana() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + haiti() + +

                                                                                                                                                                                + + + + + public + static haiti() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + heardIslandAndMcdonaldIslands() + +

                                                                                                                                                                                + + + + + public + static heardIslandAndMcdonaldIslands() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + holySeeVaticanCityState() + +

                                                                                                                                                                                + + + + + public + static holySeeVaticanCityState() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + honduras() + +

                                                                                                                                                                                + + + + + public + static honduras() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + hongKong() + +

                                                                                                                                                                                + + + + + public + static hongKong() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + hungary() + +

                                                                                                                                                                                + + + + + public + static hungary() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + iceland() + +

                                                                                                                                                                                + + + + + public + static iceland() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + india() + +

                                                                                                                                                                                + + + + + public + static india() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + indonesia() + +

                                                                                                                                                                                + + + + + public + static indonesia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + iranIslamicRepublicOf() + +

                                                                                                                                                                                + + + + + public + static iranIslamicRepublicOf() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + iraq() + +

                                                                                                                                                                                + + + + + public + static iraq() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + ireland() + +

                                                                                                                                                                                + + + + + public + static ireland() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + isleOfMan() + +

                                                                                                                                                                                + + + + + public + static isleOfMan() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + israel() + +

                                                                                                                                                                                + + + + + public + static israel() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + italy() + +

                                                                                                                                                                                + + + + + public + static italy() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + jamaica() + +

                                                                                                                                                                                + + + + + public + static jamaica() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + japan() + +

                                                                                                                                                                                + + + + + public + static japan() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + jersey() + +

                                                                                                                                                                                + + + + + public + static jersey() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + jordan() + +

                                                                                                                                                                                + + + + + public + static jordan() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + kazakhstan() + +

                                                                                                                                                                                + + + + + public + static kazakhstan() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + kenya() + +

                                                                                                                                                                                + + + + + public + static kenya() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + kiribati() + +

                                                                                                                                                                                + + + + + public + static kiribati() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + koreaDemocraticPeoplesRepublicOf() + +

                                                                                                                                                                                + + + + + public + static koreaDemocraticPeoplesRepublicOf() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + koreaRepublicOf() + +

                                                                                                                                                                                + + + + + public + static koreaRepublicOf() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + kuwait() + +

                                                                                                                                                                                + + + + + public + static kuwait() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + kyrgyzstan() + +

                                                                                                                                                                                + + + + + public + static kyrgyzstan() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + labels() + +

                                                                                                                                                                                + + +

                                                                                                                                                                                Libellés des possibilités de cet énumération (label)

                                                                                                                                                                                + + + public + static labels() : array<string|int, mixed> + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + array<string|int, mixed> + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + laoPeoplesDemocraticRepublic() + +

                                                                                                                                                                                + + + + + public + static laoPeoplesDemocraticRepublic() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + latvia() + +

                                                                                                                                                                                + + + + + public + static latvia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + lebanon() + +

                                                                                                                                                                                + + + + + public + static lebanon() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + lesotho() + +

                                                                                                                                                                                + + + + + public + static lesotho() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + liberia() + +

                                                                                                                                                                                + + + + + public + static liberia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + libya() + +

                                                                                                                                                                                + + + + + public + static libya() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + liechtenstein() + +

                                                                                                                                                                                + + + + + public + static liechtenstein() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + lithuania() + +

                                                                                                                                                                                + + + + + public + static lithuania() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + luxembourg() + +

                                                                                                                                                                                + + + + + public + static luxembourg() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + macao() + +

                                                                                                                                                                                + + + + + public + static macao() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + macedoniaTheFormerYugoslavRepublicOf() + +

                                                                                                                                                                                + + + + + public + static macedoniaTheFormerYugoslavRepublicOf() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + madagascar() + +

                                                                                                                                                                                + + + + + public + static madagascar() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + malawi() + +

                                                                                                                                                                                + + + + + public + static malawi() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + malaysia() + +

                                                                                                                                                                                + + + + + public + static malaysia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + maldives() + +

                                                                                                                                                                                + + + + + public + static maldives() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + mali() + +

                                                                                                                                                                                + + + + + public + static mali() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + malta() + +

                                                                                                                                                                                + + + + + public + static malta() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + marshallIslands() + +

                                                                                                                                                                                + + + + + public + static marshallIslands() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + martinique() + +

                                                                                                                                                                                + + + + + public + static martinique() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + mauritania() + +

                                                                                                                                                                                + + + + + public + static mauritania() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + mauritius() + +

                                                                                                                                                                                + + + + + public + static mauritius() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + mayotte() + +

                                                                                                                                                                                + + + + + public + static mayotte() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + mexico() + +

                                                                                                                                                                                + + + + + public + static mexico() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + micronesiaFederatedStatesOf() + +

                                                                                                                                                                                + + + + + public + static micronesiaFederatedStatesOf() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + moldovaRepublicOf() + +

                                                                                                                                                                                + + + + + public + static moldovaRepublicOf() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + monaco() + +

                                                                                                                                                                                + + + + + public + static monaco() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + mongolia() + +

                                                                                                                                                                                + + + + + public + static mongolia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + montenegro() + +

                                                                                                                                                                                + + + + + public + static montenegro() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + montserrat() + +

                                                                                                                                                                                + + + + + public + static montserrat() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + morocco() + +

                                                                                                                                                                                + + + + + public + static morocco() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + mozambique() + +

                                                                                                                                                                                + + + + + public + static mozambique() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + myanmar() + +

                                                                                                                                                                                + + + + + public + static myanmar() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + namibia() + +

                                                                                                                                                                                + + + + + public + static namibia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + nauru() + +

                                                                                                                                                                                + + + + + public + static nauru() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + nepal() + +

                                                                                                                                                                                + + + + + public + static nepal() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + netherlands() + +

                                                                                                                                                                                + + + + + public + static netherlands() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + newCaledonia() + +

                                                                                                                                                                                + + + + + public + static newCaledonia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + newZealand() + +

                                                                                                                                                                                + + + + + public + static newZealand() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + nicaragua() + +

                                                                                                                                                                                + + + + + public + static nicaragua() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + niger() + +

                                                                                                                                                                                + + + + + public + static niger() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + nigeria() + +

                                                                                                                                                                                + + + + + public + static nigeria() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + niue() + +

                                                                                                                                                                                + + + + + public + static niue() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + norfolkIsland() + +

                                                                                                                                                                                + + + + + public + static norfolkIsland() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + northernMarianaIslands() + +

                                                                                                                                                                                + + + + + public + static northernMarianaIslands() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + norway() + +

                                                                                                                                                                                + + + + + public + static norway() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + oman() + +

                                                                                                                                                                                + + + + + public + static oman() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + pakistan() + +

                                                                                                                                                                                + + + + + public + static pakistan() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + palau() + +

                                                                                                                                                                                + + + + + public + static palau() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + palestineStateOf() + +

                                                                                                                                                                                + + + + + public + static palestineStateOf() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + panama() + +

                                                                                                                                                                                + + + + + public + static panama() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + papuaNewGuinea() + +

                                                                                                                                                                                + + + + + public + static papuaNewGuinea() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + paraguay() + +

                                                                                                                                                                                + + + + + public + static paraguay() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + peru() + +

                                                                                                                                                                                + + + + + public + static peru() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + philippines() + +

                                                                                                                                                                                + + + + + public + static philippines() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + pitcairn() + +

                                                                                                                                                                                + + + + + public + static pitcairn() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + poland() + +

                                                                                                                                                                                + + + + + public + static poland() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + portugal() + +

                                                                                                                                                                                + + + + + public + static portugal() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + puertoRico() + +

                                                                                                                                                                                + + + + + public + static puertoRico() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + qatar() + +

                                                                                                                                                                                + + + + + public + static qatar() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + reunion() + +

                                                                                                                                                                                + + + + + public + static reunion() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + romania() + +

                                                                                                                                                                                + + + + + public + static romania() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + russianFederation() + +

                                                                                                                                                                                + + + + + public + static russianFederation() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + rwanda() + +

                                                                                                                                                                                + + + + + public + static rwanda() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + saintBarthelemy() + +

                                                                                                                                                                                + + + + + public + static saintBarthelemy() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + saintHelenaAscensionAndTristanDaCunha() + +

                                                                                                                                                                                + + + + + public + static saintHelenaAscensionAndTristanDaCunha() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + saintKittsAndNevis() + +

                                                                                                                                                                                + + + + + public + static saintKittsAndNevis() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + saintLucia() + +

                                                                                                                                                                                + + + + + public + static saintLucia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + saintMartinFrenchPart() + +

                                                                                                                                                                                + + + + + public + static saintMartinFrenchPart() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + saintPierreAndMiquelon() + +

                                                                                                                                                                                + + + + + public + static saintPierreAndMiquelon() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + saintVincentAndTheGrenadines() + +

                                                                                                                                                                                + + + + + public + static saintVincentAndTheGrenadines() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + samoa() + +

                                                                                                                                                                                + + + + + public + static samoa() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + sanMarino() + +

                                                                                                                                                                                + + + + + public + static sanMarino() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + saoTomeAndPrincipe() + +

                                                                                                                                                                                + + + + + public + static saoTomeAndPrincipe() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + saudiArabia() + +

                                                                                                                                                                                + + + + + public + static saudiArabia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + senegal() + +

                                                                                                                                                                                + + + + + public + static senegal() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + serbia() + +

                                                                                                                                                                                + + + + + public + static serbia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + seychelles() + +

                                                                                                                                                                                + + + + + public + static seychelles() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + sierraLeone() + +

                                                                                                                                                                                + + + + + public + static sierraLeone() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + singapore() + +

                                                                                                                                                                                + + + + + public + static singapore() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + sintMaartenDutchPart() + +

                                                                                                                                                                                + + + + + public + static sintMaartenDutchPart() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + slovakia() + +

                                                                                                                                                                                + + + + + public + static slovakia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + slovenia() + +

                                                                                                                                                                                + + + + + public + static slovenia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + solomonIslands() + +

                                                                                                                                                                                + + + + + public + static solomonIslands() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + somalia() + +

                                                                                                                                                                                + + + + + public + static somalia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + southAfrica() + +

                                                                                                                                                                                + + + + + public + static southAfrica() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + southGeorgiaAndTheSouthSandwichIslands() + +

                                                                                                                                                                                + + + + + public + static southGeorgiaAndTheSouthSandwichIslands() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + southSudan() + +

                                                                                                                                                                                + + + + + public + static southSudan() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + spain() + +

                                                                                                                                                                                + + + + + public + static spain() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + sriLanka() + +

                                                                                                                                                                                + + + + + public + static sriLanka() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + sudan() + +

                                                                                                                                                                                + + + + + public + static sudan() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + suriname() + +

                                                                                                                                                                                + + + + + public + static suriname() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + svalbardAndJanMayen() + +

                                                                                                                                                                                + + + + + public + static svalbardAndJanMayen() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + swaziland() + +

                                                                                                                                                                                + + + + + public + static swaziland() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + sweden() + +

                                                                                                                                                                                + + + + + public + static sweden() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + switzerland() + +

                                                                                                                                                                                + + + + + public + static switzerland() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + syrianArabRepublic() + +

                                                                                                                                                                                + + + + + public + static syrianArabRepublic() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + taiwanProvinceOfChina() + +

                                                                                                                                                                                + + + + + public + static taiwanProvinceOfChina() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + tajikistan() + +

                                                                                                                                                                                + + + + + public + static tajikistan() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + tanzaniaUnitedRepublicOf() + +

                                                                                                                                                                                + + + + + public + static tanzaniaUnitedRepublicOf() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + thailand() + +

                                                                                                                                                                                + + + + + public + static thailand() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + timorLeste() + +

                                                                                                                                                                                + + + + + public + static timorLeste() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + togo() + +

                                                                                                                                                                                + + + + + public + static togo() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + tokelau() + +

                                                                                                                                                                                + + + + + public + static tokelau() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + tonga() + +

                                                                                                                                                                                + + + + + public + static tonga() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + trinidadAndTobago() + +

                                                                                                                                                                                + + + + + public + static trinidadAndTobago() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + tunisia() + +

                                                                                                                                                                                + + + + + public + static tunisia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + turkey() + +

                                                                                                                                                                                + + + + + public + static turkey() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + turkmenistan() + +

                                                                                                                                                                                + + + + + public + static turkmenistan() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + turksAndCaicosIslands() + +

                                                                                                                                                                                + + + + + public + static turksAndCaicosIslands() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + tuvalu() + +

                                                                                                                                                                                + + + + + public + static tuvalu() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + uganda() + +

                                                                                                                                                                                + + + + + public + static uganda() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + ukraine() + +

                                                                                                                                                                                + + + + + public + static ukraine() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + unitedArabEmirates() + +

                                                                                                                                                                                + + + + + public + static unitedArabEmirates() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + unitedKingdom() + +

                                                                                                                                                                                + + + + + public + static unitedKingdom() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + unitedStates() + +

                                                                                                                                                                                + + + + + public + static unitedStates() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + unitedStatesMinorOutlyingIslands() + +

                                                                                                                                                                                + + + + + public + static unitedStatesMinorOutlyingIslands() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + uruguay() + +

                                                                                                                                                                                + + + + + public + static uruguay() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + uzbekistan() + +

                                                                                                                                                                                + + + + + public + static uzbekistan() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + values() + +

                                                                                                                                                                                + + +

                                                                                                                                                                                Valeurs des possibilités de cet énumération (value)

                                                                                                                                                                                + + + public + static values() : array<string|int, mixed> + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + array<string|int, mixed> + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + vanuatu() + +

                                                                                                                                                                                + + + + + public + static vanuatu() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + venezuelaBolivarianRepublicOf() + +

                                                                                                                                                                                + + + + + public + static venezuelaBolivarianRepublicOf() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + vietNam() + +

                                                                                                                                                                                + + + + + public + static vietNam() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + virginIslandsBritish() + +

                                                                                                                                                                                + + + + + public + static virginIslandsBritish() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + virginIslandsUs() + +

                                                                                                                                                                                + + + + + public + static virginIslandsUs() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + wallisAndFutuna() + +

                                                                                                                                                                                + + + + + public + static wallisAndFutuna() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + westernSahara() + +

                                                                                                                                                                                + + + + + public + static westernSahara() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + yemen() + +

                                                                                                                                                                                + + + + + public + static yemen() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + zambia() + +

                                                                                                                                                                                + + + + + public + static zambia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + zimbabwe() + +

                                                                                                                                                                                + + + + + public + static zimbabwe() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                + + + + +
                                                                                                                                                                                +
                                                                                                                                                                                +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                Search results

                                                                                                                                                                                + +
                                                                                                                                                                                +
                                                                                                                                                                                +
                                                                                                                                                                                  +
                                                                                                                                                                                  +
                                                                                                                                                                                  +
                                                                                                                                                                                  +
                                                                                                                                                                                  +
                                                                                                                                                                                  + + +
                                                                                                                                                                                  + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-LogLevel.html b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-LogLevel.html new file mode 100644 index 0000000..0aa2021 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-LogLevel.html @@ -0,0 +1,625 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                  +

                                                                                                                                                                                  CRM V2

                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                  + +
                                                                                                                                                                                  +
                                                                                                                                                                                  + + + + +
                                                                                                                                                                                  + + +
                                                                                                                                                                                  +

                                                                                                                                                                                  + LogLevel + + + extends BaseEnum + + +
                                                                                                                                                                                  + in package + +
                                                                                                                                                                                  + + +

                                                                                                                                                                                  + + + + + + +
                                                                                                                                                                                  + Tags + +
                                                                                                                                                                                  +
                                                                                                                                                                                  +
                                                                                                                                                                                  + subpackage +
                                                                                                                                                                                  +
                                                                                                                                                                                  + +

                                                                                                                                                                                  enums

                                                                                                                                                                                  +
                                                                                                                                                                                  + +
                                                                                                                                                                                  +
                                                                                                                                                                                  + + + + + + +

                                                                                                                                                                                  + Table of Contents + +

                                                                                                                                                                                  + +
                                                                                                                                                                                  +
                                                                                                                                                                                  + ALERT() + +  : +
                                                                                                                                                                                  +
                                                                                                                                                                                  + +
                                                                                                                                                                                  + CRIT() + +  : +
                                                                                                                                                                                  +
                                                                                                                                                                                  + +
                                                                                                                                                                                  + DEBUG() + +  : +
                                                                                                                                                                                  +
                                                                                                                                                                                  + +
                                                                                                                                                                                  + EMERG() + +  : +
                                                                                                                                                                                  +
                                                                                                                                                                                  + +
                                                                                                                                                                                  + ERR() + +  : +
                                                                                                                                                                                  +
                                                                                                                                                                                  + +
                                                                                                                                                                                  + INFO() + +  : +
                                                                                                                                                                                  +
                                                                                                                                                                                  + +
                                                                                                                                                                                  + NOTICE() + +  : +
                                                                                                                                                                                  +
                                                                                                                                                                                  + +
                                                                                                                                                                                  + WARNING() + +  : +
                                                                                                                                                                                  +
                                                                                                                                                                                  + +
                                                                                                                                                                                  + values() + +  : array<string|int, mixed> +
                                                                                                                                                                                  +
                                                                                                                                                                                  Valeurs des possibilités de cet énumération (value)
                                                                                                                                                                                  + +
                                                                                                                                                                                  + + + + + + + +
                                                                                                                                                                                  +

                                                                                                                                                                                  + Methods + +

                                                                                                                                                                                  +
                                                                                                                                                                                  +

                                                                                                                                                                                  + ALERT() + +

                                                                                                                                                                                  + + + + + public + static ALERT() : + +

                                                                                                                                                                                  action must be taken immediately

                                                                                                                                                                                  +
                                                                                                                                                                                  + + + + +
                                                                                                                                                                                  Return values
                                                                                                                                                                                  + + — + + +
                                                                                                                                                                                  +
                                                                                                                                                                                  +

                                                                                                                                                                                  + CRIT() + +

                                                                                                                                                                                  + + + + + public + static CRIT() : + +

                                                                                                                                                                                  critical conditions

                                                                                                                                                                                  +
                                                                                                                                                                                  + + + + +
                                                                                                                                                                                  Return values
                                                                                                                                                                                  + + — + + +
                                                                                                                                                                                  +
                                                                                                                                                                                  +

                                                                                                                                                                                  + DEBUG() + +

                                                                                                                                                                                  + + + + + public + static DEBUG() : + +

                                                                                                                                                                                  debug-level message

                                                                                                                                                                                  +
                                                                                                                                                                                  + + + + +
                                                                                                                                                                                  Return values
                                                                                                                                                                                  + + — + + +
                                                                                                                                                                                  +
                                                                                                                                                                                  +

                                                                                                                                                                                  + EMERG() + +

                                                                                                                                                                                  + + + + + public + static EMERG() : + +

                                                                                                                                                                                  system is unusable

                                                                                                                                                                                  +
                                                                                                                                                                                  + + + + +
                                                                                                                                                                                  Return values
                                                                                                                                                                                  + + — + + +
                                                                                                                                                                                  +
                                                                                                                                                                                  +

                                                                                                                                                                                  + ERR() + +

                                                                                                                                                                                  + + + + + public + static ERR() : + +

                                                                                                                                                                                  critical conditions

                                                                                                                                                                                  +
                                                                                                                                                                                  + + + + +
                                                                                                                                                                                  Return values
                                                                                                                                                                                  + + — + + +
                                                                                                                                                                                  +
                                                                                                                                                                                  +

                                                                                                                                                                                  + INFO() + +

                                                                                                                                                                                  + + + + + public + static INFO() : + +

                                                                                                                                                                                  informational message

                                                                                                                                                                                  +
                                                                                                                                                                                  + + + + +
                                                                                                                                                                                  Return values
                                                                                                                                                                                  + + — + + +
                                                                                                                                                                                  +
                                                                                                                                                                                  +

                                                                                                                                                                                  + NOTICE() + +

                                                                                                                                                                                  + + + + + public + static NOTICE() : + +

                                                                                                                                                                                  normal, but significant, condition

                                                                                                                                                                                  +
                                                                                                                                                                                  + + + + +
                                                                                                                                                                                  Return values
                                                                                                                                                                                  + + — + + +
                                                                                                                                                                                  +
                                                                                                                                                                                  +

                                                                                                                                                                                  + WARNING() + +

                                                                                                                                                                                  + + + + + public + static WARNING() : + +

                                                                                                                                                                                  critical conditions

                                                                                                                                                                                  +
                                                                                                                                                                                  + + + + +
                                                                                                                                                                                  Return values
                                                                                                                                                                                  + + — + + +
                                                                                                                                                                                  +
                                                                                                                                                                                  +

                                                                                                                                                                                  + values() + +

                                                                                                                                                                                  + + +

                                                                                                                                                                                  Valeurs des possibilités de cet énumération (value)

                                                                                                                                                                                  + + + protected + static values() : array<string|int, mixed> + + + + + +
                                                                                                                                                                                  Return values
                                                                                                                                                                                  + array<string|int, mixed> + — + + +
                                                                                                                                                                                  +
                                                                                                                                                                                  + + + + +
                                                                                                                                                                                  +
                                                                                                                                                                                  +
                                                                                                                                                                                  +
                                                                                                                                                                                  +

                                                                                                                                                                                  Search results

                                                                                                                                                                                  + +
                                                                                                                                                                                  +
                                                                                                                                                                                  +
                                                                                                                                                                                    +
                                                                                                                                                                                    +
                                                                                                                                                                                    +
                                                                                                                                                                                    +
                                                                                                                                                                                    +
                                                                                                                                                                                    + + +
                                                                                                                                                                                    + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-QuestionType.html b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-QuestionType.html new file mode 100644 index 0000000..3f8f304 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-QuestionType.html @@ -0,0 +1,414 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                    +

                                                                                                                                                                                    CRM V2

                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                    + +
                                                                                                                                                                                    +
                                                                                                                                                                                    + + + + +
                                                                                                                                                                                    + + +
                                                                                                                                                                                    +

                                                                                                                                                                                    + QuestionType + + + extends BaseEnum + + +
                                                                                                                                                                                    + in package + +
                                                                                                                                                                                    + + +

                                                                                                                                                                                    + + + + + + +
                                                                                                                                                                                    + Tags + +
                                                                                                                                                                                    +
                                                                                                                                                                                    +
                                                                                                                                                                                    + subpackage +
                                                                                                                                                                                    +
                                                                                                                                                                                    + +

                                                                                                                                                                                    enums

                                                                                                                                                                                    +
                                                                                                                                                                                    + +
                                                                                                                                                                                    +
                                                                                                                                                                                    + + + + + + +

                                                                                                                                                                                    + Table of Contents + +

                                                                                                                                                                                    + +
                                                                                                                                                                                    +
                                                                                                                                                                                    + checkbox() + +  : +
                                                                                                                                                                                    +
                                                                                                                                                                                    + +
                                                                                                                                                                                    + radio() + +  : +
                                                                                                                                                                                    +
                                                                                                                                                                                    + +
                                                                                                                                                                                    + select() + +  : +
                                                                                                                                                                                    +
                                                                                                                                                                                    + +
                                                                                                                                                                                    + values() + +  : array<string|int, mixed> +
                                                                                                                                                                                    +
                                                                                                                                                                                    Valeurs des possibilités de cet énumération (value)
                                                                                                                                                                                    + +
                                                                                                                                                                                    + + + + + + + +
                                                                                                                                                                                    +

                                                                                                                                                                                    + Methods + +

                                                                                                                                                                                    +
                                                                                                                                                                                    +

                                                                                                                                                                                    + checkbox() + +

                                                                                                                                                                                    + + + + + public + static checkbox() : + + + + + +
                                                                                                                                                                                    Return values
                                                                                                                                                                                    + + — + + +
                                                                                                                                                                                    +
                                                                                                                                                                                    +

                                                                                                                                                                                    + radio() + +

                                                                                                                                                                                    + + + + + public + static radio() : + + + + + +
                                                                                                                                                                                    Return values
                                                                                                                                                                                    + + — + + +
                                                                                                                                                                                    +
                                                                                                                                                                                    +

                                                                                                                                                                                    + select() + +

                                                                                                                                                                                    + + + + + public + static select() : + + + + + +
                                                                                                                                                                                    Return values
                                                                                                                                                                                    + + — + + +
                                                                                                                                                                                    +
                                                                                                                                                                                    +

                                                                                                                                                                                    + values() + +

                                                                                                                                                                                    + + +

                                                                                                                                                                                    Valeurs des possibilités de cet énumération (value)

                                                                                                                                                                                    + + + public + static values() : array<string|int, mixed> + + + + + +
                                                                                                                                                                                    Return values
                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                    +
                                                                                                                                                                                    + + + + +
                                                                                                                                                                                    +
                                                                                                                                                                                    +
                                                                                                                                                                                    +
                                                                                                                                                                                    +

                                                                                                                                                                                    Search results

                                                                                                                                                                                    + +
                                                                                                                                                                                    +
                                                                                                                                                                                    +
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      + + +
                                                                                                                                                                                      + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-AccessError.html b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-AccessError.html new file mode 100644 index 0000000..3a5c03b --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-AccessError.html @@ -0,0 +1,319 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                      +

                                                                                                                                                                                      CRM V2

                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                      + +
                                                                                                                                                                                      +
                                                                                                                                                                                      + + + + +
                                                                                                                                                                                      + + +
                                                                                                                                                                                      +

                                                                                                                                                                                      + AccessError + + + extends Error + + +
                                                                                                                                                                                      + in package + +
                                                                                                                                                                                      + + +

                                                                                                                                                                                      + + + +

                                                                                                                                                                                      This is thrown when trying to set a value on an object property that does not exist.

                                                                                                                                                                                      + + + +
                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      + subpackage +
                                                                                                                                                                                      +
                                                                                                                                                                                      + +

                                                                                                                                                                                      exceptions

                                                                                                                                                                                      +
                                                                                                                                                                                      + +
                                                                                                                                                                                      +
                                                                                                                                                                                      + + + + + + +

                                                                                                                                                                                      + Table of Contents + +

                                                                                                                                                                                      + +
                                                                                                                                                                                      +
                                                                                                                                                                                      + __construct() + +  : mixed +
                                                                                                                                                                                      +
                                                                                                                                                                                      AccessError
                                                                                                                                                                                      + +
                                                                                                                                                                                      + + + + + + + +
                                                                                                                                                                                      +

                                                                                                                                                                                      + Methods + +

                                                                                                                                                                                      +
                                                                                                                                                                                      +

                                                                                                                                                                                      + __construct() + +

                                                                                                                                                                                      + + +

                                                                                                                                                                                      AccessError

                                                                                                                                                                                      + + + public + __construct(string $objectName, string $propertyName) : mixed + + +
                                                                                                                                                                                      Parameters
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      + $objectName + : string +
                                                                                                                                                                                      +
                                                                                                                                                                                      +

                                                                                                                                                                                      The object name where the property does not exist.

                                                                                                                                                                                      +
                                                                                                                                                                                      + +
                                                                                                                                                                                      +
                                                                                                                                                                                      + $propertyName + : string +
                                                                                                                                                                                      +
                                                                                                                                                                                      +

                                                                                                                                                                                      The property name that does not exist.

                                                                                                                                                                                      +
                                                                                                                                                                                      + +
                                                                                                                                                                                      +
                                                                                                                                                                                      + + + +
                                                                                                                                                                                      Return values
                                                                                                                                                                                      + mixed + — + + +
                                                                                                                                                                                      +
                                                                                                                                                                                      + + + + +
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      +

                                                                                                                                                                                      Search results

                                                                                                                                                                                      + +
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                        + + +
                                                                                                                                                                                        + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-ApiErrorException.html b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-ApiErrorException.html new file mode 100644 index 0000000..76fa30e --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-ApiErrorException.html @@ -0,0 +1,595 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                        +

                                                                                                                                                                                        CRM V2

                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                        + +
                                                                                                                                                                                        +
                                                                                                                                                                                        + + + + +
                                                                                                                                                                                        + + +
                                                                                                                                                                                        +

                                                                                                                                                                                        + ApiErrorException + + + extends Exception + + +
                                                                                                                                                                                        + in package + +
                                                                                                                                                                                        + + +

                                                                                                                                                                                        + + + +

                                                                                                                                                                                        This would be thrown if any of the case +referenced in \LDC\LDCCRM\Enums\ApiError would +occur within the crm

                                                                                                                                                                                        + +

                                                                                                                                                                                        On the client an ApiErrorException would +also be throw with the ApiError corresponding to +the situation

                                                                                                                                                                                        +
                                                                                                                                                                                        + + +
                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                        + subpackage +
                                                                                                                                                                                        +
                                                                                                                                                                                        + +

                                                                                                                                                                                        exceptions

                                                                                                                                                                                        +
                                                                                                                                                                                        + +
                                                                                                                                                                                        +
                                                                                                                                                                                        + + + + + + +

                                                                                                                                                                                        + Table of Contents + +

                                                                                                                                                                                        + +
                                                                                                                                                                                        +
                                                                                                                                                                                        + $error + +  : ApiError +
                                                                                                                                                                                        +
                                                                                                                                                                                        Api Error +This value makes the error more explicit.
                                                                                                                                                                                        + +
                                                                                                                                                                                        + $httpCode + +  : int +
                                                                                                                                                                                        +
                                                                                                                                                                                        This is the http code returned by the crm.
                                                                                                                                                                                        + +
                                                                                                                                                                                        + $message + +  : string +
                                                                                                                                                                                        +
                                                                                                                                                                                        This is an explicit error message, +ou may print this to the front or not depending +on $error value
                                                                                                                                                                                        + +
                                                                                                                                                                                        + __construct() + +  : mixed +
                                                                                                                                                                                        +
                                                                                                                                                                                        Create a new exception base on ApiError enum.
                                                                                                                                                                                        + +
                                                                                                                                                                                        + getApiError() + +  : ApiError +
                                                                                                                                                                                        +
                                                                                                                                                                                        Get the Api Error
                                                                                                                                                                                        + +
                                                                                                                                                                                        + getStatusCode() + +  : int +
                                                                                                                                                                                        +
                                                                                                                                                                                        Get the http code
                                                                                                                                                                                        + +
                                                                                                                                                                                        + report() + +  : void +
                                                                                                                                                                                        +
                                                                                                                                                                                        This is used by laravel only.
                                                                                                                                                                                        + +
                                                                                                                                                                                        + + + + + + +
                                                                                                                                                                                        +

                                                                                                                                                                                        + Properties + +

                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + $error + + + +

                                                                                                                                                                                        + + +

                                                                                                                                                                                        Api Error +This value makes the error more explicit.

                                                                                                                                                                                        + + + protected + ApiError + $error + + +

                                                                                                                                                                                        Handling these errors are normal as inputs or +request may be undesired or refused by the crm.

                                                                                                                                                                                        +
                                                                                                                                                                                        + + + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + $httpCode + + + +

                                                                                                                                                                                        + + +

                                                                                                                                                                                        This is the http code returned by the crm.

                                                                                                                                                                                        + + + protected + int + $httpCode + + +

                                                                                                                                                                                        This value could be used to handle errors. +But please take in consideration $error first

                                                                                                                                                                                        +
                                                                                                                                                                                        + + + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + $message + + + +

                                                                                                                                                                                        + + +

                                                                                                                                                                                        This is an explicit error message, +ou may print this to the front or not depending +on $error value

                                                                                                                                                                                        + + + protected + string + $message + + + + + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        + +
                                                                                                                                                                                        +

                                                                                                                                                                                        + Methods + +

                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + __construct() + +

                                                                                                                                                                                        + + +

                                                                                                                                                                                        Create a new exception base on ApiError enum.

                                                                                                                                                                                        + + + public + __construct(ApiError $error[, int $httpCode = 400 ][, string $message = '' ][, Throwable|null $previous = null ]) : mixed + + +
                                                                                                                                                                                        Parameters
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                        + $error + : ApiError +
                                                                                                                                                                                        +
                                                                                                                                                                                        + +
                                                                                                                                                                                        +
                                                                                                                                                                                        + $httpCode + : int + = 400
                                                                                                                                                                                        +
                                                                                                                                                                                        + +
                                                                                                                                                                                        +
                                                                                                                                                                                        + $message + : string + = ''
                                                                                                                                                                                        +
                                                                                                                                                                                        + +
                                                                                                                                                                                        +
                                                                                                                                                                                        + $previous + : Throwable|null + = null
                                                                                                                                                                                        +
                                                                                                                                                                                        + +
                                                                                                                                                                                        +
                                                                                                                                                                                        + + + +
                                                                                                                                                                                        Return values
                                                                                                                                                                                        + mixed + — + + +
                                                                                                                                                                                        + +
                                                                                                                                                                                        +

                                                                                                                                                                                        + getStatusCode() + +

                                                                                                                                                                                        + + +

                                                                                                                                                                                        Get the http code

                                                                                                                                                                                        + + + public + getStatusCode() : int + + + + + +
                                                                                                                                                                                        Return values
                                                                                                                                                                                        + int + — + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + report() + +

                                                                                                                                                                                        + + +

                                                                                                                                                                                        This is used by laravel only.

                                                                                                                                                                                        + + + public + report() : void + +

                                                                                                                                                                                        It uses Log class to print the error.

                                                                                                                                                                                        +
                                                                                                                                                                                        + + + + +
                                                                                                                                                                                        Return values
                                                                                                                                                                                        + void + — + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        + + + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        Search results

                                                                                                                                                                                        + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + +
                                                                                                                                                                                          + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-CrmException.html b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-CrmException.html new file mode 100644 index 0000000..8f1da3e --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-CrmException.html @@ -0,0 +1,310 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                          +

                                                                                                                                                                                          CRM V2

                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + + + +
                                                                                                                                                                                          + + +
                                                                                                                                                                                          +

                                                                                                                                                                                          + CrmException + + + extends Exception + + +
                                                                                                                                                                                          + in package + +
                                                                                                                                                                                          + + +

                                                                                                                                                                                          + + + +

                                                                                                                                                                                          This is a critical error.

                                                                                                                                                                                          + +

                                                                                                                                                                                          The request could not be handled. You may dump any value you can +get before submitting a ticker to https://supportweb.ldc.fr

                                                                                                                                                                                          +
                                                                                                                                                                                          + + +
                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          + subpackage +
                                                                                                                                                                                          +
                                                                                                                                                                                          + +

                                                                                                                                                                                          exceptions

                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + codeCoverageIgnore +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + + + + + +

                                                                                                                                                                                          + Table of Contents + +

                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + report() + +  : void +
                                                                                                                                                                                          +
                                                                                                                                                                                          This is used by laravel only.
                                                                                                                                                                                          + +
                                                                                                                                                                                          + + + + + + + +
                                                                                                                                                                                          +

                                                                                                                                                                                          + Methods + +

                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + report() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          This is used by laravel only.

                                                                                                                                                                                          + + + public + report() : void + +

                                                                                                                                                                                          It uses Log class to print the error.

                                                                                                                                                                                          +
                                                                                                                                                                                          + + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + void + — + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          Search results

                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                            +
                                                                                                                                                                                            +
                                                                                                                                                                                            +
                                                                                                                                                                                            +
                                                                                                                                                                                            +
                                                                                                                                                                                            + + +
                                                                                                                                                                                            + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-SkipValidationException.html b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-SkipValidationException.html new file mode 100644 index 0000000..191f5a2 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-SkipValidationException.html @@ -0,0 +1,245 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                            +

                                                                                                                                                                                            CRM V2

                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                            + +
                                                                                                                                                                                            +
                                                                                                                                                                                            + + + + +
                                                                                                                                                                                            + + +
                                                                                                                                                                                            +

                                                                                                                                                                                            + SkipValidationException + + + extends Exception + + +
                                                                                                                                                                                            + in package + +
                                                                                                                                                                                            + + +

                                                                                                                                                                                            + + + +

                                                                                                                                                                                            Used only for internal validator

                                                                                                                                                                                            + + + +
                                                                                                                                                                                            + Tags + +
                                                                                                                                                                                            +
                                                                                                                                                                                            +
                                                                                                                                                                                            + subpackage +
                                                                                                                                                                                            +
                                                                                                                                                                                            + +

                                                                                                                                                                                            exceptions

                                                                                                                                                                                            +
                                                                                                                                                                                            + +
                                                                                                                                                                                            +
                                                                                                                                                                                            + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                            +
                                                                                                                                                                                            +
                                                                                                                                                                                            +
                                                                                                                                                                                            +

                                                                                                                                                                                            Search results

                                                                                                                                                                                            + +
                                                                                                                                                                                            +
                                                                                                                                                                                            +
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              + + +
                                                                                                                                                                                              + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-ValidationException.html b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-ValidationException.html new file mode 100644 index 0000000..f6cefc1 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-ValidationException.html @@ -0,0 +1,308 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                              +

                                                                                                                                                                                              CRM V2

                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                              + +
                                                                                                                                                                                              +
                                                                                                                                                                                              + + + + +
                                                                                                                                                                                              + + +
                                                                                                                                                                                              +

                                                                                                                                                                                              + ValidationException + + + extends Exception + + +
                                                                                                                                                                                              + in package + +
                                                                                                                                                                                              + + +

                                                                                                                                                                                              + + + +

                                                                                                                                                                                              This would be thrown if a data could not be validated +on any models

                                                                                                                                                                                              + + + +
                                                                                                                                                                                              + Tags + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              + subpackage +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +

                                                                                                                                                                                              exceptions

                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              +
                                                                                                                                                                                              + codeCoverageIgnore +
                                                                                                                                                                                              +
                                                                                                                                                                                              + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              + + + + + + +

                                                                                                                                                                                              + Table of Contents + +

                                                                                                                                                                                              + +
                                                                                                                                                                                              +
                                                                                                                                                                                              + report() + +  : void +
                                                                                                                                                                                              +
                                                                                                                                                                                              This is used by laravel only.
                                                                                                                                                                                              + +
                                                                                                                                                                                              + + + + + + + +
                                                                                                                                                                                              +

                                                                                                                                                                                              + Methods + +

                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + report() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              This is used by laravel only.

                                                                                                                                                                                              + + + public + report() : void + +

                                                                                                                                                                                              It uses Log class to print the error.

                                                                                                                                                                                              +
                                                                                                                                                                                              + + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + void + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              + + + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              Search results

                                                                                                                                                                                              + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                + + +
                                                                                                                                                                                                + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-WpCrmInvalidJsonUserInfo.html b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-WpCrmInvalidJsonUserInfo.html new file mode 100644 index 0000000..73c0da5 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-WpCrmInvalidJsonUserInfo.html @@ -0,0 +1,310 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                +

                                                                                                                                                                                                CRM V2

                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                + +
                                                                                                                                                                                                +
                                                                                                                                                                                                + + + + +
                                                                                                                                                                                                + + +
                                                                                                                                                                                                +

                                                                                                                                                                                                + WpCrmInvalidJsonUserInfo + + + extends Error + + +
                                                                                                                                                                                                + in package + +
                                                                                                                                                                                                + + +

                                                                                                                                                                                                + + + +

                                                                                                                                                                                                This is thrown when trying to read WP customer from DB json data.

                                                                                                                                                                                                + + + +
                                                                                                                                                                                                + Tags + +
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                + subpackage +
                                                                                                                                                                                                +
                                                                                                                                                                                                + +

                                                                                                                                                                                                exceptions

                                                                                                                                                                                                +
                                                                                                                                                                                                + +
                                                                                                                                                                                                +
                                                                                                                                                                                                + + + + + + +

                                                                                                                                                                                                + Table of Contents + +

                                                                                                                                                                                                + +
                                                                                                                                                                                                +
                                                                                                                                                                                                + __construct() + +  : mixed +
                                                                                                                                                                                                +
                                                                                                                                                                                                WpCrmInvalidJsonUserInfo
                                                                                                                                                                                                + +
                                                                                                                                                                                                + + + + + + + +
                                                                                                                                                                                                +

                                                                                                                                                                                                + Methods + +

                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                + __construct() + +

                                                                                                                                                                                                + + +

                                                                                                                                                                                                WpCrmInvalidJsonUserInfo

                                                                                                                                                                                                + + + public + __construct(string $message) : mixed + + +
                                                                                                                                                                                                Parameters
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                + $message + : string +
                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                The error message.

                                                                                                                                                                                                +
                                                                                                                                                                                                + +
                                                                                                                                                                                                +
                                                                                                                                                                                                + + + +
                                                                                                                                                                                                Return values
                                                                                                                                                                                                + mixed + — + + +
                                                                                                                                                                                                +
                                                                                                                                                                                                + + + + +
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                Search results

                                                                                                                                                                                                + +
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + + +
                                                                                                                                                                                                  + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-Answer.html b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-Answer.html new file mode 100644 index 0000000..5dd47ba --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-Answer.html @@ -0,0 +1,845 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  CRM V2

                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + + + + +
                                                                                                                                                                                                  + + +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + Answer + + + extends CrmClientModel + + +
                                                                                                                                                                                                  + in package + +
                                                                                                                                                                                                  + + +

                                                                                                                                                                                                  + + + +

                                                                                                                                                                                                  This class represents an answer +It has a method to submit answers

                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                  + Tags + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + category +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +

                                                                                                                                                                                                  Api Models

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + subpackage +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +

                                                                                                                                                                                                  models

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + author +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +

                                                                                                                                                                                                  Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + + + + + + +

                                                                                                                                                                                                  + Table of Contents + +

                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + $answers + +  : array<string|int, Answer> +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + $id + +  : string +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + $question + +  : string +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + $type + +  : QuestionType +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + $modelFields + +  : array<string|int, mixed> +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  The crm customer fields
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + $validation + +  : array<string|int, mixed> +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  Validation rules
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + $answer + +  : string +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  The actual answer as a string
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + $id + +  : int +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  The question id
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + __construct() + +  : mixed +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  Answer
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + jsonSerialize() + +  : array<string|int, mixed> +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  Serialize this object to an array
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + setQuestionAnswers() + +  : bool +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  Set unanswered question for a specific customer
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + + + + + + +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + Properties + +

                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + $answers + + + +

                                                                                                                                                                                                  + + + + + public + array<string|int, Answer> + $answers + + +

                                                                                                                                                                                                  An array with answers

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + $id + + + +

                                                                                                                                                                                                  + + + + + public + string + $id + + +

                                                                                                                                                                                                  The answer id

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + $question + + + +

                                                                                                                                                                                                  + + + + + public + string + $question + + +

                                                                                                                                                                                                  The actual question as a string

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + $type + + + +

                                                                                                                                                                                                  + + + + + public + QuestionType + $type + + +

                                                                                                                                                                                                  The question type to display, +it also hints wether it can accept one or multiple responses, +so only checkbox allows multiple responses

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + $modelFields + + + +

                                                                                                                                                                                                  + + +

                                                                                                                                                                                                  The crm customer fields

                                                                                                                                                                                                  + + + protected + array<string|int, mixed> + $modelFields + = ['id', 'answer'] + + + + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + $validation + + + +

                                                                                                                                                                                                  + + +

                                                                                                                                                                                                  Validation rules

                                                                                                                                                                                                  + + + protected + static array<string|int, mixed> + $validation + = ['id' => 'required|int', 'answer' => 'required|string|max:255'] + + + + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + $answer + + + +

                                                                                                                                                                                                  + + +

                                                                                                                                                                                                  The actual answer as a string

                                                                                                                                                                                                  + + + private + string + $answer + = null + +

                                                                                                                                                                                                  Required +Max length 255 +Field Type varchar

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + + + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + $id + + + +

                                                                                                                                                                                                  + + +

                                                                                                                                                                                                  The question id

                                                                                                                                                                                                  + + + private + int + $id + + +

                                                                                                                                                                                                  Required +Field Type bigInt

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + + + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + Methods + +

                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + __construct() + +

                                                                                                                                                                                                  + + +

                                                                                                                                                                                                  Answer

                                                                                                                                                                                                  + + + public + __construct([array<string|int, mixed> $properties = [] ]) : mixed + + +
                                                                                                                                                                                                  Parameters
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + $properties + : array<string|int, mixed> + = []
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + + +
                                                                                                                                                                                                  + Tags + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + throws +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + ValidationException + +

                                                                                                                                                                                                  If a field could not be validated.

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  Return values
                                                                                                                                                                                                  + mixed + — + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + jsonSerialize() + +

                                                                                                                                                                                                  + + +

                                                                                                                                                                                                  Serialize this object to an array

                                                                                                                                                                                                  + + + public + jsonSerialize() : array<string|int, mixed> + + + + + +
                                                                                                                                                                                                  Return values
                                                                                                                                                                                                  + array<string|int, mixed> + — + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + setQuestionAnswers() + +

                                                                                                                                                                                                  + + +

                                                                                                                                                                                                  Set unanswered question for a specific customer

                                                                                                                                                                                                  + + + public + static setQuestionAnswers(string $hashcode, int $questionId, array<string|int, mixed> $answersId) : bool + + +
                                                                                                                                                                                                  Parameters
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + $hashcode + : string +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  The customer hashcode.

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + $questionId + : int +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  The question id.

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + $answersId + : array<string|int, mixed> +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  An array with answers id.

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + + +
                                                                                                                                                                                                  + Tags + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + throws +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + ValidationException + +

                                                                                                                                                                                                  If a hashcode is not a valid UUID.

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + throws +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + ValidationException + +

                                                                                                                                                                                                  If any of the provided ids are invalid.

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + throws +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + ApiErrorException + +

                                                                                                                                                                                                  If any error \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If given ids are wrong(CRM side).

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + throws +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + CrmException + +

                                                                                                                                                                                                  If an error occurs on server side or on getting response.

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  Return values
                                                                                                                                                                                                  + bool + — +

                                                                                                                                                                                                  true if succeeded

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + + + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  Search results

                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + +
                                                                                                                                                                                                    + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html new file mode 100644 index 0000000..bfb379b --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html @@ -0,0 +1,2111 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    CRM V2

                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    + + +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + ArcadiaMailDefault + + + extends CrmClientModel + + +
                                                                                                                                                                                                    + in package + +
                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    + + + +

                                                                                                                                                                                                    This class represents the customer info with +the account validation status

                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    + Tags + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + category +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +

                                                                                                                                                                                                    Api Models

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + subpackage +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +

                                                                                                                                                                                                    models

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + author +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +

                                                                                                                                                                                                    Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + + + +

                                                                                                                                                                                                    + Table of Contents + +

                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + $address + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $address2 + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $city + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $email + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $firstname + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $label_type_support + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $lastname + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $operation + +  : int +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $order_date + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $order_num + +  : int +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $package_unit_weight + +  : int +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $phone + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $postcode + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $state_order + +  : ArcadiaOrderType +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $support_code + +  : int +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $modelFields + +  : array<string|int, mixed> +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    The crm customer fields
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $validation + +  : array<string|int, mixed> +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    Validation rules
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $address + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    The user address (street number, name, etc)
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $address2 + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    The user address 2nd part (street number, name, more, etc)
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $city + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    The user address city
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $email + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    An RFC Valid Email
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $firstname + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    First name
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $label_type_support + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    The arcadia type support label
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $lastname + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    Last name
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $operation + +  : int +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    The arcadia operation code
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $order_date + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    The arcadia order date
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $order_num + +  : int +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    The arcadia order number
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $package_unit_weight + +  : int +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    The arcadia package unit weight
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $phone + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    The user phone
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $postcode + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    The user address postcode
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $state_order + +  : int +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    The arcadia state order
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $support_code + +  : int +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    The arcadia support code
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + __construct() + +  : mixed +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    ArcadiaMailDefault
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + __get() + +  : mixed +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    Generic accessor
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + __set() + +  : void +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    Set prop
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + fill() + +  : void +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    Fill data into this model +using validation rules
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + jsonSerialize() + +  : array<string|int, mixed> +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    Serialize this object to an array
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + send() + +  : bool +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    Send The actual mail
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + validateAllValues() + +  : array<string|int, mixed> +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    Validate all model properties
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + + + + +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + Properties + +

                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $address + + + +

                                                                                                                                                                                                    + + + + + public + string + $address + + +

                                                                                                                                                                                                    The account address (street number, name, build, flat number)

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $address2 + + + +

                                                                                                                                                                                                    + + + + + public + string + $address2 + + +

                                                                                                                                                                                                    The account phone (address complement)

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $city + + + +

                                                                                                                                                                                                    + + + + + public + string + $city + + +

                                                                                                                                                                                                    The account city name

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $email + + + +

                                                                                                                                                                                                    + + + + + public + string + $email + + +

                                                                                                                                                                                                    Must be a rfc valid email on a valid domain name

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $firstname + + + +

                                                                                                                                                                                                    + + + + + public + string + $firstname + + +

                                                                                                                                                                                                    The account first name

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $label_type_support + + + +

                                                                                                                                                                                                    + + + + + public + string + $label_type_support + + +

                                                                                                                                                                                                    The arcadia type support label

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $lastname + + + +

                                                                                                                                                                                                    + + + + + public + string + $lastname + + +

                                                                                                                                                                                                    The account last name

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $operation + + + +

                                                                                                                                                                                                    + + + + + public + int + $operation + + +

                                                                                                                                                                                                    The arcadia operation code

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $order_date + + + +

                                                                                                                                                                                                    + + + + + public + string + $order_date + + +

                                                                                                                                                                                                    The arcadia order date 'yyyy-mm-dd HH:ii:ss'

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $order_num + + + +

                                                                                                                                                                                                    + + + + + public + int + $order_num + + +

                                                                                                                                                                                                    The arcadia order number

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $package_unit_weight + + + +

                                                                                                                                                                                                    + + + + + public + int + $package_unit_weight + + +

                                                                                                                                                                                                    The arcadia package unit weight

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $phone + + + +

                                                                                                                                                                                                    + + + + + public + string + $phone + + +

                                                                                                                                                                                                    The account phone

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $postcode + + + +

                                                                                                                                                                                                    + + + + + public + string + $postcode + + +

                                                                                                                                                                                                    The account city postcode

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $support_code + + + +

                                                                                                                                                                                                    + + + + + public + int + $support_code + + +

                                                                                                                                                                                                    The arcadia support code

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $modelFields + + + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    The crm customer fields

                                                                                                                                                                                                    + + + protected + array<string|int, mixed> + $modelFields + = ['email', 'firstname', 'lastname', 'phone', 'address', 'address2', 'city', 'postcode', 'operation', 'support_code', 'label_type_support', 'order_date', 'order_num', 'state_order', 'package_unit_weight'] + + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $validation + + + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    Validation rules

                                                                                                                                                                                                    + + + protected + static array<string|int, mixed> + $validation + = ['email' => 'required|email', 'firstname' => 'required|string|min:2|max:255', 'lastname' => 'required|string|min:2|max:255', 'phone' => 'sometimes|string|min:10|max:255', 'address' => 'sometimes|string|max:255', 'address2' => 'sometimes|string|max:255', 'city' => 'sometimes|string|max:255', 'postcode' => 'sometimes|string|max:255', 'operation' => 'required|int', 'support_code' => 'required|int', 'label_type_support' => 'required|string|min:2|max:255', 'order_date' => 'required|date_format:Y/m/d H:i:s', 'order_num' => 'required|int', 'state_order' => ['required'], 'package_unit_weight' => 'required|int'] + + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $address + + + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    The user address (street number, name, etc)

                                                                                                                                                                                                    + + + private + string + $address + = null + +

                                                                                                                                                                                                    Validate: sometimes,string

                                                                                                                                                                                                    +

                                                                                                                                                                                                    Min length NA +Max length 255 +Field Type varchar

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $address2 + + + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    The user address 2nd part (street number, name, more, etc)

                                                                                                                                                                                                    + + + private + string + $address2 + = null + +

                                                                                                                                                                                                    Validate: sometimes,string

                                                                                                                                                                                                    +

                                                                                                                                                                                                    Min length NA +Max length 255 +Field Type varchar

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $city + + + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    The user address city

                                                                                                                                                                                                    + + + private + string + $city + = null + +

                                                                                                                                                                                                    Validate: sometimes,string

                                                                                                                                                                                                    +

                                                                                                                                                                                                    Min length NA +Max length 255 +Field Type varchar

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $email + + + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    An RFC Valid Email

                                                                                                                                                                                                    + + + private + string + $email + = null + +

                                                                                                                                                                                                    Validate: rfc,dns,spoof,filter

                                                                                                                                                                                                    +

                                                                                                                                                                                                    Required +Min length N/A +Max length 255 +Field Type varchar

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $firstname + + + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    First name

                                                                                                                                                                                                    + + + private + string + $firstname + = null + +

                                                                                                                                                                                                    Required +Min length 2 +Max length 255 +Field Type varchar

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $label_type_support + + + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    The arcadia type support label

                                                                                                                                                                                                    + + + private + string + $label_type_support + = null + +

                                                                                                                                                                                                    Validate: string

                                                                                                                                                                                                    +

                                                                                                                                                                                                    Required

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $lastname + + + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    Last name

                                                                                                                                                                                                    + + + private + string + $lastname + = null + +

                                                                                                                                                                                                    Required +Min length 2 +Max length 255 +Field Type varchar

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $operation + + + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    The arcadia operation code

                                                                                                                                                                                                    + + + private + int + $operation + = null + +

                                                                                                                                                                                                    Validate: int

                                                                                                                                                                                                    +

                                                                                                                                                                                                    Required

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $order_date + + + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    The arcadia order date

                                                                                                                                                                                                    + + + private + string + $order_date + = null + +

                                                                                                                                                                                                    Validate: date

                                                                                                                                                                                                    +

                                                                                                                                                                                                    Required

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $order_num + + + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    The arcadia order number

                                                                                                                                                                                                    + + + private + int + $order_num + = null + +

                                                                                                                                                                                                    Validate: numeric,digits:9

                                                                                                                                                                                                    +

                                                                                                                                                                                                    Required

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $package_unit_weight + + + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    The arcadia package unit weight

                                                                                                                                                                                                    + + + private + int + $package_unit_weight + = null + +

                                                                                                                                                                                                    Validate: integer

                                                                                                                                                                                                    +

                                                                                                                                                                                                    Required

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $phone + + + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    The user phone

                                                                                                                                                                                                    + + + private + string + $phone + = null + +

                                                                                                                                                                                                    Validate: sometimes,string

                                                                                                                                                                                                    +

                                                                                                                                                                                                    Required +Min length NA +Max length 255 +Field Type varchar

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $postcode + + + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    The user address postcode

                                                                                                                                                                                                    + + + private + string + $postcode + = null + +

                                                                                                                                                                                                    Validate: string

                                                                                                                                                                                                    +

                                                                                                                                                                                                    Required +Min length NA +Max length 255 +Field Type varchar

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $state_order + + + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    The arcadia state order

                                                                                                                                                                                                    + + + private + int + $state_order + = null + +

                                                                                                                                                                                                    Validate: in ArcadiaOrderType::toValues()

                                                                                                                                                                                                    +

                                                                                                                                                                                                    Required

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $support_code + + + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    The arcadia support code

                                                                                                                                                                                                    + + + private + int + $support_code + = null + +

                                                                                                                                                                                                    Validate: int

                                                                                                                                                                                                    +

                                                                                                                                                                                                    Required

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + Methods + +

                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + __construct() + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    ArcadiaMailDefault

                                                                                                                                                                                                    + + + public + __construct([array<string|int, mixed> $properties = [] ]) : mixed + + +
                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + $properties + : array<string|int, mixed> + = []
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + +
                                                                                                                                                                                                    + Tags + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + throws +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + ValidationException + +

                                                                                                                                                                                                    If a field could not be validated.

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    Return values
                                                                                                                                                                                                    + mixed + — + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + __get() + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    Generic accessor

                                                                                                                                                                                                    + + + public + __get(string $field) : mixed + + +
                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + $field + : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    Return values
                                                                                                                                                                                                    + mixed + — + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + __set() + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    Set prop

                                                                                                                                                                                                    + + + public + __set(string $field, mixed $value) : void + + +
                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + $field + : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + $value + : mixed +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + +
                                                                                                                                                                                                    + Tags + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + throws +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + TypeError + +

                                                                                                                                                                                                    If the field has an incorrect value.

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + throws +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + AccessError + +

                                                                                                                                                                                                    If trying to set a value on a unknown property.

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    Return values
                                                                                                                                                                                                    + void + — + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + fill() + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    Fill data into this model +using validation rules

                                                                                                                                                                                                    + + + public + fill(array<string|int, mixed> $properties) : void + + +
                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + $properties + : array<string|int, mixed> +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + +
                                                                                                                                                                                                    + Tags + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + throws +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + ValidationException + +

                                                                                                                                                                                                    If a field could not be validated.

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    Return values
                                                                                                                                                                                                    + void + — + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + jsonSerialize() + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    Serialize this object to an array

                                                                                                                                                                                                    + + + public + jsonSerialize() : array<string|int, mixed> + + + + + +
                                                                                                                                                                                                    Return values
                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + send() + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    Send The actual mail

                                                                                                                                                                                                    + + + public + send() : bool + + + + +
                                                                                                                                                                                                    + Tags + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + throws +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + ValidationException + +

                                                                                                                                                                                                    If a field could not be validated.

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + throws +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + CrmException + +

                                                                                                                                                                                                    If an error occurs on server side or on getting response.

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + throws +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + ApiErrorException + +

                                                                                                                                                                                                    If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side).

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    Return values
                                                                                                                                                                                                    + bool + — +

                                                                                                                                                                                                    true if succeeded

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + validateAllValues() + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    Validate all model properties

                                                                                                                                                                                                    + + + protected + validateAllValues([array<string|int, mixed> $ignore = [] ]) : array<string|int, mixed> + + +
                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + $ignore + : array<string|int, mixed> + = []
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + +
                                                                                                                                                                                                    + Tags + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + throws +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + ValidationException + +

                                                                                                                                                                                                    If a field could not be validated.

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    Return values
                                                                                                                                                                                                    + array<string|int, mixed> + — +

                                                                                                                                                                                                    the validated values

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    Search results

                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + +
                                                                                                                                                                                                      + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-ArcadiaMailGame.html b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-ArcadiaMailGame.html new file mode 100644 index 0000000..b6f748b --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-ArcadiaMailGame.html @@ -0,0 +1,1900 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      CRM V2

                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      + + +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + ArcadiaMailGame + + + extends CrmClientModel + + +
                                                                                                                                                                                                      + in package + +
                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      + + + +

                                                                                                                                                                                                      This class represents the customer info with +the account validation status

                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + category +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +

                                                                                                                                                                                                      Api Models

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + subpackage +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +

                                                                                                                                                                                                      models

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + author +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +

                                                                                                                                                                                                      Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + + + +

                                                                                                                                                                                                      + Table of Contents + +

                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + $address + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $address2 + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $city + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $code_on_pack + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $code_unique + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $email + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $firstname + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $label_type_support + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $lastname + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $operation + +  : int +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $order_date + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $phone + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $postcode + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $support_code + +  : int +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $modelFields + +  : array<string|int, mixed> +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      The crm customer fields
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $validation + +  : array<string|int, mixed> +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      Validation rules
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $address + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      The user address (street number, name, etc)
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $address2 + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      The user address 2nd part (street number, name, more, etc)
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $city + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      The user address city
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $code_on_pack + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      The arcadia code on pack
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $code_unique + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      The arcadia code unique
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $email + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      An RFC Valid Email
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $firstname + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      First name
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $label_type_support + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      The arcadia type support label
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $lastname + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      Last name
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $operation + +  : int +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      The arcadia operation code
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $order_date + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      The arcadia order date
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $phone + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      The user phone
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $postcode + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      The user address postcode
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $support_code + +  : int +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      The arcadia support code
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + __construct() + +  : mixed +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      ArcadiaMailGame
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + __set() + +  : void +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      Set prop
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + fill() + +  : void +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      Fill data into this model +using validation rules
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + jsonSerialize() + +  : array<string|int, mixed> +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      Serialize this object to an array
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + send() + +  : bool +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      Send The actual mail
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + + + + + + +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + Properties + +

                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $address + + + +

                                                                                                                                                                                                      + + + + + public + string + $address + + +

                                                                                                                                                                                                      The account address (street number, name, build, flat number)

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $address2 + + + +

                                                                                                                                                                                                      + + + + + public + string + $address2 + + +

                                                                                                                                                                                                      The account phone (address complement)

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $city + + + +

                                                                                                                                                                                                      + + + + + public + string + $city + + +

                                                                                                                                                                                                      The account city name

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $code_on_pack + + + +

                                                                                                                                                                                                      + + + + + public + string + $code_on_pack + + +

                                                                                                                                                                                                      The arcadia code on pack

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $code_unique + + + +

                                                                                                                                                                                                      + + + + + public + string + $code_unique + + +

                                                                                                                                                                                                      The arcadia code unique

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $email + + + +

                                                                                                                                                                                                      + + + + + public + string + $email + + +

                                                                                                                                                                                                      Must be a rfc valid email on a valid domain name

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $firstname + + + +

                                                                                                                                                                                                      + + + + + public + string + $firstname + + +

                                                                                                                                                                                                      The account first name

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $label_type_support + + + +

                                                                                                                                                                                                      + + + + + public + string + $label_type_support + + +

                                                                                                                                                                                                      The arcadia type support label

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $lastname + + + +

                                                                                                                                                                                                      + + + + + public + string + $lastname + + +

                                                                                                                                                                                                      The account last name

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $operation + + + +

                                                                                                                                                                                                      + + + + + public + int + $operation + + +

                                                                                                                                                                                                      The arcadia operation code +Validate: int +Required

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $order_date + + + +

                                                                                                                                                                                                      + + + + + public + string + $order_date + + +

                                                                                                                                                                                                      The arcadia order date 'yyyy-mm-dd HH:ii:ss'

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $phone + + + +

                                                                                                                                                                                                      + + + + + public + string + $phone + + +

                                                                                                                                                                                                      The account phone

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $postcode + + + +

                                                                                                                                                                                                      + + + + + public + string + $postcode + + +

                                                                                                                                                                                                      The account city postcode

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $support_code + + + +

                                                                                                                                                                                                      + + + + + public + int + $support_code + + +

                                                                                                                                                                                                      The arcadia support code

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $modelFields + + + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      The crm customer fields

                                                                                                                                                                                                      + + + protected + array<string|int, mixed> + $modelFields + = ['email', 'firstname', 'lastname', 'phone', 'address', 'address2', 'city', 'postcode', 'operation', 'support_code', 'label_type_support', 'order_date', 'code_unique', 'code_on_pack'] + + + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $validation + + + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      Validation rules

                                                                                                                                                                                                      + + + protected + static array<string|int, mixed> + $validation + = ['email' => 'required|email', 'firstname' => 'required|string|min:2|max:255', 'lastname' => 'required|string|min:2|max:255', 'phone' => 'sometimes|string|min:10|max:255', 'address' => 'sometimes|string|max:255', 'address2' => 'sometimes|string|max:255', 'city' => 'sometimes|string|max:255', 'postcode' => 'sometimes|string|max:255', 'operation' => 'required|int', 'support_code' => 'required|int', 'label_type_support' => 'required|string|min:2|max:255', 'order_date' => 'required|date_format:Y/m/d H:i:s', 'code_unique' => 'required|string', 'code_on_pack' => 'sometimes|string'] + + + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $address + + + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      The user address (street number, name, etc)

                                                                                                                                                                                                      + + + private + string + $address + = null + +

                                                                                                                                                                                                      Validate: sometimes,string

                                                                                                                                                                                                      +

                                                                                                                                                                                                      Min length NA +Max length 255 +Field Type varchar

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $address2 + + + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      The user address 2nd part (street number, name, more, etc)

                                                                                                                                                                                                      + + + private + string + $address2 + = null + +

                                                                                                                                                                                                      Validate: sometimes,string

                                                                                                                                                                                                      +

                                                                                                                                                                                                      Min length NA +Max length 255 +Field Type varchar

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $city + + + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      The user address city

                                                                                                                                                                                                      + + + private + string + $city + = null + +

                                                                                                                                                                                                      Validate: sometimes,string

                                                                                                                                                                                                      +

                                                                                                                                                                                                      Min length NA +Max length 255 +Field Type varchar

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $code_on_pack + + + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      The arcadia code on pack

                                                                                                                                                                                                      + + + private + string + $code_on_pack + = null + +

                                                                                                                                                                                                      Validate: sometimes

                                                                                                                                                                                                      +

                                                                                                                                                                                                      Required

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $code_unique + + + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      The arcadia code unique

                                                                                                                                                                                                      + + + private + string + $code_unique + = null + +

                                                                                                                                                                                                      Validate: string

                                                                                                                                                                                                      +

                                                                                                                                                                                                      Required

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $email + + + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      An RFC Valid Email

                                                                                                                                                                                                      + + + private + string + $email + = null + +

                                                                                                                                                                                                      Validate: rfc,dns,spoof,filter

                                                                                                                                                                                                      +

                                                                                                                                                                                                      Required +Min length N/A +Max length 255 +Field Type varchar

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $firstname + + + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      First name

                                                                                                                                                                                                      + + + private + string + $firstname + = null + +

                                                                                                                                                                                                      Required +Min length 2 +Max length 255 +Field Type varchar

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $label_type_support + + + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      The arcadia type support label

                                                                                                                                                                                                      + + + private + string + $label_type_support + = null + +

                                                                                                                                                                                                      Validate: string

                                                                                                                                                                                                      +

                                                                                                                                                                                                      Required

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $lastname + + + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      Last name

                                                                                                                                                                                                      + + + private + string + $lastname + = null + +

                                                                                                                                                                                                      Required +Min length 2 +Max length 255 +Field Type varchar

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $operation + + + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      The arcadia operation code

                                                                                                                                                                                                      + + + private + int + $operation + = null + +

                                                                                                                                                                                                      Validate: int

                                                                                                                                                                                                      +

                                                                                                                                                                                                      Required

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $order_date + + + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      The arcadia order date

                                                                                                                                                                                                      + + + private + string + $order_date + = null + +

                                                                                                                                                                                                      Validate: date

                                                                                                                                                                                                      +

                                                                                                                                                                                                      Required

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $phone + + + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      The user phone

                                                                                                                                                                                                      + + + private + string + $phone + = null + +

                                                                                                                                                                                                      Validate: sometimes,string

                                                                                                                                                                                                      +

                                                                                                                                                                                                      Required +Min length NA +Max length 255 +Field Type varchar

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $postcode + + + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      The user address postcode

                                                                                                                                                                                                      + + + private + string + $postcode + = null + +

                                                                                                                                                                                                      Validate: string

                                                                                                                                                                                                      +

                                                                                                                                                                                                      Required +Min length NA +Max length 255 +Field Type varchar

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $support_code + + + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      The arcadia support code

                                                                                                                                                                                                      + + + private + int + $support_code + = null + +

                                                                                                                                                                                                      Validate: int

                                                                                                                                                                                                      +

                                                                                                                                                                                                      Required

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + Methods + +

                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + __construct() + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      ArcadiaMailGame

                                                                                                                                                                                                      + + + public + __construct([array<string|int, mixed> $properties = [] ]) : mixed + + +
                                                                                                                                                                                                      Parameters
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + $properties + : array<string|int, mixed> + = []
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + +
                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + ValidationException + +

                                                                                                                                                                                                      If a field could not be validated.

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      Return values
                                                                                                                                                                                                      + mixed + — + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + __set() + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      Set prop

                                                                                                                                                                                                      + + + public + __set(string $field, mixed $value) : void + + +
                                                                                                                                                                                                      Parameters
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + $field + : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + $value + : mixed +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + +
                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + TypeError + +

                                                                                                                                                                                                      If the field has an incorrect value.

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + AccessError + +

                                                                                                                                                                                                      If trying to set a value on a unknown property.

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      Return values
                                                                                                                                                                                                      + void + — + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + fill() + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      Fill data into this model +using validation rules

                                                                                                                                                                                                      + + + public + fill(array<string|int, mixed> $properties) : void + + +
                                                                                                                                                                                                      Parameters
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + $properties + : array<string|int, mixed> +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + +
                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + ValidationException + +

                                                                                                                                                                                                      If a field could not be validated.

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      Return values
                                                                                                                                                                                                      + void + — + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + jsonSerialize() + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      Serialize this object to an array

                                                                                                                                                                                                      + + + public + jsonSerialize() : array<string|int, mixed> + + + + + +
                                                                                                                                                                                                      Return values
                                                                                                                                                                                                      + array<string|int, mixed> + — + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + send() + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      Send The actual mail

                                                                                                                                                                                                      + + + public + send() : bool + + + + +
                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + CrmException + +

                                                                                                                                                                                                      If an error occurs on server side or on getting response.

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + ApiErrorException + +

                                                                                                                                                                                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side).

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      Return values
                                                                                                                                                                                                      + bool + — +

                                                                                                                                                                                                      true if succeeded

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      Search results

                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-Customer.html b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-Customer.html new file mode 100644 index 0000000..3bd943f --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-Customer.html @@ -0,0 +1,2914 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        CRM V2

                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + Customer + + + extends CrmClientModel + + +
                                                                                                                                                                                                        + in package + +
                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        + + + +

                                                                                                                                                                                                        This class represents the customer info with +the account validation status. You can use it as +a standalone class but beware of catching exceptions

                                                                                                                                                                                                        + +

                                                                                                                                                                                                        Be warned that on server side data is normalized

                                                                                                                                                                                                        +
                                                                                                                                                                                                          +
                                                                                                                                                                                                        • firstname and lastname are 'capitalized'
                                                                                                                                                                                                        • +
                                                                                                                                                                                                        • fields are trimmed
                                                                                                                                                                                                        • +
                                                                                                                                                                                                        • non numeric chars are removed from postcode
                                                                                                                                                                                                        • +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + example +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +

                                                                                                                                                                                                        examples/CustomerExample.php

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + category +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +

                                                                                                                                                                                                        Api Models

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + subpackage +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +

                                                                                                                                                                                                        models

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + author +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +

                                                                                                                                                                                                        Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + + + +

                                                                                                                                                                                                        + Table of Contents + +

                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + $address + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $address2 + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $birth_date + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $city + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $country + +  : Country +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $email + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $firstname + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $hashcode + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $last_connection + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $lastname + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $opt_in + +  : bool +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $password + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $phone + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $postcode + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $status + +  : bool +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $invisibleFields + +  : array<string|int, mixed> +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        The crm customer fields +the should not be visible
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $modelFields + +  : array<string|int, mixed> +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        The crm customer fields
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $validation + +  : array<string|int, mixed> +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Validation rules
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $address + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        The user address (street number, name, etc)
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $address2 + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        The user address 2nd part (street number, name, more, etc)
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $birth_date + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Birth date
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $city + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        The user address city
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $country + +  : Country +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        The user address postcode
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $email + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        An RFC Valid Email
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $firstname + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        First name
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $hashcode + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        The user hashcode, this is link with the customer and the brand it is related to +It is used to identify the customer itself.
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $last_connection + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        The last time the account was connected
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $lastname + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Last name
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $opt_in + +  : bool +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        The user optin choice
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $password + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        The user password +This is set only when creating a user +Otherwise it has to be set to null
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $phone + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        The user phone
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $postcode + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        The user address postcode
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $status + +  : bool +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Is the account activated ?
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + __construct() + +  : mixed +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Customer
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + __get() + +  : mixed|null +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Generic accessor
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + __set() + +  : void +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Set prop on the model.
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + activate() + +  : bool +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Active the customer on CRM.
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + delete() + +  : bool +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Removes the customer from CRM.
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + fill() + +  : void +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Fill values into model using validation rules.
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + find() + +  : self|null +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Find a customer using its hashcode in the crm
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + findWithEmail() + +  : self|null +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Find a customer using its email in the crm +This is an alias of Customer::find()
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + jsonSerialize() + +  : array<string|int, mixed> +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Serialize this object to an array
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + login() + +  : bool +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Test customer credentials
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + save() + +  : bool +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Save the customer on CRM.
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + toggleOptin() + +  : bool +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Toggle the account optin value in the crm
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + validateAllValues() + +  : array<string|int, mixed> +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Validate all model properties
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + store() + +  : bool +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Calls api store customer method
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + update() + +  : bool +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Calls api update customer method
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + + + + +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + Properties + +

                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $address + + + +

                                                                                                                                                                                                        + + + + + public + string + $address + + +

                                                                                                                                                                                                        The account address (street number, name, build, flat number)

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $address2 + + + +

                                                                                                                                                                                                        + + + + + public + string + $address2 + + +

                                                                                                                                                                                                        The account phone (address complement)

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $birth_date + + + +

                                                                                                                                                                                                        + + + + + public + string + $birth_date + + +

                                                                                                                                                                                                        The account birth date 'yyyy-mm-dd'

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $city + + + +

                                                                                                                                                                                                        + + + + + public + string + $city + + +

                                                                                                                                                                                                        The account city name

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $country + + + +

                                                                                                                                                                                                        + + + + + public + Country + $country + + +

                                                                                                                                                                                                        The account country residence

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $email + + + +

                                                                                                                                                                                                        + + + + + public + string + $email + + +

                                                                                                                                                                                                        Must be a rfc valid email on a valid domain name

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $firstname + + + +

                                                                                                                                                                                                        + + + + + public + string + $firstname + + +

                                                                                                                                                                                                        The account first name

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $hashcode + + + +

                                                                                                                                                                                                        + + + + + public + string + $hashcode + + +

                                                                                                                                                                                                        The crm hashcode this is a readonly field

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $last_connection + + + +

                                                                                                                                                                                                        + + + + + public + string + $last_connection + + +

                                                                                                                                                                                                        the last time user was connected 'yyyy-mm-dd HH:ii:ss'

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $lastname + + + +

                                                                                                                                                                                                        + + + + + public + string + $lastname + + +

                                                                                                                                                                                                        The account last name

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $opt_in + + + +

                                                                                                                                                                                                        + + + + + public + bool + $opt_in + + +

                                                                                                                                                                                                        true if the account is opt in

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $password + + + +

                                                                                                                                                                                                        + + + + + public + string + $password + + +

                                                                                                                                                                                                        Required only on create, must have upper and lowers chars, +at least 1 number, at leat 1 upper char, at least 1 lower char and +at leat 1 special char

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $phone + + + +

                                                                                                                                                                                                        + + + + + public + string + $phone + + +

                                                                                                                                                                                                        The account phone

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $postcode + + + +

                                                                                                                                                                                                        + + + + + public + string + $postcode + + +

                                                                                                                                                                                                        The account city postcode

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $status + + + +

                                                                                                                                                                                                        + + + + + public + bool + $status + + +

                                                                                                                                                                                                        true if the account is activated

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $invisibleFields + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        The crm customer fields +the should not be visible

                                                                                                                                                                                                        + + + protected + array<string|int, mixed> + $invisibleFields + = ['password'] + + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $modelFields + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        The crm customer fields

                                                                                                                                                                                                        + + + protected + array<string|int, mixed> + $modelFields + = ['hashcode', 'email', 'firstname', 'password', 'lastname', 'birth_date', 'phone', 'address', 'address2', 'city', 'postcode', 'country', 'opt_in', 'status', 'last_connection'] + + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $validation + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Validation rules

                                                                                                                                                                                                        + + + protected + static array<string|int, mixed> + $validation + = ['hashcode' => 'required|uuid', 'email' => 'required|email', 'firstname' => 'required|string|min:1|max:255', 'lastname' => 'required|string|min:1|max:255', 'password' => 'required|min:8|max:255|mixedCase|containDigit|containSymbol', 'birth_date' => 'required|date_format:Y-m-d', 'phone' => 'sometimes|nullable|string|max:255', 'address' => 'sometimes|string|max:255', 'address2' => 'sometimes|string|max:255', 'city' => 'sometimes|string|min:2|max:255', 'postcode' => 'sometimes|string|max:255', 'country' => ['sometimes'], 'opt_in' => 'required|bool', 'status' => 'required|bool', 'last_connection' => 'sometimes|date'] + + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $address + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        The user address (street number, name, etc)

                                                                                                                                                                                                        + + + private + string + $address + = null + +

                                                                                                                                                                                                        Validate: sometimes,string

                                                                                                                                                                                                        +

                                                                                                                                                                                                        Min length NA +Max length 255 +Field Type varchar

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $address2 + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        The user address 2nd part (street number, name, more, etc)

                                                                                                                                                                                                        + + + private + string + $address2 + = null + +

                                                                                                                                                                                                        Validate: sometimes,string

                                                                                                                                                                                                        +

                                                                                                                                                                                                        Min length NA +Max length 255 +Field Type varchar

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $birth_date + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Birth date

                                                                                                                                                                                                        + + + private + string + $birth_date + = null + +

                                                                                                                                                                                                        Validate: date_format:Y-m-d

                                                                                                                                                                                                        +

                                                                                                                                                                                                        Required +Field Type Date

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $city + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        The user address city

                                                                                                                                                                                                        + + + private + string + $city + = null + +

                                                                                                                                                                                                        Validate: sometimes,string

                                                                                                                                                                                                        +

                                                                                                                                                                                                        Min length NA +Max length 255 +Field Type varchar

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $country + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        The user address postcode

                                                                                                                                                                                                        + + + private + Country + $country + = null + +

                                                                                                                                                                                                        Validate: sometimes, in Country::toValues()

                                                                                                                                                                                                        +

                                                                                                                                                                                                        Required +Field Type tinyInt

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $email + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        An RFC Valid Email

                                                                                                                                                                                                        + + + private + string + $email + = null + +

                                                                                                                                                                                                        Validate: rfc,dns,spoof,filter

                                                                                                                                                                                                        +

                                                                                                                                                                                                        Required +Min length N/A +Max length 255 +Field Type varchar

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $firstname + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        First name

                                                                                                                                                                                                        + + + private + string + $firstname + = null + +

                                                                                                                                                                                                        Required +Min length 2 +Max length 255 +Field Type varchar

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $hashcode + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        The user hashcode, this is link with the customer and the brand it is related to +It is used to identify the customer itself.

                                                                                                                                                                                                        + + + private + string + $hashcode + + +

                                                                                                                                                                                                        Validate: UUID, in customer_infos

                                                                                                                                                                                                        +

                                                                                                                                                                                                        Required +Min length 36 +Max length 36 +Field Type varchar

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $last_connection + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        The last time the account was connected

                                                                                                                                                                                                        + + + private + string + $last_connection + = null + +

                                                                                                                                                                                                        This field is read only

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $lastname + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Last name

                                                                                                                                                                                                        + + + private + string + $lastname + = null + +

                                                                                                                                                                                                        Required +Min length 2 +Max length 255 +Field Type varchar

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $opt_in + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        The user optin choice

                                                                                                                                                                                                        + + + private + bool + $opt_in + = false + +

                                                                                                                                                                                                        Validate: boolean

                                                                                                                                                                                                        +

                                                                                                                                                                                                        Required +Field Type TinyInt

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $password + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        The user password +This is set only when creating a user +Otherwise it has to be set to null

                                                                                                                                                                                                        + + + private + string + $password + = null + +

                                                                                                                                                                                                        Validate: case_diff,numbers,letters,symbols,min:8

                                                                                                                                                                                                        +

                                                                                                                                                                                                        Min length 8 +Max length 255 +Field Type varchar

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $phone + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        The user phone

                                                                                                                                                                                                        + + + private + string + $phone + = null + +

                                                                                                                                                                                                        Validate: sometimes,string

                                                                                                                                                                                                        +

                                                                                                                                                                                                        Required +Min length NA +Max length 255 +Field Type varchar

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $postcode + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        The user address postcode

                                                                                                                                                                                                        + + + private + string + $postcode + = null + +

                                                                                                                                                                                                        Validate: string

                                                                                                                                                                                                        +

                                                                                                                                                                                                        Required +Min length NA +Max length 255 +Field Type varchar

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $status + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Is the account activated ?

                                                                                                                                                                                                        + + + private + bool + $status + = false + +

                                                                                                                                                                                                        This field is read only

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + Methods + +

                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + __construct() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Customer

                                                                                                                                                                                                        + + + public + __construct([array<string|int, mixed> $properties = [] ]) : mixed + + +
                                                                                                                                                                                                        Parameters
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + $properties + : array<string|int, mixed> + = []
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ValidationException + +

                                                                                                                                                                                                        If a field could not be validated.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + mixed + — + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + __get() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Generic accessor

                                                                                                                                                                                                        + + + public + __get(string $field) : mixed|null + + +
                                                                                                                                                                                                        Parameters
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + $field + : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + mixed|null + — +

                                                                                                                                                                                                        Returns null if the property was not found any way.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + __set() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Set prop on the model.

                                                                                                                                                                                                        + + + public + __set(string $field, mixed $value) : void + + +
                                                                                                                                                                                                        Parameters
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + $field + : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + $value + : mixed +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ValidationException + +

                                                                                                                                                                                                        If a field could not be validated.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + AccessError + +

                                                                                                                                                                                                        If trying to set a value on a unknown property.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + void + — + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + activate() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Active the customer on CRM.

                                                                                                                                                                                                        + + + public + activate() : bool + + + + +
                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ValidationException + +

                                                                                                                                                                                                        If a customer's hashcode could not be validated.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + CrmException + +

                                                                                                                                                                                                        If an error occurs on server side or on getting response.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ApiErrorException + +

                                                                                                                                                                                                        If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found. +- customerAlreadyActive, It the customer is already activated.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + phpcs:ignore +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +

                                                                                                                                                                                                        Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + bool + — +

                                                                                                                                                                                                        true if succeeded

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + delete() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Removes the customer from CRM.

                                                                                                                                                                                                        + + + public + delete() : bool + + + + +
                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ValidationException + +

                                                                                                                                                                                                        If a field could not be validated.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + CrmException + +

                                                                                                                                                                                                        If an error occurs on server side or on getting response.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ApiErrorException + +

                                                                                                                                                                                                        If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + phpcs:ignore +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +

                                                                                                                                                                                                        Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + bool + — +

                                                                                                                                                                                                        true if succeeded

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + fill() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Fill values into model using validation rules.

                                                                                                                                                                                                        + + + public + fill(array<string|int, mixed> $properties) : void + + +
                                                                                                                                                                                                        Parameters
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + $properties + : array<string|int, mixed> +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ValidationException + +

                                                                                                                                                                                                        If a field could not be validated.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + void + — + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + find() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Find a customer using its hashcode in the crm

                                                                                                                                                                                                        + + + public + static find(string $hashcode) : self|null + + +
                                                                                                                                                                                                        Parameters
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + $hashcode + : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + CrmException + +

                                                                                                                                                                                                        If an error occurs on server side or on getting response.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ApiErrorException + +

                                                                                                                                                                                                        If any error or \LDC\LDCCRM\Enums\ApiError occurs.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + phpcs:ignore +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +

                                                                                                                                                                                                        Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + self|null + — +

                                                                                                                                                                                                        Return null if the customer was not found

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + findWithEmail() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Find a customer using its email in the crm +This is an alias of Customer::find()

                                                                                                                                                                                                        + + + public + static findWithEmail(string $email) : self|null + + +
                                                                                                                                                                                                        Parameters
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + $email + : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + CrmException + +

                                                                                                                                                                                                        If an error occurs on server side or on getting response.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ApiErrorException + +

                                                                                                                                                                                                        If any error or \LDC\LDCCRM\Enums\ApiError occurs.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + phpcs:ignore +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +

                                                                                                                                                                                                        Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + self|null + — + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + jsonSerialize() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Serialize this object to an array

                                                                                                                                                                                                        + + + public + jsonSerialize() : array<string|int, mixed> + + + + + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + array<string|int, mixed> + — + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + login() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Test customer credentials

                                                                                                                                                                                                        + + + public + static login(string $email, string $password) : bool + + +
                                                                                                                                                                                                        Parameters
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + $email + : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + $password + : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ValidationException + +

                                                                                                                                                                                                        If a customer's email could not be validated.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + CrmException + +

                                                                                                                                                                                                        If an error occurs on server side or on getting response.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ApiErrorException + +

                                                                                                                                                                                                        If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - authFailed, If credentials are not valid. +- customerNotActivated, If the account is not activated.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + phpcs:ignore +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +

                                                                                                                                                                                                        Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + bool + — + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + save() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Save the customer on CRM.

                                                                                                                                                                                                        + + + public + save() : bool + + + + +
                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ValidationException + +

                                                                                                                                                                                                        If a field could not be validated.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + CrmException + +

                                                                                                                                                                                                        If an error occurs on server side or on getting response.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ApiErrorException + +

                                                                                                                                                                                                        If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side). +- modelNotFound, If this customer hashcode could not be found (new customers only).

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + phpcs:ignore +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +

                                                                                                                                                                                                        Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + bool + — +

                                                                                                                                                                                                        True if save was successfull.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + toggleOptin() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Toggle the account optin value in the crm

                                                                                                                                                                                                        + + + public + toggleOptin() : bool + + + + +
                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ValidationException + +

                                                                                                                                                                                                        If a field could not be validated.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + CrmException + +

                                                                                                                                                                                                        If an error occurs on server side or on getting response.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ApiErrorException + +

                                                                                                                                                                                                        If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + phpcs:ignore +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +

                                                                                                                                                                                                        Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + bool + — +

                                                                                                                                                                                                        true if succeeded

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + validateAllValues() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Validate all model properties

                                                                                                                                                                                                        + + + protected + validateAllValues([array<string|int, mixed> $ignore = [] ]) : array<string|int, mixed> + + +
                                                                                                                                                                                                        Parameters
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + $ignore + : array<string|int, mixed> + = []
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ValidationException + +

                                                                                                                                                                                                        If a field could not be validated.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + array<string|int, mixed> + — +

                                                                                                                                                                                                        the validated values

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + store() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Calls api store customer method

                                                                                                                                                                                                        + + + private + store() : bool + + + + +
                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ValidationException + +

                                                                                                                                                                                                        If a field could not be validated.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + CrmException + +

                                                                                                                                                                                                        If an error occurs on server side or on getting response.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ApiErrorException + +

                                                                                                                                                                                                        If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side).

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + phpcs:ignore +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +

                                                                                                                                                                                                        Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + bool + — +

                                                                                                                                                                                                        True if save was successfull.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + update() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Calls api update customer method

                                                                                                                                                                                                        + + + private + update() : bool + + + + +
                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ValidationException + +

                                                                                                                                                                                                        If a field could not be validated.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + CrmException + +

                                                                                                                                                                                                        If an error occurs on server side or on getting response.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ApiErrorException + +

                                                                                                                                                                                                        If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side). +- modelNotFound, If this customer hashcode could not be found.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + phpcs:ignore +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +

                                                                                                                                                                                                        Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + bool + — +

                                                                                                                                                                                                        True if save was successfull.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        Search results

                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-Question.html b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-Question.html new file mode 100644 index 0000000..1c86565 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-Question.html @@ -0,0 +1,1359 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          CRM V2

                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + Question + + + extends CrmClientModel + + +
                                                                                                                                                                                                          + in package + +
                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          + + + +

                                                                                                                                                                                                          This class represents a question +It has some static methods to retrieve questions and answers

                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + category +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Api Models

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + subpackage +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          models

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + author +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + + + + + +

                                                                                                                                                                                                          + Table of Contents + +

                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $answers + +  : array<string|int, Answer> +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + $id + +  : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + $question + +  : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + $type + +  : QuestionType +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + $modelFields + +  : array<string|int, mixed> +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          The crm customer fields
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + $validation + +  : array<string|int, mixed> +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Validation rules
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + $answers + +  : array<string|int, mixed> +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          The question answers
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + $id + +  : int +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          The question id
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + $question + +  : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          The actual question as a string
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + $type + +  : QuestionType +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          The question type
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + __construct() + +  : mixed +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Question
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + __get() + +  : mixed +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          General accessor
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + __set() + +  : void +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Set prop on the model.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + all() + +  : array<string|int, mixed> +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Get all questions only
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + allWithCustomerAnswers() + +  : array<string|int, mixed> +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Get all the questions with customer answers
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + fill() + +  : void +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Fill values into model using validation rules.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + jsonSerialize() + +  : array<string|int, mixed> +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Serialize this object to an array
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + unansweredBy() + +  : array<string|int, mixed> +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Get unanswered question for a specific customer
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + validateAllValues() + +  : array<string|int, mixed> +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Validate all model properties
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + + + + + + +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + Properties + +

                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + $answers + + + +

                                                                                                                                                                                                          + + + + + public + array<string|int, Answer> + $answers + + +

                                                                                                                                                                                                          An array with answers

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + $id + + + +

                                                                                                                                                                                                          + + + + + public + string + $id + + +

                                                                                                                                                                                                          The question id

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + $question + + + +

                                                                                                                                                                                                          + + + + + public + string + $question + + +

                                                                                                                                                                                                          The actual question as a string

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + $type + + + +

                                                                                                                                                                                                          + + + + + public + QuestionType + $type + + +

                                                                                                                                                                                                          The question type to display, +it also hints wether it can accept one or multiple responses, +so only checkbox allows multiple responses

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + $modelFields + + + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          The crm customer fields

                                                                                                                                                                                                          + + + protected + array<string|int, mixed> + $modelFields + = ['id', 'question', 'type', 'answers'] + + + + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + $validation + + + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Validation rules

                                                                                                                                                                                                          + + + protected + static array<string|int, mixed> + $validation + = ['id' => 'required|int', 'question' => 'required|string|max:255', 'type' => ['required'], 'answers' => 'required|array'] + + + + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + $answers + + + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          The question answers

                                                                                                                                                                                                          + + + private + array<string|int, mixed> + $answers + = [] + +

                                                                                                                                                                                                          \LDC\LDCCRM\Models\Answer

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + $id + + + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          The question id

                                                                                                                                                                                                          + + + private + int + $id + + +

                                                                                                                                                                                                          Required +Field Type bigInt

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + $question + + + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          The actual question as a string

                                                                                                                                                                                                          + + + private + string + $question + = null + +

                                                                                                                                                                                                          Required +Max length 255 +Field Type varchar

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + $type + + + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          The question type

                                                                                                                                                                                                          + + + private + QuestionType + $type + = null + +

                                                                                                                                                                                                          Validate: in QuestionType::toValues()

                                                                                                                                                                                                          +

                                                                                                                                                                                                          Required +Field Type tinyInteger

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + Methods + +

                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + __construct() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Question

                                                                                                                                                                                                          + + + public + __construct([array<string|int, mixed> $properties = [] ]) : mixed + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $properties + : array<string|int, mixed> + = []
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + ValidationException + +

                                                                                                                                                                                                          If a field could not be validated.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + mixed + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + __get() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          General accessor

                                                                                                                                                                                                          + + + public + __get(string $field) : mixed + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $field + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + mixed + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + __set() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Set prop on the model.

                                                                                                                                                                                                          + + + public + __set(string $field, mixed $value) : void + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $field + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $value + : mixed +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + ValidationException + +

                                                                                                                                                                                                          If a field could not be validated.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + AccessError + +

                                                                                                                                                                                                          If trying to set a value on a unknown property.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + void + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + all() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Get all questions only

                                                                                                                                                                                                          + + + public + static all() : array<string|int, mixed> + + + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + CrmException + +

                                                                                                                                                                                                          If an error occurs on server side or on getting response.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + ApiErrorException + +

                                                                                                                                                                                                          If any error or \LDC\LDCCRM\Enums\ApiError occurs.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + phpcs:ignore +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + array<string|int, mixed> + — +

                                                                                                                                                                                                          of \LDC\LDCCRM\Models\Question

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + allWithCustomerAnswers() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Get all the questions with customer answers

                                                                                                                                                                                                          + + + public + static allWithCustomerAnswers(Customer $customer) : array<string|int, mixed> + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $customer + : Customer +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + ValidationException + +

                                                                                                                                                                                                          If a customer's hashcode could not be validated.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + CrmException + +

                                                                                                                                                                                                          If an error occurs on server side or on getting response.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + ApiErrorException + +

                                                                                                                                                                                                          If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If the customer could not be found(CRM side).

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + phpcs:ignore +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + array<string|int, mixed> + — +

                                                                                                                                                                                                          [ +0 => [ +'question' => \LDC\LDCCRM\Models\Question, +'customerAnswers' => \LDC\LDCCRM\Models\Answer[] +] +]

                                                                                                                                                                                                          +

                                                                                                                                                                                                          with \LDC\LDCCRM\Models\Question[] +and the customer \LDC\LDCCRM\Models\Answer[]

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + fill() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Fill values into model using validation rules.

                                                                                                                                                                                                          + + + public + fill(array<string|int, mixed> $properties) : void + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $properties + : array<string|int, mixed> +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + ValidationException + +

                                                                                                                                                                                                          If a field could not be validated.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + void + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + jsonSerialize() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Serialize this object to an array

                                                                                                                                                                                                          + + + public + jsonSerialize() : array<string|int, mixed> + + + + + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + array<string|int, mixed> + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + unansweredBy() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Get unanswered question for a specific customer

                                                                                                                                                                                                          + + + public + static unansweredBy(Customer $customer) : array<string|int, mixed> + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $customer + : Customer +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + ValidationException + +

                                                                                                                                                                                                          If a customer's hashcode could not be validated.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + CrmException + +

                                                                                                                                                                                                          If an error occurs on server side or on getting response.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + ApiErrorException + +

                                                                                                                                                                                                          If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If the customer could not be found(CRM side).

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + phpcs:ignore +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + array<string|int, mixed> + — +

                                                                                                                                                                                                          of \LDC\LDCCRM\Models\Question

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + validateAllValues() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Validate all model properties

                                                                                                                                                                                                          + + + protected + validateAllValues([array<string|int, mixed> $ignore = [] ]) : array<string|int, mixed> + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $ignore + : array<string|int, mixed> + = []
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + ValidationException + +

                                                                                                                                                                                                          If a field could not be validated.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + array<string|int, mixed> + — +

                                                                                                                                                                                                          the validated values

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          Search results

                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + + +
                                                                                                                                                                                                            + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-SingleOptin.html b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-SingleOptin.html new file mode 100644 index 0000000..892e7b7 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-SingleOptin.html @@ -0,0 +1,427 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                            +

                                                                                                                                                                                                            CRM V2

                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + + + + +
                                                                                                                                                                                                            + + +
                                                                                                                                                                                                            +

                                                                                                                                                                                                            + SingleOptin + + + extends CrmClientModel + + +
                                                                                                                                                                                                            + in package + +
                                                                                                                                                                                                            + + +

                                                                                                                                                                                                            + + + +

                                                                                                                                                                                                            This class allows to handle single opt in

                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                            + Tags + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + category +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +

                                                                                                                                                                                                            Api Models

                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + subpackage +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +

                                                                                                                                                                                                            models

                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + author +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +

                                                                                                                                                                                                            Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + + + + + + +

                                                                                                                                                                                                            + Table of Contents + +

                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + $validation + +  : array<string|int, mixed> +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            Validation rules
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            + setStatus() + +  : bool +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            Set the single opt in status for an email
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            + + + + + + +
                                                                                                                                                                                                            +

                                                                                                                                                                                                            + Properties + +

                                                                                                                                                                                                            +
                                                                                                                                                                                                            +

                                                                                                                                                                                                            + $validation + + + +

                                                                                                                                                                                                            + + +

                                                                                                                                                                                                            Validation rules

                                                                                                                                                                                                            + + + protected + static array<string|int, mixed> + $validation + = ['email' => 'required|email', 'opt_in' => 'required|bool'] + + + + + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +

                                                                                                                                                                                                            + Methods + +

                                                                                                                                                                                                            +
                                                                                                                                                                                                            +

                                                                                                                                                                                                            + setStatus() + +

                                                                                                                                                                                                            + + +

                                                                                                                                                                                                            Set the single opt in status for an email

                                                                                                                                                                                                            + + + public + static setStatus(string $email, bool $opt_in) : bool + + +
                                                                                                                                                                                                            Parameters
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + $email + : string +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + $opt_in + : bool +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + + +
                                                                                                                                                                                                            + Tags + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + throws +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + ValidationException + +

                                                                                                                                                                                                            If a field email could not be validated.

                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + throws +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + CrmException + +

                                                                                                                                                                                                            If an error occurs on server side or on getting response.

                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + throws +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + ApiErrorException + +

                                                                                                                                                                                                            If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - singleOptinCustomerExists, If a customer exists with this email.

                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + phpcs:ignore +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +

                                                                                                                                                                                                            Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            Return values
                                                                                                                                                                                                            + bool + — +

                                                                                                                                                                                                            true if succeeded

                                                                                                                                                                                                            +
                                                                                                                                                                                                            + + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + + + + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +

                                                                                                                                                                                                            Search results

                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + + +
                                                                                                                                                                                                              + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-Stats.html b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-Stats.html new file mode 100644 index 0000000..53f0e3a --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-Stats.html @@ -0,0 +1,599 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                              +

                                                                                                                                                                                                              CRM V2

                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + + + + +
                                                                                                                                                                                                              + + +
                                                                                                                                                                                                              +

                                                                                                                                                                                                              + Stats + + + extends CrmClientModel + + +
                                                                                                                                                                                                              + in package + +
                                                                                                                                                                                                              + + +

                                                                                                                                                                                                              + + + +

                                                                                                                                                                                                              This class is used to get stats from CRM

                                                                                                                                                                                                              + + + +
                                                                                                                                                                                                              + Tags + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + throws +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + ApiErrorException + +

                                                                                                                                                                                                              If an error occurs

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + throws +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + CrmException + +

                                                                                                                                                                                                              If the CRM encounters an error

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + category +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +

                                                                                                                                                                                                              Api Models

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + subpackage +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +

                                                                                                                                                                                                              models

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + author +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +

                                                                                                                                                                                                              Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + + + + + + +

                                                                                                                                                                                                              + Table of Contents + +

                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + $validation + +  : array<string|int, mixed> +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              Validation rules
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              + getBrandStats() + +  : array<string|int, mixed> +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              Get brand stats ordered by ascendent days
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              + getQuestionStats() + +  : array<string|int, mixed> +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              Get brand stats ordered by ascendent days
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              + + + + + + +
                                                                                                                                                                                                              +

                                                                                                                                                                                                              + Properties + +

                                                                                                                                                                                                              +
                                                                                                                                                                                                              +

                                                                                                                                                                                                              + $validation + + + +

                                                                                                                                                                                                              + + +

                                                                                                                                                                                                              Validation rules

                                                                                                                                                                                                              + + + protected + static array<string|int, mixed> + $validation + = ['question.id' => 'required|int|min:1', 'start' => 'required|date_format:Y-m-d', 'end' => 'required|date_format:Y-m-d'] + + + + + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +

                                                                                                                                                                                                              + Methods + +

                                                                                                                                                                                                              +
                                                                                                                                                                                                              +

                                                                                                                                                                                                              + getBrandStats() + +

                                                                                                                                                                                                              + + +

                                                                                                                                                                                                              Get brand stats ordered by ascendent days

                                                                                                                                                                                                              + + + public + static getBrandStats(string $start, string $end) : array<string|int, mixed> + + +
                                                                                                                                                                                                              Parameters
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + $start + : string +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +

                                                                                                                                                                                                              Une date valide au format Y-m-d .

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + $end + : string +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +

                                                                                                                                                                                                              Une date valide au format Y-m-d .

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + + +
                                                                                                                                                                                                              + Tags + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + throws +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + ValidationException + +

                                                                                                                                                                                                              If a field start could not be validated.

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + throws +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + ValidationException + +

                                                                                                                                                                                                              If a field end could not be validated.

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + throws +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + CrmException + +

                                                                                                                                                                                                              If an error occurs on server side or on getting response.

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + throws +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + ApiErrorException + +

                                                                                                                                                                                                              If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side).

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + phpcs:ignore +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +

                                                                                                                                                                                                              Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              Return values
                                                                                                                                                                                                              + array<string|int, mixed> + — +

                                                                                                                                                                                                              The stats array by day

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +

                                                                                                                                                                                                              + getQuestionStats() + +

                                                                                                                                                                                                              + + +

                                                                                                                                                                                                              Get brand stats ordered by ascendent days

                                                                                                                                                                                                              + + + public + static getQuestionStats(Question $question, string $start, string $end) : array<string|int, mixed> + + +
                                                                                                                                                                                                              Parameters
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + $question + : Question +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +

                                                                                                                                                                                                              Une question CRM possèdant un id réel.

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + $start + : string +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +

                                                                                                                                                                                                              Une date valide au format Y-m-d .

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + $end + : string +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +

                                                                                                                                                                                                              Une date valide au format Y-m-d .

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + + +
                                                                                                                                                                                                              + Tags + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + throws +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + ValidationException + +

                                                                                                                                                                                                              If a question's id could not be validated.

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + throws +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + ValidationException + +

                                                                                                                                                                                                              If a field start could not be validated.

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + throws +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + ValidationException + +

                                                                                                                                                                                                              If a field end could not be validated.

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + throws +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + CrmException + +

                                                                                                                                                                                                              If an error occurs on server side or on getting response.

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + throws +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + ApiErrorException + +

                                                                                                                                                                                                              If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side).

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + phpcs:ignore +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +

                                                                                                                                                                                                              Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              Return values
                                                                                                                                                                                                              + array<string|int, mixed> + — +

                                                                                                                                                                                                              The stats array by day

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + + + + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +

                                                                                                                                                                                                              Search results

                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Transport-Request.html b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Transport-Request.html new file mode 100644 index 0000000..2bf4142 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Transport-Request.html @@ -0,0 +1,1063 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                CRM V2

                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + + + + +
                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + Request + + +
                                                                                                                                                                                                                + in package + +
                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                + + + +

                                                                                                                                                                                                                The LDC CRM request +Contains the http method, the requested url and data to pass

                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                + Tags + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + subpackage +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +

                                                                                                                                                                                                                transport

                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + + + + + + +

                                                                                                                                                                                                                + Table of Contents + +

                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + $data + +  : array<string|int, mixed> +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + $headers + +  : array<string|int, mixed> +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + $method + +  : HttpMethods +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + $uri + +  : string +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + $data + +  : array<string|int, mixed> +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                Data to pass to the http body
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + $headers + +  : array<string|int, mixed> +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                Data to pass to the http headers
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + $method + +  : HttpMethods +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                The http method
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + $uri + +  : string +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                The http url
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + $client + +  : Client +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                GuzzleHttp client
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + $endpoint + +  : string +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                The Api endpoint
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + $request + +  : callable +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                Guzzle request
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + __construct() + +  : mixed +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                Request
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + __get() + +  : mixed|null +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                Generic accessor
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + addData() + +  : void +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                Add data to the request
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + addHeaders() + +  : void +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                Add headers to the request
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + call() + +  : ResponseInterface +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                Make the Http request
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + setEndpoint() + +  : void +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                Set the api endpoint to the request
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + makeRequest() + +  : void +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                make the guzzle request
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + + + + + + +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + Properties + +

                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + $data + + + +

                                                                                                                                                                                                                + + + + + public + array<string|int, mixed> + $data + + +

                                                                                                                                                                                                                readonly data

                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + $headers + + + +

                                                                                                                                                                                                                + + + + + public + array<string|int, mixed> + $headers + + +

                                                                                                                                                                                                                headers

                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + $method + + + +

                                                                                                                                                                                                                + + + + + public + HttpMethods + $method + + +

                                                                                                                                                                                                                readonly method

                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + $uri + + + +

                                                                                                                                                                                                                + + + + + public + string + $uri + + +

                                                                                                                                                                                                                readonly uri

                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + $data + + + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                Data to pass to the http body

                                                                                                                                                                                                                + + + protected + array<string|int, mixed> + $data + = [] + + + + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + $headers + + + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                Data to pass to the http headers

                                                                                                                                                                                                                + + + protected + array<string|int, mixed> + $headers + = [] + + + + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + $method + + + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                The http method

                                                                                                                                                                                                                + + + protected + HttpMethods + $method + + + + + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + $uri + + + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                The http url

                                                                                                                                                                                                                + + + protected + string + $uri + + + + + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + $client + + + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                GuzzleHttp client

                                                                                                                                                                                                                + + + private + Client + $client + + + + + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + $endpoint + + + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                The Api endpoint

                                                                                                                                                                                                                + + + private + string + $endpoint + + + + + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + $request + + + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                Guzzle request

                                                                                                                                                                                                                + + + private + callable + $request + + + +

                                                                                                                                                                                                                the returns \GuzzleHttp\Psr7\Request

                                                                                                                                                                                                                +
                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + Methods + +

                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + __construct() + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                Request

                                                                                                                                                                                                                + + + public + __construct(HttpMethods $method, string $uri[, array<string|int, mixed> $headers = [] ][, array<string|int, mixed> $data = [] ]) : mixed + + +
                                                                                                                                                                                                                Parameters
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + $method + : HttpMethods +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + $uri + : string +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + $headers + : array<string|int, mixed> + = []
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + $data + : array<string|int, mixed> + = []
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                Return values
                                                                                                                                                                                                                + mixed + — + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + __get() + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                Generic accessor

                                                                                                                                                                                                                + + + public + __get(string $field) : mixed|null + + +
                                                                                                                                                                                                                Parameters
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + $field + : string +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                Return values
                                                                                                                                                                                                                + mixed|null + — + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + addData() + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                Add data to the request

                                                                                                                                                                                                                + + + public + addData(array<string|int, mixed> $data) : void + + +
                                                                                                                                                                                                                Parameters
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + $data + : array<string|int, mixed> +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                Return values
                                                                                                                                                                                                                + void + — + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + addHeaders() + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                Add headers to the request

                                                                                                                                                                                                                + + + public + addHeaders(array<string|int, mixed> $headers) : void + + +
                                                                                                                                                                                                                Parameters
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + $headers + : array<string|int, mixed> +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                Return values
                                                                                                                                                                                                                + void + — + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + call() + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                Make the Http request

                                                                                                                                                                                                                + + + public + call() : ResponseInterface + + + + + +
                                                                                                                                                                                                                Return values
                                                                                                                                                                                                                + ResponseInterface + — + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + setEndpoint() + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                Set the api endpoint to the request

                                                                                                                                                                                                                + + + public + setEndpoint(string $endpoint) : void + + +
                                                                                                                                                                                                                Parameters
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + $endpoint + : string +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                Return values
                                                                                                                                                                                                                + void + — + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + makeRequest() + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                make the guzzle request

                                                                                                                                                                                                                + + + private + makeRequest() : void + + + + + +
                                                                                                                                                                                                                Return values
                                                                                                                                                                                                                + void + — + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + + + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                Search results

                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                  + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Transport-Response.html b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Transport-Response.html new file mode 100644 index 0000000..dbb2228 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Transport-Response.html @@ -0,0 +1,1083 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  CRM V2

                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + + + + +
                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + Response + + +
                                                                                                                                                                                                                  + in package + +
                                                                                                                                                                                                                  + + +

                                                                                                                                                                                                                  + + + + + + +
                                                                                                                                                                                                                  + Tags + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + subpackage +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +

                                                                                                                                                                                                                  transport

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + + + + + + +

                                                                                                                                                                                                                  + Table of Contents + +

                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + $apiError + +  : ApiError|int +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + $body + +  : array<string|int, mixed> +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + $data + +  : array<string|int, mixed>|null +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + $headers + +  : array<string|int, mixed> +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + $httpCode + +  : int +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + $message + +  : string +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + $status + +  : ApiStatus +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + $apiError + +  : ApiError +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  The api error
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + $body + +  : string +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  The response body
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + $headers + +  : string +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  The response headers
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + $httpCode + +  : int +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  The response http code
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + $message + +  : string +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  The interface message
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + $response + +  : ResponseInterface +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  PSR response
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + $status + +  : ApiStatus +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  The response status
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + __construct() + +  : mixed +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  Response
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + __get() + +  : mixed|null +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  Generic accessor
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + checkVersion() + +  : void +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  This checks if the crm version is way far beyond the client version.
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + tryDecodeJson() + +  : array<string|int, mixed>|false +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  Try to decode json and return false if it is +not a valid json
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + + + + + + +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + Properties + +

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + $apiError + + + +

                                                                                                                                                                                                                  + + + + + public + ApiError|int + $apiError + + +

                                                                                                                                                                                                                  The api error status it there is any

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + $body + + + +

                                                                                                                                                                                                                  + + + + + public + array<string|int, mixed> + $body + + +

                                                                                                                                                                                                                  The http response body, this is parsed json

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + $data + + + +

                                                                                                                                                                                                                  + + + + + public + array<string|int, mixed>|null + $data + + +

                                                                                                                                                                                                                  The reponse data

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + $headers + + + +

                                                                                                                                                                                                                  + + + + + public + array<string|int, mixed> + $headers + + +

                                                                                                                                                                                                                  The http reponse headers

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + $httpCode + + + +

                                                                                                                                                                                                                  + + + + + public + int + $httpCode + + +

                                                                                                                                                                                                                  The http response code

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + $message + + + +

                                                                                                                                                                                                                  + + + + + public + string + $message + + +

                                                                                                                                                                                                                  The api message

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + $status + + + +

                                                                                                                                                                                                                  + + + + + public + ApiStatus + $status + + +

                                                                                                                                                                                                                  The response api status

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + $apiError + + + +

                                                                                                                                                                                                                  + + +

                                                                                                                                                                                                                  The api error

                                                                                                                                                                                                                  + + + private + ApiError + $apiError + + + + + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + $body + + + +

                                                                                                                                                                                                                  + + +

                                                                                                                                                                                                                  The response body

                                                                                                                                                                                                                  + + + private + string + $body + + + + + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + $headers + + + +

                                                                                                                                                                                                                  + + +

                                                                                                                                                                                                                  The response headers

                                                                                                                                                                                                                  + + + private + string + $headers + + + + + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + $httpCode + + + +

                                                                                                                                                                                                                  + + +

                                                                                                                                                                                                                  The response http code

                                                                                                                                                                                                                  + + + private + int + $httpCode + = 0 + + + + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + $message + + + +

                                                                                                                                                                                                                  + + +

                                                                                                                                                                                                                  The interface message

                                                                                                                                                                                                                  + + + private + string + $message + + + + + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + $response + + + +

                                                                                                                                                                                                                  + + +

                                                                                                                                                                                                                  PSR response

                                                                                                                                                                                                                  + + + private + ResponseInterface + $response + + + + + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + $status + + + +

                                                                                                                                                                                                                  + + +

                                                                                                                                                                                                                  The response status

                                                                                                                                                                                                                  + + + private + ApiStatus + $status + + + + + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + Methods + +

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + __construct() + +

                                                                                                                                                                                                                  + + +

                                                                                                                                                                                                                  Response

                                                                                                                                                                                                                  + + + public + __construct(ApiStatus $status, ResponseInterface $response) : mixed + + +
                                                                                                                                                                                                                  Parameters
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + $status + : ApiStatus +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + $response + : ResponseInterface +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                  + Tags + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + throws +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + CrmException + +

                                                                                                                                                                                                                  If HTTP response body in not JSON.

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  Return values
                                                                                                                                                                                                                  + mixed + — + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + __get() + +

                                                                                                                                                                                                                  + + +

                                                                                                                                                                                                                  Generic accessor

                                                                                                                                                                                                                  + + + public + __get(string $field) : mixed|null + + +
                                                                                                                                                                                                                  Parameters
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + $field + : string +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                                  Return values
                                                                                                                                                                                                                  + mixed|null + — + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + checkVersion() + +

                                                                                                                                                                                                                  + + +

                                                                                                                                                                                                                  This checks if the crm version is way far beyond the client version.

                                                                                                                                                                                                                  + + + private + checkVersion(string $version) : void + +

                                                                                                                                                                                                                  If a minor version mismatch is detected we will log this as a warning. +If a major version mismatch is detected we will throw a CrmException as +there shall be an incompatibility with the response.

                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  The goal here is to force clients to be up to date. +A major version change means breaking change.

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  Parameters
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + $version + : string +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                  + Tags + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + throws +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + CrmException + +

                                                                                                                                                                                                                  If a major version mismatch is detected.

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  Return values
                                                                                                                                                                                                                  + void + — + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + tryDecodeJson() + +

                                                                                                                                                                                                                  + + +

                                                                                                                                                                                                                  Try to decode json and return false if it is +not a valid json

                                                                                                                                                                                                                  + + + private + tryDecodeJson(string $string) : array<string|int, mixed>|false + + +
                                                                                                                                                                                                                  Parameters
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + $string + : string +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                                  Return values
                                                                                                                                                                                                                  + array<string|int, mixed>|false + — +

                                                                                                                                                                                                                  Returns an associative data array or false if failed to parse.

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + + + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  Search results

                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                    + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Utils.html b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Utils.html new file mode 100644 index 0000000..c710c60 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Utils.html @@ -0,0 +1,1983 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    CRM V2

                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + Utils + + +
                                                                                                                                                                                                                    + in package + +
                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    + + + +

                                                                                                                                                                                                                    This is the LDCCRM utility class

                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    + Tags + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + category +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +

                                                                                                                                                                                                                    Utility

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + uses +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + HttpMethods + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + uses +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + Request + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + subpackage +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +

                                                                                                                                                                                                                    utilities

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + + + + +

                                                                                                                                                                                                                    + Table of Contents + +

                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $packageInfos + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Package infos
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + $translations + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Loaded translations
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + getConfig() + +  : string|null +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    This is only used for unit tests.
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + getPackageInfo() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Get composer.json infos
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + getRawProperty() + +  : mixed|null +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Get a property of an object.
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + getResquest() + +  : Request +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Generate a Request from the route name
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + log() + +  : void +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Write log using syslog +It also write log using \Illuminate\Support\Facades\Log +if it is present
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + makeValidator() + +  : closure +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Create a new Validator instance.
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + setRawProperty() + +  : void +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Set a property without any validation.
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + translate() + +  : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Translation a string using php file lang
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + makeValidatorFromRule() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Generate a validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + validationArray() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Make Array validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + validationBool() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Make Bool validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + validationClosure() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Make Closure validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + validationContainDigit() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Make ContainDigit validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + validationContainSymbol() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Make ContainSymbol validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + validationDate() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Make Date validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + validationDateFormat() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Make DateFormat validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + validationEmail() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Make Email validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + validationInt() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Make Int validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + validationMax() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Make Max validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + validationMin() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Make Min validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + validationMixedCase() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Make MixedCase validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + validationNullable() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Make Nullable validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + validationRequired() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Make Required validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + validationSometimes() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Make Sometimes validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + validationString() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Make String validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + validationUuid() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Make Uuid validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + + + + + + +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + Properties + +

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + $packageInfos + + + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Package infos

                                                                                                                                                                                                                    + + + private + static array<string|int, mixed> + $packageInfos + + + + + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + $translations + + + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Loaded translations

                                                                                                                                                                                                                    + + + private + static array<string|int, mixed> + $translations + = [] + + + + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + Methods + +

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + getConfig() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    This is only used for unit tests.

                                                                                                                                                                                                                    + + + public + static getConfig(string $key[, string $default = null ]) : string|null + +

                                                                                                                                                                                                                    Get config

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $key + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $default + : string + = null
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + string|null + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + getPackageInfo() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Get composer.json infos

                                                                                                                                                                                                                    + + + public + static getPackageInfo() : array<string|int, mixed> + + + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + getRawProperty() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Get a property of an object.

                                                                                                                                                                                                                    + + + public + static getRawProperty(object $object, string $property) : mixed|null + +

                                                                                                                                                                                                                    ! Warning : this will return any property of the object, use with caution.

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $object + : object +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    The object to inspect.

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $property + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    The object property to inspect.

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + mixed|null + — +

                                                                                                                                                                                                                    Returns null if the property was not found any way.

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + getResquest() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Generate a Request from the route name

                                                                                                                                                                                                                    + + + public + static getResquest(string $routeName[, array<string|int, mixed> $query = [] ][, array<string|int, mixed> $data = [] ]) : Request + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $routeName + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $query + : array<string|int, mixed> + = []
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    Params to pass on to the route.

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $data + : array<string|int, mixed> + = []
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    Http body params.

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                    + Tags + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + throws +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + ErrorException + +

                                                                                                                                                                                                                    If the requested route is unknown.

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + throws +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + ErrorException + +

                                                                                                                                                                                                                    If a required parameter is missing.

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + Request + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + log() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Write log using syslog +It also write log using \Illuminate\Support\Facades\Log +if it is present

                                                                                                                                                                                                                    + + + public + static log(string $message, LogLevel $level) : void + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $message + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    The message is prefixed with "LDC CRM:" .

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $level + : LogLevel +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    The log level to apply.

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + void + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + makeValidator() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Create a new Validator instance.

                                                                                                                                                                                                                    + + + public + static makeValidator(array<string|int, mixed> $data, array<string|int, mixed> $rules) : closure + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $data + : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $rules + : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                    + Tags + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + throws +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + ErrorException + +

                                                                                                                                                                                                                    If an unknown validation rule is used.

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + closure + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + setRawProperty() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Set a property without any validation.

                                                                                                                                                                                                                    + + + public + static setRawProperty(object $object, string $property, mixed $value) : void + +

                                                                                                                                                                                                                    ! Warning : this can change any property of the object, use with caution.

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $object + : object +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    The object to inspect.

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $property + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    The object property to assign to.

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $value + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    The value to insert.

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                    + Tags + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + throws +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + AccessError + +

                                                                                                                                                                                                                    If trying to set a value on a unknown property.

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + void + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + translate() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Translation a string using php file lang

                                                                                                                                                                                                                    + + + public + static translate(string $key[, string $lang = 'fr' ]) : string + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $key + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $lang + : string + = 'fr'
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + string + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + makeValidatorFromRule() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Generate a validator

                                                                                                                                                                                                                    + + + private + static makeValidatorFromRule(mixed $rule, array<string|int, mixed> $data, string $attribute) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $rule + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $data + : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                    + Tags + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + throws +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + ErrorException + +

                                                                                                                                                                                                                    If a rule is unknown.

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + validationArray() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Make Array validator

                                                                                                                                                                                                                    + + + private + static validationArray(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $value + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + validationBool() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Make Bool validator

                                                                                                                                                                                                                    + + + private + static validationBool(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $value + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + validationClosure() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Make Closure validator

                                                                                                                                                                                                                    + + + private + static validationClosure(string $attribute, mixed $value, Closure $closure) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $value + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $closure + : Closure +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + validationContainDigit() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Make ContainDigit validator

                                                                                                                                                                                                                    + + + private + static validationContainDigit(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $value + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + validationContainSymbol() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Make ContainSymbol validator

                                                                                                                                                                                                                    + + + private + static validationContainSymbol(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $value + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + validationDate() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Make Date validator

                                                                                                                                                                                                                    + + + private + static validationDate(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $value + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + validationDateFormat() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Make DateFormat validator

                                                                                                                                                                                                                    + + + private + static validationDateFormat(string $attribute, mixed $value, array<string|int, mixed> $params) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $value + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $params + : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + validationEmail() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Make Email validator

                                                                                                                                                                                                                    + + + private + static validationEmail(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $value + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + validationInt() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Make Int validator

                                                                                                                                                                                                                    + + + private + static validationInt(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $value + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + validationMax() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Make Max validator

                                                                                                                                                                                                                    + + + private + static validationMax(string $attribute, mixed $value, array<string|int, mixed> $params) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $value + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $params + : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + validationMin() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Make Min validator

                                                                                                                                                                                                                    + + + private + static validationMin(string $attribute, mixed $value, array<string|int, mixed> $params) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $value + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $params + : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + validationMixedCase() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Make MixedCase validator

                                                                                                                                                                                                                    + + + private + static validationMixedCase(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $value + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + validationNullable() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Make Nullable validator

                                                                                                                                                                                                                    + + + private + static validationNullable(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $value + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + validationRequired() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Make Required validator

                                                                                                                                                                                                                    + + + private + static validationRequired(string $attribute, array<string|int, mixed> $data) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $data + : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + validationSometimes() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Make Sometimes validator

                                                                                                                                                                                                                    + + + private + static validationSometimes(string $attribute, mixed $data) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $data + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + validationString() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Make String validator

                                                                                                                                                                                                                    + + + private + static validationString(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $value + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + validationUuid() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Make Uuid validator

                                                                                                                                                                                                                    + + + private + static validationUuid(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $value + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    Search results

                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-WordPress-WPCrm.html b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-WordPress-WPCrm.html new file mode 100644 index 0000000..e404518 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-WordPress-WPCrm.html @@ -0,0 +1,2033 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      CRM V2

                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + WPCrm + + +
                                                                                                                                                                                                                      + in package + +
                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      + + + +

                                                                                                                                                                                                                      Class de gestion des users en session avec Wordpress

                                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + category +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                      API

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + subpackage +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                      Wordpress

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + author +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                      Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + license +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                      MIT https://opensource.org/licenses/MIT

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + link +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + / + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + + + + + +

                                                                                                                                                                                                                      + Table of Contents + +

                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + $api + +  : CrmApiV2 +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      The user object
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + $user + +  : WPCrmUser +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      The user object
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + $sessionDestroyed + +  : bool +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      The session live status
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + $sessionKey + +  : string +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      The session key name
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + activateUser() + +  : bool +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Toggle the current user optin value +on the current user and the crm
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + check() + +  : bool +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Check if the user is logged in.
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + deleteUser() + +  : bool +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Delete current customer from +the local database and the crm
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + forceLogin() + +  : WPCrmUser|null +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Manually login a user +If self::$user is already set.
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + getNewUser() + +  : WPCrmUser +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Generate a new user
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + getUser() + +  : WPCrmUser|null +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Get the current user +return null if the user is not logged in
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + getUserFromApi() + +  : WPCrmUser|false +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Get the current user +return api response code if an error occurs
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + getUserFromTable() + +  : array<string|int, mixed>|null +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Get a customer from table
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + getUserFromTableByEmail() + +  : array<string|int, mixed>|null +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Get a customer from table by an email
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + getUserFromTableByUuid() + +  : array<string|int, mixed>|null +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Get a customer from table by an email
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + login() + +  : bool +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Try to login with CRM API +A session will be started if credentials are valid.
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + logout() + +  : void +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Destroy the customer from session +and therefore logout
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + saveUser() + +  : bool +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Save current customer to +the local database and on crm
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + setSingleOptin() + +  : bool +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Set the single optin status for an email +on the crm
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + toggleUserOptin() + +  : bool +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Toggle the current user optin value +on the current user and the crm
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + unsetActiveUser() + +  : void +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Remove active user +to prevent WPCrm::check to return true
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + bootSessionIfNeeded() + +  : void +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Boot the php session if needed
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + deleteUserFromTable() + +  : int +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Save or update the user to the table
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + getCustomer() + +  : Customer|null +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Get all customer infos
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + getWpDb() + +  : object +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Get WP 'pdo instance'
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + initLdcApi() + +  : CrmApiV2 +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Get the initialized API object
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + loginUserWithApi() + +  : bool +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Check customer credentials using the CRM.
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + makeApiV2Call() + +  : mixed|false +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Make a call using apiV2
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + query() + +  : int|bool +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Query in DB
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + saveOrUpdateUserToTable() + +  : int +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Save or update the user to the table
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + setUser() + +  : void +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Create a user +stores it to the session +and finally saves it to the database if it does not exists
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + + + + + + +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + Properties + +

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + $api + + + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      The user object

                                                                                                                                                                                                                      + + + protected + static CrmApiV2 + $api + = null + + + + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + $user + + + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      The user object

                                                                                                                                                                                                                      + + + protected + static WPCrmUser + $user + = null + + + + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + $sessionDestroyed + + + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      The session live status

                                                                                                                                                                                                                      + + + private + static bool + $sessionDestroyed + = false + + + + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + $sessionKey + + + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      The session key name

                                                                                                                                                                                                                      + + + private + static string + $sessionKey + = null + + + + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + Methods + +

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + activateUser() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Toggle the current user optin value +on the current user and the crm

                                                                                                                                                                                                                      + + + public + static activateUser() : bool + + + + +
                                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + ValidationException + +

                                                                                                                                                                                                                      If a customer's hashcode could not be validated.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + CrmException + +

                                                                                                                                                                                                                      If an error occurs on server side or on getting response.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + ApiErrorException + +

                                                                                                                                                                                                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found. +- customerAlreadyActive, It the customer is already activated.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + bool + — +

                                                                                                                                                                                                                      True if the operation succeeded.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + check() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Check if the user is logged in.

                                                                                                                                                                                                                      + + + public + static check() : bool + +

                                                                                                                                                                                                                      This means he has an active valid session.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + bool + — + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + deleteUser() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Delete current customer from +the local database and the crm

                                                                                                                                                                                                                      + + + public + static deleteUser() : bool + + + + +
                                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + CrmException + +

                                                                                                                                                                                                                      If a critical error occured.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + ApiErrorException + +

                                                                                                                                                                                                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + phpcs:ignore +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                      Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + bool + — +

                                                                                                                                                                                                                      true if the operation succeeded

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + forceLogin() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Manually login a user +If self::$user is already set.

                                                                                                                                                                                                                      + + + public + static forceLogin() : WPCrmUser|null + + + + + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + WPCrmUser|null + — + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + getNewUser() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Generate a new user

                                                                                                                                                                                                                      + + + public + static getNewUser() : WPCrmUser + + + + + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + WPCrmUser + — + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + getUser() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Get the current user +return null if the user is not logged in

                                                                                                                                                                                                                      + + + public + static getUser() : WPCrmUser|null + + + + + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + WPCrmUser|null + — + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + getUserFromApi() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Get the current user +return api response code if an error occurs

                                                                                                                                                                                                                      + + + public + static getUserFromApi(string $identification) : WPCrmUser|false + + +
                                                                                                                                                                                                                      Parameters
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + $identification + : string +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      The customer hashcode or email.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + CrmException + +

                                                                                                                                                                                                                      If an error occurs on server side or on getting response.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + ApiErrorException + +

                                                                                                                                                                                                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + phpcs:ignore +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                      Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + WPCrmUser|false + — + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + getUserFromTable() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Get a customer from table

                                                                                                                                                                                                                      + + + public + static getUserFromTable(string $hashcode) : array<string|int, mixed>|null + + +
                                                                                                                                                                                                                      Parameters
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + $hashcode + : string +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      The customer hashcode.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + array<string|int, mixed>|null + — +

                                                                                                                                                                                                                      Database query result in format specified by $output or null on failure.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + getUserFromTableByEmail() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Get a customer from table by an email

                                                                                                                                                                                                                      + + + public + static getUserFromTableByEmail(string $email) : array<string|int, mixed>|null + + +
                                                                                                                                                                                                                      Parameters
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + $email + : string +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      The customer email.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + array<string|int, mixed>|null + — +

                                                                                                                                                                                                                      Database query result in format specified by $output or null on failure.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + getUserFromTableByUuid() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Get a customer from table by an email

                                                                                                                                                                                                                      + + + public + static getUserFromTableByUuid(string $uuid) : array<string|int, mixed>|null + + +
                                                                                                                                                                                                                      Parameters
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + $uuid + : string +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      The customer transaction uuid.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + array<string|int, mixed>|null + — +

                                                                                                                                                                                                                      Database query result in format specified by $output or null on failure.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + login() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Try to login with CRM API +A session will be started if credentials are valid.

                                                                                                                                                                                                                      + + + public + static login(string $email, string $password) : bool + + +
                                                                                                                                                                                                                      Parameters
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + $email + : string +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      The customer email.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + $password + : string +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      The customer password.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + CrmException + +

                                                                                                                                                                                                                      If an error occurs on server side or on getting response.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + ApiErrorException + +

                                                                                                                                                                                                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - authFailed, If credentials are not valid. +- customerNotActivated, If the account is not activated.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + bool + — + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + logout() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Destroy the customer from session +and therefore logout

                                                                                                                                                                                                                      + + + public + static logout() : void + + + + + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + void + — + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + saveUser() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Save current customer to +the local database and on crm

                                                                                                                                                                                                                      + + + public + static saveUser() : bool + + + + +
                                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + CrmException + +

                                                                                                                                                                                                                      If a critical error occured.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + ApiErrorException + +

                                                                                                                                                                                                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side). +- modelNotFound, If this customer hashcode could not be found.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + phpcs:ignore +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                      Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + bool + — +

                                                                                                                                                                                                                      true if the operation succeeded false otherwise

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + setSingleOptin() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Set the single optin status for an email +on the crm

                                                                                                                                                                                                                      + + + public + static setSingleOptin(string $email, bool $opt_in) : bool + + +
                                                                                                                                                                                                                      Parameters
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + $email + : string +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + $opt_in + : bool +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + ValidationException + +

                                                                                                                                                                                                                      If a field email could not be validated.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + CrmException + +

                                                                                                                                                                                                                      If an error occurs on server side or on getting response.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + ApiErrorException + +

                                                                                                                                                                                                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - singleOptinCustomerExists, If a customer exists with this email.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + bool + — +

                                                                                                                                                                                                                      true if the operation succeeded false otherwise

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + toggleUserOptin() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Toggle the current user optin value +on the current user and the crm

                                                                                                                                                                                                                      + + + public + static toggleUserOptin() : bool + + + + +
                                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + CrmException + +

                                                                                                                                                                                                                      If a critical error occured.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + ApiErrorException + +

                                                                                                                                                                                                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + phpcs:ignore +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                      Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + bool + — +

                                                                                                                                                                                                                      true if the operation succeeded

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + unsetActiveUser() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Remove active user +to prevent WPCrm::check to return true

                                                                                                                                                                                                                      + + + public + static unsetActiveUser() : void + + + + + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + void + — + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + bootSessionIfNeeded() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Boot the php session if needed

                                                                                                                                                                                                                      + + + private + static bootSessionIfNeeded() : void + + + + + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + void + — + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + deleteUserFromTable() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Save or update the user to the table

                                                                                                                                                                                                                      + + + private + static deleteUserFromTable() : int + + + + + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + int + — +

                                                                                                                                                                                                                      The number of row removed from the table.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + getCustomer() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Get all customer infos

                                                                                                                                                                                                                      + + + private + static getCustomer() : Customer|null + + + + + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + Customer|null + — + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + getWpDb() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Get WP 'pdo instance'

                                                                                                                                                                                                                      + + + private + static getWpDb() : object + + + + + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + object + — +

                                                                                                                                                                                                                      The $wpdb variable

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + initLdcApi() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Get the initialized API object

                                                                                                                                                                                                                      + + + private + static initLdcApi() : CrmApiV2 + + + + +
                                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + ErrorException + +

                                                                                                                                                                                                                      If php does not have extension curl.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + CrmApiV2 + — + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + loginUserWithApi() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Check customer credentials using the CRM.

                                                                                                                                                                                                                      + + + private + static loginUserWithApi(string $email, string $password) : bool + + +
                                                                                                                                                                                                                      Parameters
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + $email + : string +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      The customer email.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + $password + : string +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      The customer password.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + CrmException + +

                                                                                                                                                                                                                      If an error occurs on server side or on getting response.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + ApiErrorException + +

                                                                                                                                                                                                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - authFailed, If credentials are not valid. +- customerNotActivated, If the account is not activated.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + bool + — + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + makeApiV2Call() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Make a call using apiV2

                                                                                                                                                                                                                      + + + private + static makeApiV2Call(object|string $obj, string $method[, array<string|int, mixed> $arguments = [] ]) : mixed|false + + +
                                                                                                                                                                                                                      Parameters
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + $obj + : object|string +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      An object or a class name.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + $method + : string +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      The method to call.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + $arguments + : array<string|int, mixed> + = []
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      Arguments to pass.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + ApiErrorException + +

                                                                                                                                                                                                                      If any of this exception is thrown.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + CrmException + +

                                                                                                                                                                                                                      If a critical error occured.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + mixed|false + — + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + query() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Query in DB

                                                                                                                                                                                                                      + + + private + static query(string $query[, array<string|int, mixed> $params = [] ]) : int|bool + + +
                                                                                                                                                                                                                      Parameters
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + $query + : string +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      La request avec les variables en points d'interrogation.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + $params + : array<string|int, mixed> + = []
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      Les paramètres des la requète.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + int|bool + — +

                                                                                                                                                                                                                      Boolean true for CREATE, ALTER, TRUNCATE and DROP queries. +Number of rows affected/selected for all other queries. Boolean false on error.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + saveOrUpdateUserToTable() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Save or update the user to the table

                                                                                                                                                                                                                      + + + private + static saveOrUpdateUserToTable() : int + + + + + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + int + — +

                                                                                                                                                                                                                      The number of row affected on the table.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + setUser() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Create a user +stores it to the session +and finally saves it to the database if it does not exists

                                                                                                                                                                                                                      + + + private + static setUser(Customer $customer) : void + + +
                                                                                                                                                                                                                      Parameters
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + $customer + : Customer +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + void + — + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      Search results

                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                        + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-WordPress-WPCrmAnswer.html b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-WordPress-WPCrmAnswer.html new file mode 100644 index 0000000..5018054 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-WordPress-WPCrmAnswer.html @@ -0,0 +1,415 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                        +

                                                                                                                                                                                                                        CRM V2

                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                        +

                                                                                                                                                                                                                        + WPCrmAnswer + + +
                                                                                                                                                                                                                        + in package + +
                                                                                                                                                                                                                        + + +

                                                                                                                                                                                                                        + + + +

                                                                                                                                                                                                                        Class de gestion de la segmentation question avec Wordpress

                                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + category +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                        API

                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + subpackage +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                        Wordpress

                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + author +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                        Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + license +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                        MIT https://opensource.org/licenses/MIT

                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + link +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + / + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + + + + + + +

                                                                                                                                                                                                                        + Table of Contents + +

                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + setQuestionAnswers() + +  : bool +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        Set answers to a question for a specific user
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        + + + + + + + +
                                                                                                                                                                                                                        +

                                                                                                                                                                                                                        + Methods + +

                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +

                                                                                                                                                                                                                        + setQuestionAnswers() + +

                                                                                                                                                                                                                        + + +

                                                                                                                                                                                                                        Set answers to a question for a specific user

                                                                                                                                                                                                                        + + + public + setQuestionAnswers(WPCrmUser $user, int $questionId, array<string|int, mixed> $answersId) : bool + + +
                                                                                                                                                                                                                        Parameters
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + $user + : WPCrmUser +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + $questionId + : int +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +

                                                                                                                                                                                                                        The question id .

                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + $answersId + : array<string|int, mixed> +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +

                                                                                                                                                                                                                        An array with answers id .

                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + CrmException + +

                                                                                                                                                                                                                        If an error occurs on server side or on getting response.

                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + ValidationException + +

                                                                                                                                                                                                                        If $user hashcode is not a valid UUID.

                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + ValidationException + +

                                                                                                                                                                                                                        If any of the provided ids are invalid.

                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + ApiErrorException + +

                                                                                                                                                                                                                        If any error \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If given ids are wrong(CRM side).

                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + phpcs:ignore +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                        Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        Return values
                                                                                                                                                                                                                        + bool + — +

                                                                                                                                                                                                                        true if succeeded

                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +

                                                                                                                                                                                                                        Search results

                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                          + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html new file mode 100644 index 0000000..a2f6704 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html @@ -0,0 +1,570 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                          +

                                                                                                                                                                                                                          CRM V2

                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                          +

                                                                                                                                                                                                                          + WPCrmQuestion + + +
                                                                                                                                                                                                                          + in package + +
                                                                                                                                                                                                                          + + +

                                                                                                                                                                                                                          + + + +

                                                                                                                                                                                                                          Class de gestion de la segmentation question avec Wordpress

                                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + category +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                          API

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + subpackage +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                          Wordpress

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + author +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                          Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + license +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                          MIT https://opensource.org/licenses/MIT

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + link +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + / + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + + + + + + +

                                                                                                                                                                                                                          + Table of Contents + +

                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + allWithCustomerAnswers() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          Get all the questions with user answers
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          + getAll() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          Get all questions only
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          + unansweredBy() + +  : array<string|int, Question> +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          Get unanswered question for a specific customer
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          + + + + + + + +
                                                                                                                                                                                                                          +

                                                                                                                                                                                                                          + Methods + +

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +

                                                                                                                                                                                                                          + allWithCustomerAnswers() + +

                                                                                                                                                                                                                          + + +

                                                                                                                                                                                                                          Get all the questions with user answers

                                                                                                                                                                                                                          + + + public + static allWithCustomerAnswers(WPCrmUser $user) : array<string|int, mixed> + + +
                                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + $user + : WPCrmUser +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + CrmException + +

                                                                                                                                                                                                                          If an error occurs on server side or on getting response.

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + ValidationException + +

                                                                                                                                                                                                                          If a hashcode is not a valid UUID.

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + ValidationException + +

                                                                                                                                                                                                                          If any of the provided ids are invalid.

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + ApiErrorException + +

                                                                                                                                                                                                                          If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If the customer could not be found(CRM side).

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + phpcs:ignore +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                          Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          Return values
                                                                                                                                                                                                                          + array<string|int, mixed> + — +

                                                                                                                                                                                                                          Of \LDC\LDCCRM\Models\Question and their \LDC\LDCCRM\Models\Answer.

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +

                                                                                                                                                                                                                          + getAll() + +

                                                                                                                                                                                                                          + + +

                                                                                                                                                                                                                          Get all questions only

                                                                                                                                                                                                                          + + + public + static getAll() : array<string|int, mixed> + + + + +
                                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + CrmException + +

                                                                                                                                                                                                                          If an error occurs on server side or on getting response.

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + ApiErrorException + +

                                                                                                                                                                                                                          If any error or \LDC\LDCCRM\Enums\ApiError occurs.

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + phpcs:ignore +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                          Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          Return values
                                                                                                                                                                                                                          + array<string|int, mixed> + — +

                                                                                                                                                                                                                          Of \LDC\LDCCRM\Models\Question

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +

                                                                                                                                                                                                                          + unansweredBy() + +

                                                                                                                                                                                                                          + + +

                                                                                                                                                                                                                          Get unanswered question for a specific customer

                                                                                                                                                                                                                          + + + public + static unansweredBy(WPCrmUser $user) : array<string|int, Question> + + +
                                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + $user + : WPCrmUser +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + CrmException + +

                                                                                                                                                                                                                          If an error occurs on server side or on getting response.

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + ValidationException + +

                                                                                                                                                                                                                          If $user hashcode is not a valid UUID.

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + ApiErrorException + +

                                                                                                                                                                                                                          If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If the customer could not be found(CRM side).

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + phpcs:ignore +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                          Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          Return values
                                                                                                                                                                                                                          + array<string|int, Question> + — + + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +

                                                                                                                                                                                                                          Search results

                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                            + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-WordPress-WPCrmUser.html b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-WordPress-WPCrmUser.html new file mode 100644 index 0000000..64cb4fb --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-WordPress-WPCrmUser.html @@ -0,0 +1,1779 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            CRM V2

                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + + + + +
                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + WPCrmUser + + +
                                                                                                                                                                                                                            + in package + +
                                                                                                                                                                                                                            + + + implements + JsonSerializable + +

                                                                                                                                                                                                                            + + + +

                                                                                                                                                                                                                            Class de gestion des users en session avec Wordpress

                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            + Tags + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + category +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                            API

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + subpackage +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                            Wordpress

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + author +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                            Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + license +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                            MIT https://opensource.org/licenses/MIT

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + link +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + / + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + + + + +

                                                                                                                                                                                                                            + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            JsonSerializable
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                            + + +

                                                                                                                                                                                                                            + Table of Contents + +

                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + $address + +  : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $address2 + +  : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $birth_date + +  : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $city + +  : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $country + +  : Country +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $email + +  : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $firstname + +  : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $hashcode + +  : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $last_connection + +  : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $lastname + +  : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $opt_in + +  : bool +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $password + +  : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $phone + +  : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $postcode + +  : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $status + +  : bool +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $uuidToken + +  : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $info + +  : Customer +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            The CRM customer info (the api response)
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $pemail + +  : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            The CRM customer email
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $phashcode + +  : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            The CRM hashcode (UUID)
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $uuidToken + +  : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            The CRM customer temp uuidToken to validate transactions
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + __construct() + +  : mixed +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            WPCrmUser construct
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + __get() + +  : bool|string|Country|null +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            Generic accessor
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + __set() + +  : void +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            Generic mutator
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + activate() + +  : bool +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            Activate the account in the crm
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + delete() + +  : bool +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            Delete current customer to +the local database and on crm
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + jsonSerialize() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            Serialize this object to an array
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + parseFromJson() + +  : WPCrmUser +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            Generate a user from session data
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + save() + +  : bool +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            Save current customer to +the local database and on crm
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + setInfo() + +  : void +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            Set the customer info +with api response
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + toggleOptin() + +  : bool +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            Toggle the current user optin value +on the current user and the crm
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + + + + + + +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + Properties + +

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $address + + + +

                                                                                                                                                                                                                            + + + + + public + string + $address + + +

                                                                                                                                                                                                                            The account address (street number, name, build, flat number)

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $address2 + + + +

                                                                                                                                                                                                                            + + + + + public + string + $address2 + + +

                                                                                                                                                                                                                            — The account phone (address complement)

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $birth_date + + + +

                                                                                                                                                                                                                            + + + + + public + string + $birth_date + + +

                                                                                                                                                                                                                            — The account birth date 'yyyy-mm-dd'

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $city + + + +

                                                                                                                                                                                                                            + + + + + public + string + $city + + +

                                                                                                                                                                                                                            — The account city name

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $country + + + +

                                                                                                                                                                                                                            + + + + + public + Country + $country + + +

                                                                                                                                                                                                                            — The account country residence

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $email + + + +

                                                                                                                                                                                                                            + + + + + public + string + $email + + +

                                                                                                                                                                                                                            — Must be a rfc valid email on a valid domain name

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $firstname + + + +

                                                                                                                                                                                                                            + + + + + public + string + $firstname + + +

                                                                                                                                                                                                                            — The account first name

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $hashcode + + + +

                                                                                                                                                                                                                            + + + + + public + string + $hashcode + + +

                                                                                                                                                                                                                            — The crm hashcode this is a readonly field

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $last_connection + + + +

                                                                                                                                                                                                                            + + + + + public + string + $last_connection + + +

                                                                                                                                                                                                                            the last time user was connected 'yyyy-mm-dd HH:ii:ss'

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $lastname + + + +

                                                                                                                                                                                                                            + + + + + public + string + $lastname + + +

                                                                                                                                                                                                                            — The account last name

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $opt_in + + + +

                                                                                                                                                                                                                            + + + + + public + bool + $opt_in + + +

                                                                                                                                                                                                                            — true if the account is opt in

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $password + + + +

                                                                                                                                                                                                                            + + + + + public + string + $password + + +

                                                                                                                                                                                                                            Required only on create, +must have upper and lowers chars, +at least 1 number, +at leat 1 upper char, +at least 1 lower char and +at leat 1 special char

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $phone + + + +

                                                                                                                                                                                                                            + + + + + public + string + $phone + + +

                                                                                                                                                                                                                            — The account phone

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $postcode + + + +

                                                                                                                                                                                                                            + + + + + public + string + $postcode + + +

                                                                                                                                                                                                                            — The account city postcode

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $status + + + +

                                                                                                                                                                                                                            + + + + + public + bool + $status + + +

                                                                                                                                                                                                                            — true if the account is activated

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $uuidToken + + + +

                                                                                                                                                                                                                            + + + + + public + string + $uuidToken + + +

                                                                                                                                                                                                                            — A local transaction token for this user

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $info + + + +

                                                                                                                                                                                                                            + + +

                                                                                                                                                                                                                            The CRM customer info (the api response)

                                                                                                                                                                                                                            + + + protected + Customer + $info + = null + + + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $pemail + + + +

                                                                                                                                                                                                                            + + +

                                                                                                                                                                                                                            The CRM customer email

                                                                                                                                                                                                                            + + + protected + string + $pemail + = null + + + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $phashcode + + + +

                                                                                                                                                                                                                            + + +

                                                                                                                                                                                                                            The CRM hashcode (UUID)

                                                                                                                                                                                                                            + + + protected + string + $phashcode + = null + + + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $uuidToken + + + +

                                                                                                                                                                                                                            + + +

                                                                                                                                                                                                                            The CRM customer temp uuidToken to validate transactions

                                                                                                                                                                                                                            + + + protected + string + $uuidToken + = null + + +

                                                                                                                                                                                                                            UUID

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + Methods + +

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + __construct() + +

                                                                                                                                                                                                                            + + +

                                                                                                                                                                                                                            WPCrmUser construct

                                                                                                                                                                                                                            + + + public + __construct([string $hashcode = null ][, string $email = null ]) : mixed + + +
                                                                                                                                                                                                                            Parameters
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + $hashcode + : string + = null
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            The customer hashcode (UUID).

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + $email + : string + = null
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            The customer email.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            Return values
                                                                                                                                                                                                                            + mixed + — + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + __get() + +

                                                                                                                                                                                                                            + + +

                                                                                                                                                                                                                            Generic accessor

                                                                                                                                                                                                                            + + + public + __get(string $prop) : bool|string|Country|null + + +
                                                                                                                                                                                                                            Parameters
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + $prop + : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            The prop to get.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            Return values
                                                                                                                                                                                                                            + bool|string|Country|null + — + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + __set() + +

                                                                                                                                                                                                                            + + +

                                                                                                                                                                                                                            Generic mutator

                                                                                                                                                                                                                            + + + public + __set(string $prop, mixed $value) : void + + +
                                                                                                                                                                                                                            Parameters
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + $prop + : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            The property to assign.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + $value + : mixed +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            The value to set.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            Return values
                                                                                                                                                                                                                            + void + — + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + activate() + +

                                                                                                                                                                                                                            + + +

                                                                                                                                                                                                                            Activate the account in the crm

                                                                                                                                                                                                                            + + + public + activate() : bool + + + + +
                                                                                                                                                                                                                            + Tags + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + throws +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + ValidationException + +

                                                                                                                                                                                                                            If a customer's hashcode could not be validated.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + throws +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + CrmException + +

                                                                                                                                                                                                                            If an error occurs on server side or on getting response.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + throws +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + ApiErrorException + +

                                                                                                                                                                                                                            If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found. +- customerAlreadyActive, It the customer is already activated.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            Return values
                                                                                                                                                                                                                            + bool + — +

                                                                                                                                                                                                                            true if succeeded

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + delete() + +

                                                                                                                                                                                                                            + + +

                                                                                                                                                                                                                            Delete current customer to +the local database and on crm

                                                                                                                                                                                                                            + + + public + delete() : bool + + + + +
                                                                                                                                                                                                                            + Tags + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + throws +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + CrmException + +

                                                                                                                                                                                                                            If a critical error occured.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + throws +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + ApiErrorException + +

                                                                                                                                                                                                                            If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            Return values
                                                                                                                                                                                                                            + bool + — +

                                                                                                                                                                                                                            true if the operation succeeded false otherwise

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + jsonSerialize() + +

                                                                                                                                                                                                                            + + +

                                                                                                                                                                                                                            Serialize this object to an array

                                                                                                                                                                                                                            + + + public + jsonSerialize() : array<string|int, mixed> + + + + + +
                                                                                                                                                                                                                            Return values
                                                                                                                                                                                                                            + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + parseFromJson() + +

                                                                                                                                                                                                                            + + +

                                                                                                                                                                                                                            Generate a user from session data

                                                                                                                                                                                                                            + + + public + static parseFromJson(string $string) : WPCrmUser + + +
                                                                                                                                                                                                                            Parameters
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + $string + : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            The json data stored in session.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                            + Tags + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + throws +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + WpCrmInvalidJsonUserInfo + +

                                                                                                                                                                                                                            If the json string does no +contain the needed information.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            Return values
                                                                                                                                                                                                                            + WPCrmUser + — + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + save() + +

                                                                                                                                                                                                                            + + +

                                                                                                                                                                                                                            Save current customer to +the local database and on crm

                                                                                                                                                                                                                            + + + public + save() : bool + + + + +
                                                                                                                                                                                                                            + Tags + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + throws +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + CrmException + +

                                                                                                                                                                                                                            If a critical error occured.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + throws +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + ApiErrorException + +

                                                                                                                                                                                                                            If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side). +- modelNotFound, If this customer hashcode could not be found.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            Return values
                                                                                                                                                                                                                            + bool + — +

                                                                                                                                                                                                                            true if the operation succeeded false otherwise

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + setInfo() + +

                                                                                                                                                                                                                            + + +

                                                                                                                                                                                                                            Set the customer info +with api response

                                                                                                                                                                                                                            + + + public + setInfo(Customer $customer) : void + + +
                                                                                                                                                                                                                            Parameters
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + $customer + : Customer +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            The Api object reponse (user).

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            Return values
                                                                                                                                                                                                                            + void + — + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + toggleOptin() + +

                                                                                                                                                                                                                            + + +

                                                                                                                                                                                                                            Toggle the current user optin value +on the current user and the crm

                                                                                                                                                                                                                            + + + public + toggleOptin() : bool + + + + +
                                                                                                                                                                                                                            + Tags + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + throws +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + CrmException + +

                                                                                                                                                                                                                            If a critical error occured.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + throws +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + ApiErrorException + +

                                                                                                                                                                                                                            If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            Return values
                                                                                                                                                                                                                            + bool + — +

                                                                                                                                                                                                                            true if the operation succeeded

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            Search results

                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                              + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/css/base.css b/app/Lib/vendor/crm-client-3.0.6/documentation/css/base.css new file mode 100644 index 0000000..db4e807 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/css/base.css @@ -0,0 +1,1087 @@ + +:root { + /* Typography */ + --font-primary: 'Source Sans Pro', Helvetica, Arial, sans-serif; + --font-secondary: 'Source Sans Pro', Helvetica, Arial, sans-serif; + --font-monospace: 'Source Code Pro', monospace; + --line-height--primary: 1.6; + --letter-spacing--primary: .05rem; + --text-base-size: 1em; + --text-scale-ratio: 1.2; + + --text-xxs: calc(var(--text-base-size) / var(--text-scale-ratio) / var(--text-scale-ratio) / var(--text-scale-ratio)); + --text-xs: calc(var(--text-base-size) / var(--text-scale-ratio) / var(--text-scale-ratio)); + --text-sm: calc(var(--text-base-size) / var(--text-scale-ratio)); + --text-md: var(--text-base-size); + --text-lg: calc(var(--text-base-size) * var(--text-scale-ratio)); + --text-xl: calc(var(--text-base-size) * var(--text-scale-ratio) * var(--text-scale-ratio)); + --text-xxl: calc(var(--text-base-size) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio)); + --text-xxxl: calc(var(--text-base-size) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio)); + --text-xxxxl: calc(var(--text-base-size) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio)); + --text-xxxxxl: calc(var(--text-base-size) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio)); + + /* Colors */ + --primary-color: hsl(96, 57%, 60%); + --primary-color-darken: hsl(96, 57%, 40%); + --primary-color-darker: hsl(96, 57%, 20%); + --primary-color-darkest: hsl(96, 57%, 10%); + --primary-color-lighten: hsl(96, 57%, 80%); + --primary-color-lighter: hsl(96, 57%, 99%); + --dark-gray: #d1d1d1; + --light-gray: #f0f0f0; + + --text-color: var(--primary-color-darkest); + + --header-height: var(--spacing-xxxxl); + --header-bg-color: var(--primary-color); + --code-background-color: #f7faf5; + --code-border-color: #d6e7cb; + --button-border-color: var(--primary-color-darken); + --button-color: transparent; + --button-color-primary: var(--primary-color); + --button-text-color: #555; + --button-text-color-primary: white; + --popover-background-color: rgba(255, 255, 255, 0.75); + --link-color-primary: var(--primary-color-darken); + --link-hover-color-primary: var(--primary-color-darker); + --form-field-border-color: var(--dark-gray); + --form-field-color: #fff; + --admonition-success-color: var(--primary-color); + --admonition-border-color: silver; + --table-separator-color: var(--primary-color-lighten); + --title-text-color: var(--primary-color); + + --sidebar-border-color: var(--primary-color-lighten); + + /* Grid */ + --container-width: 1400px; + + /* Spacing */ + --spacing-base-size: 1rem; + --spacing-scale-ratio: 1.5; + + --spacing-xxxs: calc(var(--spacing-base-size) / var(--spacing-scale-ratio) / var(--spacing-scale-ratio) / var(--spacing-scale-ratio) / var(--spacing-scale-ratio)); + --spacing-xxs: calc(var(--spacing-base-size) / var(--spacing-scale-ratio) / var(--spacing-scale-ratio) / var(--spacing-scale-ratio)); + --spacing-xs: calc(var(--spacing-base-size) / var(--spacing-scale-ratio) / var(--spacing-scale-ratio)); + --spacing-sm: calc(var(--spacing-base-size) / var(--spacing-scale-ratio)); + --spacing-md: var(--spacing-base-size); + --spacing-lg: calc(var(--spacing-base-size) * var(--spacing-scale-ratio)); + --spacing-xl: calc(var(--spacing-base-size) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio)); + --spacing-xxl: calc(var(--spacing-base-size) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio)); + --spacing-xxxl: calc(var(--spacing-base-size) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio)); + --spacing-xxxxl: calc(var(--spacing-base-size) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio)); + + --border-radius-base-size: 3px; +} + +/* Base Styles +-------------------------------------------------- */ +body { + color: var(--text-color); + font-family: var(--font-primary); + font-size: var(--text-md); + letter-spacing: var(--letter-spacing--primary); + line-height: var(--line-height--primary); +} + +.phpdocumentor h1, +.phpdocumentor h2, +.phpdocumentor h3, +.phpdocumentor h4, +.phpdocumentor h5, +.phpdocumentor h6 { + margin-bottom: var(--spacing-lg); + margin-top: var(--spacing-lg); + font-weight: 600; +} + +.phpdocumentor h1 { + font-size: var(--text-xxxxl); + letter-spacing: var(--letter-spacing--primary); + line-height: 1.2; + margin-top: 0; +} + +.phpdocumentor h2 { + font-size: var(--text-xxxl); + letter-spacing: var(--letter-spacing--primary); + line-height: 1.25; +} + +.phpdocumentor h3 { + font-size: var(--text-xxl); + letter-spacing: var(--letter-spacing--primary); + line-height: 1.3; +} + +.phpdocumentor h4 { + font-size: var(--text-xl); + letter-spacing: calc(var(--letter-spacing--primary) / 2); + line-height: 1.35; + margin-bottom: var(--spacing-md); +} + +.phpdocumentor h5 { + font-size: var(--text-lg); + letter-spacing: calc(var(--letter-spacing--primary) / 4); + line-height: 1.5; + margin-bottom: var(--spacing-md); + margin-top: var(--spacing-md); +} + +.phpdocumentor h6 { + font-size: var(--text-md); + letter-spacing: 0; + line-height: var(--line-height--primary); + margin-bottom: var(--spacing-md); + margin-top: var(--spacing-md); +} + +.phpdocumentor h1 .headerlink, +.phpdocumentor h2 .headerlink, +.phpdocumentor h3 .headerlink, +.phpdocumentor h4 .headerlink, +.phpdocumentor h5 .headerlink, +.phpdocumentor h6 .headerlink +{ + transition: all .3s ease-in-out; + opacity: 0; + text-decoration: none; + color: silver; + font-size: 80%; +} + +.phpdocumentor h1:hover .headerlink, +.phpdocumentor h2:hover .headerlink, +.phpdocumentor h3:hover .headerlink, +.phpdocumentor h4:hover .headerlink, +.phpdocumentor h5:hover .headerlink, +.phpdocumentor h6:hover .headerlink +{ + opacity: 1; +} +.phpdocumentor p { + margin-top: 0; + margin-bottom: var(--spacing-md); +} +.phpdocumentor figure { + margin-bottom: var(--spacing-md); +} + +.phpdocumentor figcaption { + text-align: center; + font-style: italic; + font-size: 80%; +} +.phpdocumentor-line { + border-top: 1px solid #E1E1E1; + border-width: 0; + margin-bottom: var(--spacing-xxl); + margin-top: var(--spacing-xxl); +} +.phpdocumentor-section { + box-sizing: border-box; + margin: 0 auto; + max-width: var(--container-width); + padding: 0 var(--spacing-lg); + position: relative; + width: 100%; +} + +@media (min-width: 1200px) { + .phpdocumentor-section { + padding: 0; + width: 95%; + } +} +.phpdocumentor-column { + box-sizing: border-box; + float: left; + width: 100%; +} + +@media (min-width: 550px) { + .phpdocumentor-column { + margin-left: 4%; + } + + .phpdocumentor-column:first-child { + margin-left: 0; + } + + .-one.phpdocumentor-column { + width: 4.66666666667%; + } + + .-two.phpdocumentor-column { + width: 13.3333333333%; + } + + .-three.phpdocumentor-column { + width: 22%; + } + + .-four.phpdocumentor-column { + width: 30.6666666667%; + } + + .-five.phpdocumentor-column { + width: 39.3333333333%; + } + + .-six.phpdocumentor-column { + width: 48%; + } + + .-seven.phpdocumentor-column { + width: 56.6666666667%; + } + + .-eight.phpdocumentor-column { + width: 65.3333333333%; + } + + .-nine.phpdocumentor-column { + width: 74.0%; + } + + .-ten.phpdocumentor-column { + width: 82.6666666667%; + } + + .-eleven.phpdocumentor-column { + width: 91.3333333333%; + } + + .-twelve.phpdocumentor-column { + margin-left: 0; + width: 100%; + } + + .-one-third.phpdocumentor-column { + width: 30.6666666667%; + } + + .-two-thirds.phpdocumentor-column { + width: 65.3333333333%; + } + + .-one-half.phpdocumentor-column { + width: 48%; + } + + /* Offsets */ + .-offset-by-one.phpdocumentor-column { + margin-left: 8.66666666667%; + } + + .-offset-by-two.phpdocumentor-column { + margin-left: 17.3333333333%; + } + + .-offset-by-three.phpdocumentor-column { + margin-left: 26%; + } + + .-offset-by-four.phpdocumentor-column { + margin-left: 34.6666666667%; + } + + .-offset-by-five.phpdocumentor-column { + margin-left: 43.3333333333%; + } + + .-offset-by-six.phpdocumentor-column { + margin-left: 52%; + } + + .-offset-by-seven.phpdocumentor-column { + margin-left: 60.6666666667%; + } + + .-offset-by-eight.phpdocumentor-column { + margin-left: 69.3333333333%; + } + + .-offset-by-nine.phpdocumentor-column { + margin-left: 78.0%; + } + + .-offset-by-ten.phpdocumentor-column { + margin-left: 86.6666666667%; + } + + .-offset-by-eleven.phpdocumentor-column { + margin-left: 95.3333333333%; + } + + .-offset-by-one-third.phpdocumentor-column { + margin-left: 34.6666666667%; + } + + .-offset-by-two-thirds.phpdocumentor-column { + margin-left: 69.3333333333%; + } + + .-offset-by-one-half.phpdocumentor-column { + margin-left: 52%; + } +} +.phpdocumentor a { + color: var(--link-color-primary); +} + +.phpdocumentor a:hover { + color: var(--link-hover-color-primary); +} +.phpdocumentor-button { + background-color: var(--button-color); + border: 1px solid var(--button-border-color); + border-radius: var(--border-radius-base-size); + box-sizing: border-box; + color: var(--button-text-color); + cursor: pointer; + display: inline-block; + font-size: var(--text-sm); + font-weight: 600; + height: 38px; + letter-spacing: .1rem; + line-height: 38px; + padding: 0 var(--spacing-xxl); + text-align: center; + text-decoration: none; + text-transform: uppercase; + white-space: nowrap; + margin-bottom: var(--spacing-md); +} + +.phpdocumentor-button .-wide { + width: 100%; +} + +.phpdocumentor-button:hover, +.phpdocumentor-button:focus { + border-color: #888; + color: #333; + outline: 0; +} + +.phpdocumentor-button.-primary { + background-color: var(--button-color-primary); + border-color: var(--button-color-primary); + color: var(--button-text-color-primary); +} + +.phpdocumentor-button.-primary:hover, +.phpdocumentor-button.-primary:focus { + background-color: var(--link-color-primary); + border-color: var(--link-color-primary); + color: var(--button-text-color-primary); +} +.phpdocumentor form { + margin-bottom: var(--spacing-md); +} + +.phpdocumentor-field { + background-color: var(--form-field-color); + border: 1px solid var(--form-field-border-color); + border-radius: var(--border-radius-base-size); + box-shadow: none; + box-sizing: border-box; + height: 38px; + padding: var(--spacing-xxxs) var(--spacing-xxs); /* The 6px vertically centers text on FF, ignored by Webkit */ + margin-bottom: var(--spacing-md); +} + +/* Removes awkward default styles on some inputs for iOS */ +input[type="email"], +input[type="number"], +input[type="search"], +input[type="text"], +input[type="tel"], +input[type="url"], +input[type="password"], +textarea { + -moz-appearance: none; + -webkit-appearance: none; + appearance: none; +} + +.phpdocumentor-textarea { + min-height: 65px; + padding-bottom: var(--spacing-xxxs); + padding-top: var(--spacing-xxxs); +} + +.phpdocumentor-field:focus { + border: 1px solid var(--button-color-primary); + outline: 0; +} + +.phpdocumentor-label { + display: block; + margin-bottom: var(--spacing-xs); +} + +.phpdocumentor-fieldset { + border-width: 0; + padding: 0; +} + +input[type="checkbox"].phpdocumentor-field, +input[type="radio"].phpdocumentor-field { + display: inline; +} +div.phpdocumentor-list > ul, +ul.phpdocumentor-list { + list-style: circle inside; +} + +ol.phpdocumentor-list { + list-style: decimal inside; +} + +div.phpdocumentor-list > ul, +ol.phpdocumentor-list, +ul.phpdocumentor-list { + margin-top: 0; + padding-left: 0; + margin-bottom: var(--spacing-md); +} + +dl { + margin-bottom: var(--spacing-md); +} + +div.phpdocumentor-list > ul ul, +ul.phpdocumentor-list ul.phpdocumentor-list, +ul.phpdocumentor-list ol.phpdocumentor-list, +ol.phpdocumentor-list ol.phpdocumentor-list, +ol.phpdocumentor-list ul.phpdocumentor-list { + font-size: var(--text-sm); + margin: var(--spacing-xs) 0 var(--spacing-xs) calc(var(--spacing-xs) * 2); +} + +li.phpdocumentor-list { + margin-bottom: var(--spacing-md); +} + +.phpdocumentor dl dt { + margin-bottom: var(--spacing-xs); +} + +.phpdocumentor dl dd { + margin-bottom: var(--spacing-md); +} +.phpdocumentor pre { + margin-bottom: var(--spacing-md); +} + +.phpdocumentor-code { + font-family: var(--font-monospace); + background: var(--code-background-color); + border: 1px solid var(--code-border-color); + border-radius: var(--border-radius-base-size); + font-size: var(--text-sm); + padding: var(--spacing-sm) var(--spacing-md); + width: 100%; + box-sizing: border-box; +} + +.phpdocumentor-code.-dark { + background: var(--primary-color-darkest); + color: var(--light-gray); + box-shadow: 0 2px 3px var(--dark-gray); +} + +pre > .phpdocumentor-code { + display: block; + white-space: pre; +} +.phpdocumentor blockquote { + border-left: 4px solid var(--primary-color-darken); + margin: var(--spacing-md) 0; + padding: var(--spacing-xs) var(--spacing-sm); + color: var(--primary-color-darker); + font-style: italic; +} + +.phpdocumentor blockquote p:last-of-type { + margin-bottom: 0; +} +.phpdocumentor table { + margin-bottom: var(--spacing-md); +} + +th.phpdocumentor-heading, +td.phpdocumentor-cell { + border-bottom: 1px solid var(--table-separator-color); + padding: var(--spacing-sm) var(--spacing-md); + text-align: left; +} + +th.phpdocumentor-heading:first-child, +td.phpdocumentor-cell:first-child { + padding-left: 0; +} + +th.phpdocumentor-heading:last-child, +td.phpdocumentor-cell:last-child { + padding-right: 0; +} + +.phpdocumentor-header { + display: flex; + flex-direction: row; + align-items: stretch; + flex-wrap: wrap; + justify-content: space-between; + height: auto; + padding: var(--spacing-md) var(--spacing-md); +} + +.phpdocumentor-header__menu-button { + position: absolute; + top: -100%; + left: -100%; +} + +.phpdocumentor-header__menu-icon { + font-size: 2rem; + color: var(--primary-color); +} + +.phpdocumentor-header__menu-button:checked ~ .phpdocumentor-topnav { + max-height: 250px; + padding-top: var(--spacing-md); +} + +@media (min-width: 1000px) { + .phpdocumentor-header { + flex-direction: row; + padding: var(--spacing-lg) var(--spacing-lg); + min-height: var(--header-height); + } + + .phpdocumentor-header__menu-icon { + display: none; + } +} + +@media (min-width: 1000px) { + .phpdocumentor-header { + padding-top: 0; + padding-bottom: 0; + } +} +@media (min-width: 1200px) { + .phpdocumentor-header { + padding: 0; + } +} +.phpdocumentor-title { + box-sizing: border-box; + color: var(--title-text-color); + font-size: var(--text-xxl); + letter-spacing: .05rem; + font-weight: normal; + width: auto; + margin: 0; + display: flex; + align-items: center; +} + +.phpdocumentor-title.-without-divider { + border: none; +} + +.phpdocumentor-title__link { + transition: all .3s ease-out; + display: flex; + color: var(--title-text-color); + text-decoration: none; + font-weight: normal; + white-space: nowrap; + transform: scale(.75); + transform-origin: left; +} + +.phpdocumentor-title__link:hover { + transform: perspective(15rem) translateX(.5rem); + font-weight: 600; +} + +@media (min-width: 1000px) { + .phpdocumentor-title { + width: 30.6666666667%; + border-right: var(--sidebar-border-color) solid 1px; + } + + .phpdocumentor-title__link { + transform-origin: left; + } +} + +@media (min-width: 1000px) { + .phpdocumentor-title__link { + transform: scale(.85); + } +} + +@media (min-width: 1200px) { + .phpdocumentor-title__link { + transform: scale(1); + } +} +.phpdocumentor-topnav { + display: flex; + align-items: center; + margin: 0; + max-height: 0; + overflow: hidden; + transition: max-height 0.2s ease-out; + flex-basis: 100%; +} + +.phpdocumentor-topnav__menu { + text-align: right; + list-style: none; + margin: 0; + padding: 0; + flex: 1; + display: flex; + flex-flow: row wrap; + justify-content: center; +} + +.phpdocumentor-topnav__menu-item { + margin: 0; + width: 100%; + display: inline-block; + text-align: center; + padding: var(--spacing-sm) 0 +} + +.phpdocumentor-topnav__menu-item.-social { + width: auto; + padding: var(--spacing-sm) +} + +.phpdocumentor-topnav__menu-item a { + display: inline-block; + color: var(--text-color); + text-decoration: none; + font-size: var(--text-lg); + transition: all .3s ease-out; + border-bottom: 1px dotted transparent; + line-height: 1; +} + +.phpdocumentor-topnav__menu-item a:hover { + transform: perspective(15rem) translateY(.1rem); + border-bottom: 1px dotted var(--text-color); +} + +@media (min-width: 1000px) { + .phpdocumentor-topnav { + max-height: none; + overflow: visible; + flex-basis: auto; + } + + .phpdocumentor-topnav__menu { + display: flex; + flex-flow: row wrap; + justify-content: flex-end; + } + + .phpdocumentor-topnav__menu-item, + .phpdocumentor-topnav__menu-item.-social { + width: auto; + display: inline; + text-align: right; + padding: 0 0 0 var(--spacing-md) + } +} +.phpdocumentor-sidebar { + margin: 0; + overflow: hidden; + max-height: 0; +} + +.phpdocumentor .phpdocumentor-sidebar .phpdocumentor-list { + padding: var(--spacing-xs) var(--spacing-md); + list-style: none; + margin: 0; +} + +.phpdocumentor .phpdocumentor-sidebar li { + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; + padding: 0 0 var(--spacing-xxxs) var(--spacing-md); +} + +.phpdocumentor .phpdocumentor-sidebar abbr, +.phpdocumentor .phpdocumentor-sidebar a { + text-decoration: none; + border-bottom: none; + color: var(--text-color); + font-size: var(--text-md); + padding-left: 0; + transition: padding-left .4s ease-out; +} + +.phpdocumentor .phpdocumentor-sidebar a:hover { + padding-left: 5px; + font-weight: 600; +} + +.phpdocumentor .phpdocumentor-sidebar__category > * { + border-left: 1px solid var(--primary-color-lighten); +} + +.phpdocumentor .phpdocumentor-sidebar__category { + margin-bottom: var(--spacing-lg); +} + +.phpdocumentor .phpdocumentor-sidebar__category-header { + font-size: var(--text-md); + margin-bottom: var(--spacing-xs); + color: var(--link-color-primary); + font-weight: 600; + border-left: 0; +} + +.phpdocumentor .phpdocumentor-sidebar__root-package, +.phpdocumentor .phpdocumentor-sidebar__root-namespace { + font-size: var(--text-md); + margin: 0; + padding-top: var(--spacing-xs); + padding-left: var(--spacing-md); + color: var(--text-color); + font-weight: normal; +} + +@media (min-width: 550px) { + .phpdocumentor-sidebar { + border-right: var(--sidebar-border-color) solid 1px; + } +} + +.phpdocumentor-sidebar__menu-button { + position: absolute; + top: -100%; + left: -100%; +} + +.phpdocumentor-sidebar__menu-icon { + font-size: var(--text-md); + font-weight: 600; + background: var(--primary-color); + color: white; + margin: 0 0 var(--spacing-lg); + display: block; + padding: var(--spacing-sm); + text-align: center; + border-radius: 3px; + text-transform: uppercase; + letter-spacing: .15rem; +} + +.phpdocumentor-sidebar__menu-button:checked ~ .phpdocumentor-sidebar { + max-height: 100%; + padding-top: var(--spacing-md); +} + +@media (min-width: 550px) { + .phpdocumentor-sidebar { + overflow: visible; + max-height: 100%; + } + + .phpdocumentor-sidebar__menu-icon { + display: none; + } +} +.phpdocumentor-admonition { + border: 1px solid var(--admonition-border-color); + border-radius: var(--border-radius-base-size); + border-color: var(--primary-color-lighten); + background-color: var(--primary-color-lighter); + padding: var(--spacing-lg); + margin: var(--spacing-lg) 0; + display: flex; + flex-direction: row; + align-items: flex-start; +} + +.phpdocumentor-admonition p:last-of-type { + margin-bottom: 0; +} + +.phpdocumentor-admonition--success, +.phpdocumentor-admonition.-success { + border-color: var(--admonition-success-color); +} + +.phpdocumentor-admonition__icon { + margin-right: var(--spacing-md); + color: var(--primary-color); + max-width: 3rem; +} +.phpdocumentor ul.phpdocumentor-breadcrumbs { + font-size: var(--text-md); + list-style: none; + margin: 0; + padding: 0; +} + +.phpdocumentor ul.phpdocumentor-breadcrumbs a { + color: var(--text-color); + text-decoration: none; +} + +.phpdocumentor ul.phpdocumentor-breadcrumbs > li { + display: inline-block; + margin: 0; +} + +.phpdocumentor ul.phpdocumentor-breadcrumbs > li + li:before { + color: var(--dark-gray); + content: "\\\A0"; + padding: 0; +} +.phpdocumentor .phpdocumentor-back-to-top { + position: fixed; + bottom: 2rem; + font-size: 2.5rem; + opacity: .25; + transition: all .3s ease-in-out; + right: 2rem; +} + +.phpdocumentor .phpdocumentor-back-to-top:hover { + color: var(--link-color-primary); + opacity: 1; +} +.phpdocumentor-search { + position: relative; + display: none; /** disable by default for non-js flow */ + opacity: .3; /** white-out default for loading indication */ + transition: opacity .3s, background .3s; + margin: var(--spacing-sm) 0; + flex: 1; + min-width: 100%; +} + +.phpdocumentor-search label { + display: flex; + align-items: center; + flex: 1; +} + +.phpdocumentor-search__icon { + color: var(--primary-color); + margin-right: var(--spacing-sm); + width: 1rem; + height: 1rem; +} + +.phpdocumentor-search--enabled { + display: flex; +} + +.phpdocumentor-search--active { + opacity: 1; +} + +.phpdocumentor-search input:disabled { + background-color: lightgray; +} + +.phpdocumentor-search__field:focus, +.phpdocumentor-search__field { + margin-bottom: 0; + border: 0; + border-bottom: 2px solid var(--primary-color); + padding: 0; + border-radius: 0; + flex: 1; +} + +@media (min-width: 1000px) { + .phpdocumentor-search { + min-width: auto; + max-width: 20rem; + margin: 0 0 0 auto; + } +} +.phpdocumentor-content { + position: relative; +} + +.phpdocumentor-search-results { + backdrop-filter: blur(5px); + background: var(--popover-background-color); + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + padding: 0; + opacity: 1; + pointer-events: all; + + transition: opacity .3s, background .3s; +} + +.phpdocumentor-search-results--hidden { + background: transparent; + backdrop-filter: blur(0); + opacity: 0; + pointer-events: none; +} + +.phpdocumentor-search-results__dialog { + width: 100%; + background: white; + max-height: 100%; + display: flex; + flex-direction: column; +} + +.phpdocumentor-search-results__body { + overflow: auto; +} + +.phpdocumentor-search-results__header { + padding: var(--spacing-lg); + display: flex; + justify-content: space-between; + background: var(--primary-color-darken); + color: white; + align-items: center; +} + +.phpdocumentor-search-results__close { + font-size: var(--text-xl); + background: none; + border: none; + padding: 0; + margin: 0; +} + +.phpdocumentor .phpdocumentor-search-results__title { + font-size: var(--text-xl); + margin-bottom: 0; +} + +.phpdocumentor-search-results__entries { + list-style: none; + padding: 0 var(--spacing-lg); + margin: 0; +} + +.phpdocumentor-search-results__entry { + border-bottom: 1px solid var(--table-separator-color); + padding: var(--spacing-sm) 0; + text-align: left; +} + +.phpdocumentor-search-results__entry a { + display: block; +} + +.phpdocumentor-search-results__entry small { + margin-top: var(--spacing-xs); + margin-bottom: var(--spacing-md); + color: var(--primary-color-darker); + display: block; + word-break: break-word; +} + +.phpdocumentor-search-results__entry h3 { + font-size: var(--text-lg); + margin: 0; +} + +@media (min-width: 550px) { + .phpdocumentor-search-results { + padding: 0 var(--spacing-lg); + } + + .phpdocumentor-search-results__entry h3 { + font-size: var(--text-xxl); + } + + .phpdocumentor-search-results__dialog { + margin: var(--spacing-xl) auto; + max-width: 40rem; + background: white; + border: 1px solid silver; + box-shadow: 0 2px 5px silver; + max-height: 40rem; + border-radius: 3px; + } +} +.phpdocumentor-modal { + position: fixed; + width: 100vw; + height: 100vh; + opacity: 0; + visibility: hidden; + transition: all 0.3s ease; + top: 0; + left: 0; + display: flex; + align-items: center; + justify-content: center; +} + +.phpdocumentor-modal__open { + visibility: visible; + opacity: 1; + transition-delay: 0s; +} + +.phpdocumentor-modal-bg { + position: absolute; + background: gray; + opacity: 50%; + width: 100%; + height: 100%; +} + +.phpdocumentor-modal-container { + border-radius: 1em; + background: #fff; + position: relative; + padding: 2em; +} + +.phpdocumentor-modal__close { + position: absolute; + right: 0.75em; + top: 0.75em; + outline: none; + appearance: none; + color: var(--primary-color); + background: none; + border: 0px; + font-weight: bold; + cursor: pointer; +} + +/* Used for screen readers and such */ +.visually-hidden { + display: none; +} + +.float-right { + float: right; +} + +.float-left { + float: left; +} diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/css/normalize.css b/app/Lib/vendor/crm-client-3.0.6/documentation/css/normalize.css new file mode 100644 index 0000000..579152b --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/css/normalize.css @@ -0,0 +1,427 @@ +/*! normalize.css v3.0.2 | MIT License | git.io/normalize */ + +/** + * 1. Set default font family to sans-serif. + * 2. Prevent iOS text size adjust after orientation change, without disabling + * user zoom. + */ + +html { + font-family: sans-serif; /* 1 */ + -ms-text-size-adjust: 100%; /* 2 */ + -webkit-text-size-adjust: 100%; /* 2 */ +} + +/** + * Remove default margin. + */ + +body { + margin: 0; +} + +/* HTML5 display definitions + ========================================================================== */ + +/** + * Correct `block` display not defined for any HTML5 element in IE 8/9. + * Correct `block` display not defined for `details` or `summary` in IE 10/11 + * and Firefox. + * Correct `block` display not defined for `main` in IE 11. + */ + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +menu, +nav, +section, +summary { + display: block; +} + +/** + * 1. Correct `inline-block` display not defined in IE 8/9. + * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. + */ + +audio, +canvas, +progress, +video { + display: inline-block; /* 1 */ + vertical-align: baseline; /* 2 */ +} + +/** + * Prevent modern browsers from displaying `audio` without controls. + * Remove excess height in iOS 5 devices. + */ + +audio:not([controls]) { + display: none; + height: 0; +} + +/** + * Address `[hidden]` styling not present in IE 8/9/10. + * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22. + */ + +[hidden], +template { + display: none; +} + +/* Links + ========================================================================== */ + +/** + * Remove the gray background color from active links in IE 10. + */ + +a { + background-color: transparent; +} + +/** + * Improve readability when focused and also mouse hovered in all browsers. + */ + +a:active, +a:hover { + outline: 0; +} + +/* Text-level semantics + ========================================================================== */ + +/** + * Address styling not present in IE 8/9/10/11, Safari, and Chrome. + */ + +abbr[title] { + border-bottom: 1px dotted; +} + +/** + * Address style set to `bolder` in Firefox 4+, Safari, and Chrome. + */ + +b, +strong { + font-weight: bold; +} + +/** + * Address styling not present in Safari and Chrome. + */ + +dfn { + font-style: italic; +} + +/** + * Address variable `h1` font-size and margin within `section` and `article` + * contexts in Firefox 4+, Safari, and Chrome. + */ + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +/** + * Address styling not present in IE 8/9. + */ + +mark { + background: #ff0; + color: #000; +} + +/** + * Address inconsistent and variable font size in all browsers. + */ + +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` affecting `line-height` in all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +/* Embedded content + ========================================================================== */ + +/** + * Remove border when inside `a` element in IE 8/9/10. + */ + +img { + border: 0; +} + +/** + * Correct overflow not hidden in IE 9/10/11. + */ + +svg:not(:root) { + overflow: hidden; +} + +/* Grouping content + ========================================================================== */ + +/** + * Address margin not present in IE 8/9 and Safari. + */ + +figure { + margin: 1em 40px; +} + +/** + * Address differences between Firefox and other browsers. + */ + +hr { + -moz-box-sizing: content-box; + box-sizing: content-box; + height: 0; +} + +/** + * Contain overflow in all browsers. + */ + +pre { + overflow: auto; +} + +/** + * Address odd `em`-unit font size rendering in all browsers. + */ + +code, +kbd, +pre, +samp { + font-family: var(--font-monospace); + font-size: 1em; +} + +/* Forms + ========================================================================== */ + +/** + * Known limitation: by default, Chrome and Safari on OS X allow very limited + * styling of `select`, unless a `border` property is set. + */ + +/** + * 1. Correct color not being inherited. + * Known issue: affects color of disabled elements. + * 2. Correct font properties not being inherited. + * 3. Address margins set differently in Firefox 4+, Safari, and Chrome. + */ + +button, +input, +optgroup, +select, +textarea { + color: inherit; /* 1 */ + font: inherit; /* 2 */ + margin: 0; /* 3 */ +} + +/** + * Address `overflow` set to `hidden` in IE 8/9/10/11. + */ + +button { + overflow: visible; +} + +/** + * Address inconsistent `text-transform` inheritance for `button` and `select`. + * All other form control elements do not inherit `text-transform` values. + * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera. + * Correct `select` style inheritance in Firefox. + */ + +button, +select { + text-transform: none; +} + +/** + * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` + * and `video` controls. + * 2. Correct inability to style clickable `input` types in iOS. + * 3. Improve usability and consistency of cursor style between image-type + * `input` and others. + */ + +button, +html input[type="button"], /* 1 */ +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; /* 2 */ + cursor: pointer; /* 3 */ +} + +/** + * Re-set default cursor for disabled elements. + */ + +button[disabled], +html input[disabled] { + cursor: default; +} + +/** + * Remove inner padding and border in Firefox 4+. + */ + +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + padding: 0; +} + +/** + * Address Firefox 4+ setting `line-height` on `input` using `!important` in + * the UA stylesheet. + */ + +input { + line-height: normal; +} + +/** + * It's recommended that you don't attempt to style these elements. + * Firefox's implementation doesn't respect box-sizing, padding, or width. + * + * 1. Address box sizing set to `content-box` in IE 8/9/10. + * 2. Remove excess padding in IE 8/9/10. + */ + +input[type="checkbox"], +input[type="radio"] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * Fix the cursor style for Chrome's increment/decrement buttons. For certain + * `font-size` values of the `input`, it causes the cursor style of the + * decrement button to change from `default` to `text`. + */ + +input[type="number"]::-webkit-inner-spin-button, +input[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +/** + * 1. Address `appearance` set to `searchfield` in Safari and Chrome. + * 2. Address `box-sizing` set to `border-box` in Safari and Chrome + * (include `-moz` to future-proof). + */ + +input[type="search"] { + -webkit-appearance: textfield; /* 1 */ + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; /* 2 */ + box-sizing: content-box; +} + +/** + * Remove inner padding and search cancel button in Safari and Chrome on OS X. + * Safari (but not Chrome) clips the cancel button when the search input has + * padding (and `textfield` appearance). + */ + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * Define consistent border, margin, and padding. + */ + +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; +} + +/** + * 1. Correct `color` not being inherited in IE 8/9/10/11. + * 2. Remove padding so people aren't caught out if they zero out fieldsets. + */ + +legend { + border: 0; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * Remove default vertical scrollbar in IE 8/9/10/11. + */ + +textarea { + overflow: auto; +} + +/** + * Don't inherit the `font-weight` (applied by a rule above). + * NOTE: the default cannot safely be changed in Chrome and Safari on OS X. + */ + +optgroup { + font-weight: bold; +} + +/* Tables + ========================================================================== */ + +/** + * Remove most spacing between table cells. + */ + +table { + border-collapse: collapse; + border-spacing: 0; +} + +td, +th { + padding: 0; +} diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/css/template.css b/app/Lib/vendor/crm-client-3.0.6/documentation/css/template.css new file mode 100644 index 0000000..31f00e3 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/css/template.css @@ -0,0 +1,188 @@ +.phpdocumentor-summary { + font-style: italic; +} +.phpdocumentor-description { + margin-bottom: var(--spacing-md); +} +.phpdocumentor-element { + position: relative; +} + +.phpdocumentor .phpdocumentor-element__name { + line-height: 1; +} + +.phpdocumentor-element__package, +.phpdocumentor-element__extends, +.phpdocumentor-element__implements { + display: block; + font-size: var(--text-xxs); + font-weight: normal; + opacity: .7; +} + +.phpdocumentor-element__package .phpdocumentor-breadcrumbs { + display: inline; +} + +.phpdocumentor-element:not(:last-child) { + border-bottom: 1px solid var(--primary-color-lighten); + padding-bottom: var(--spacing-lg); +} + +.phpdocumentor-element.-deprecated .phpdocumentor-element__name { + text-decoration: line-through; +} + +.phpdocumentor-element__modifier { + font-size: var(--text-xxs); + padding: calc(var(--spacing-base-size) / 4) calc(var(--spacing-base-size) / 2); + color: var(--text-color); + background-color: var(--light-gray); + border-radius: 3px; + text-transform: uppercase; +} +.phpdocumentor-signature { + display: inline-block; + font-size: var(--text-sm); + margin-bottom: var(--spacing-md); +} + +.phpdocumentor-signature.-deprecated .phpdocumentor-signature__name { + text-decoration: line-through; +} +.phpdocumentor-table-of-contents { +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry { + padding-top: var(--spacing-xs); + margin-left: 2rem; + display: flex; +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry > a { + flex: 0 1 auto; +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry > span { + flex: 1; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry:after { + content: ''; + height: 12px; + width: 12px; + left: 16px; + position: absolute; +} +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-private:after { + background: url('data:image/svg+xml;utf8,') no-repeat; +} +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-protected:after { + left: 13px; + background: url('data:image/svg+xml;utf8,') no-repeat; +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry:before { + width: 1.25rem; + height: 1.25rem; + line-height: 1.25rem; + background: transparent url('data:image/svg+xml;utf8,') no-repeat center center; + content: ''; + position: absolute; + left: 0; + border-radius: 50%; + font-weight: 600; + color: white; + text-align: center; + font-size: .75rem; + margin-top: .2rem; +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-method:before { + content: 'M'; + background-image: url('data:image/svg+xml;utf8,'); +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-function:before { + content: 'M'; + background-image: url('data:image/svg+xml;utf8,'); +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-property:before { + content: 'P' +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-constant:before { + content: 'C'; + background-color: transparent; + background-image: url('data:image/svg+xml;utf8,'); +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-class:before { + content: 'C' +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-interface:before { + content: 'I' +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-trait:before { + content: 'T' +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-namespace:before { + content: 'N' +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-package:before { + content: 'P' +} + +.phpdocumentor-table-of-contents dd { + font-style: italic; + margin-left: 2rem; +} +.phpdocumentor-element-found-in { + position: absolute; + top: 0; + right: 0; + font-size: var(--text-sm); + color: gray; +} + +.phpdocumentor-element-found-in .phpdocumentor-element-found-in__source { + flex: 0 1 auto; + display: inline-flex; +} + +.phpdocumentor-element-found-in .phpdocumentor-element-found-in__source:after { + width: 1.25rem; + height: 1.25rem; + line-height: 1.25rem; + background: transparent url('data:image/svg+xml;utf8,') no-repeat center center; + content: ''; + left: 0; + border-radius: 50%; + font-weight: 600; + text-align: center; + font-size: .75rem; + margin-top: .2rem; +} +.phpdocumentor-class-graph { + width: 100%; height: 600px; border:1px solid black; overflow: hidden +} + +.phpdocumentor-class-graph__graph { + width: 100%; +} +.phpdocumentor-tag-list__definition { + display: flex; +} + +.phpdocumentor-tag-link { + margin-right: var(--spacing-sm); +} diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/files/examples-customerexample.html b/app/Lib/vendor/crm-client-3.0.6/documentation/files/examples-customerexample.html new file mode 100644 index 0000000..7bb0da2 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/files/examples-customerexample.html @@ -0,0 +1,140 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                              +

                                                                                                                                                                                                                              CRM V2

                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              + + + + +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                              +

                                                                                                                                                                                                                              CustomerExample.php

                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                              + + + + + + + + + + + + + + +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              +

                                                                                                                                                                                                                              Search results

                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-crmapiv2.html b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-crmapiv2.html new file mode 100644 index 0000000..9e3241b --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-crmapiv2.html @@ -0,0 +1,151 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                CRM V2

                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                + + + + +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                CrmApiV2.php

                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                + + + + + + +

                                                                                                                                                                                                                                + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                CrmApiV2
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                This is the main class to interact with the CRM
                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                Search results

                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                  + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-enums-apierror.html b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-enums-apierror.html new file mode 100644 index 0000000..2ac8a83 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-enums-apierror.html @@ -0,0 +1,151 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                  CRM V2

                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  + + + + +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                  ApiError.php

                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                  + + + + + + +

                                                                                                                                                                                                                                  + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                  ApiError
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  This describes an API error.
                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                  + + + + + + + + +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                  Search results

                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                    + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-enums-apistatus.html b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-enums-apistatus.html new file mode 100644 index 0000000..bcd330c --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-enums-apistatus.html @@ -0,0 +1,151 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                    CRM V2

                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                    ApiStatus.php

                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                    + + + + + + +

                                                                                                                                                                                                                                    + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                    ApiStatus
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                    Search results

                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                      + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-enums-arcadiamailtype.html b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-enums-arcadiamailtype.html new file mode 100644 index 0000000..62f8966 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-enums-arcadiamailtype.html @@ -0,0 +1,151 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                      CRM V2

                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                      ArcadiaMailType.php

                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                      + + + + + + +

                                                                                                                                                                                                                                      + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                      ArcadiaMailType
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                      + + + + + + + + +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                      Search results

                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                        + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-enums-arcadiaordertype.html b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-enums-arcadiaordertype.html new file mode 100644 index 0000000..62c8d5b --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-enums-arcadiaordertype.html @@ -0,0 +1,151 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                        CRM V2

                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                        ArcadiaOrderType.php

                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                        + + + + + + +

                                                                                                                                                                                                                                        + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                        ArcadiaOrderType
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                        Search results

                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                          + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-enums-country.html b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-enums-country.html new file mode 100644 index 0000000..d2050f9 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-enums-country.html @@ -0,0 +1,151 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                          CRM V2

                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                          Country.php

                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                          + + + + + + +

                                                                                                                                                                                                                                          + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                          Country
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          Liste de Pays
                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                          + + + + + + + + +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                          Search results

                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                            + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-enums-httpmethods.html b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-enums-httpmethods.html new file mode 100644 index 0000000..92d2516 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-enums-httpmethods.html @@ -0,0 +1,140 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                            CRM V2

                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            + + + + +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                            HttpMethods.php

                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                            + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                            Search results

                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                              + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-enums-loglevel.html b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-enums-loglevel.html new file mode 100644 index 0000000..8834ad0 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-enums-loglevel.html @@ -0,0 +1,151 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                              CRM V2

                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              + + + + +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                              LogLevel.php

                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                              + + + + + + +

                                                                                                                                                                                                                                              + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                              LogLevel
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                              + + + + + + + + +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                              Search results

                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-enums-questiontype.html b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-enums-questiontype.html new file mode 100644 index 0000000..0a94cc6 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-enums-questiontype.html @@ -0,0 +1,151 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                CRM V2

                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                + + + + +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                QuestionType.php

                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                + + + + + + +

                                                                                                                                                                                                                                                + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                QuestionType
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                Search results

                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                  + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-exceptions-accesserror.html b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-exceptions-accesserror.html new file mode 100644 index 0000000..b2a7afa --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-exceptions-accesserror.html @@ -0,0 +1,151 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                  CRM V2

                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  + + + + +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                  AccessError.php

                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                  + + + + + + +

                                                                                                                                                                                                                                                  + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                  AccessError
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  This is thrown when trying to set a value on an object property that does not exist.
                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                  + + + + + + + + +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                  Search results

                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                    + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-exceptions-apierrorexception.html b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-exceptions-apierrorexception.html new file mode 100644 index 0000000..549805d --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-exceptions-apierrorexception.html @@ -0,0 +1,153 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                    CRM V2

                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                    ApiErrorException.php

                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                    + + + + + + +

                                                                                                                                                                                                                                                    + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                    ApiErrorException
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    This would be thrown if any of the case +referenced in \LDC\LDCCRM\Enums\ApiError would +occur within the crm
                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                    Search results

                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                      + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-exceptions-crmexception.html b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-exceptions-crmexception.html new file mode 100644 index 0000000..d83c57f --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-exceptions-crmexception.html @@ -0,0 +1,151 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                      CRM V2

                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                      CrmException.php

                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                      + + + + + + +

                                                                                                                                                                                                                                                      + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                      CrmException
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                      This is a critical error.
                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                      + + + + + + + + +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                      Search results

                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                        + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-exceptions-skipvalidationexception.html b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-exceptions-skipvalidationexception.html new file mode 100644 index 0000000..e8418f4 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-exceptions-skipvalidationexception.html @@ -0,0 +1,151 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                        CRM V2

                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                        SkipValidationException.php

                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                        + + + + + + +

                                                                                                                                                                                                                                                        + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                        SkipValidationException
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        Used only for internal validator
                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                        Search results

                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                          + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-exceptions-validationexception.html b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-exceptions-validationexception.html new file mode 100644 index 0000000..3b7a967 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-exceptions-validationexception.html @@ -0,0 +1,152 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                          CRM V2

                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                          ValidationException.php

                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                          + + + + + + +

                                                                                                                                                                                                                                                          + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                          ValidationException
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                          This would be thrown if a data could not be validated +on any models
                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                          + + + + + + + + +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                          Search results

                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                            + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-exceptions-wpcrminvalidjsonuserinfo.html b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-exceptions-wpcrminvalidjsonuserinfo.html new file mode 100644 index 0000000..b8ff99e --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-exceptions-wpcrminvalidjsonuserinfo.html @@ -0,0 +1,151 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                            CRM V2

                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            + + + + +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                            WpCrmInvalidJsonUserInfo.php

                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                            + + + + + + +

                                                                                                                                                                                                                                                            + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                            WpCrmInvalidJsonUserInfo
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            This is thrown when trying to read WP customer from DB json data.
                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                            Search results

                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                              + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-models-answer.html b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-models-answer.html new file mode 100644 index 0000000..3ef11b1 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-models-answer.html @@ -0,0 +1,152 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                              CRM V2

                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              + + + + +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                              Answer.php

                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                              + + + + + + +

                                                                                                                                                                                                                                                              + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                              Answer
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              This class represents an answer +It has a method to submit answers
                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                              + + + + + + + + +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                              Search results

                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-models-arcadiamaildefault.html b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-models-arcadiamaildefault.html new file mode 100644 index 0000000..da2f75e --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-models-arcadiamaildefault.html @@ -0,0 +1,152 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                CRM V2

                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                + + + + +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                ArcadiaMailDefault.php

                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                + + + + + + +

                                                                                                                                                                                                                                                                + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                ArcadiaMailDefault
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                This class represents the customer info with +the account validation status
                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                Search results

                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                  + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-models-arcadiamailgame.html b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-models-arcadiamailgame.html new file mode 100644 index 0000000..1a1c378 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-models-arcadiamailgame.html @@ -0,0 +1,152 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                  CRM V2

                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  + + + + +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                  ArcadiaMailGame.php

                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                  + + + + + + +

                                                                                                                                                                                                                                                                  + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                  ArcadiaMailGame
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  This class represents the customer info with +the account validation status
                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                  + + + + + + + + +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                  Search results

                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                    + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-models-crmclientmodel.html b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-models-crmclientmodel.html new file mode 100644 index 0000000..612a8b5 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-models-crmclientmodel.html @@ -0,0 +1,140 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                    CRM V2

                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                    CrmClientModel.php

                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                    + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                    Search results

                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                      + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-models-customer.html b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-models-customer.html new file mode 100644 index 0000000..12a8e23 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-models-customer.html @@ -0,0 +1,153 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                      CRM V2

                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                      Customer.php

                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                      + + + + + + +

                                                                                                                                                                                                                                                                      + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                      Customer
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      This class represents the customer info with +the account validation status. You can use it as +a standalone class but beware of catching exceptions
                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                      + + + + + + + + +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                      Search results

                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                        + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-models-question.html b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-models-question.html new file mode 100644 index 0000000..1fa880c --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-models-question.html @@ -0,0 +1,152 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                        CRM V2

                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                        Question.php

                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                        + + + + + + +

                                                                                                                                                                                                                                                                        + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                        Question
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        This class represents a question +It has some static methods to retrieve questions and answers
                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                        Search results

                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                          + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-models-singleoptin.html b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-models-singleoptin.html new file mode 100644 index 0000000..47579b5 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-models-singleoptin.html @@ -0,0 +1,151 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                          CRM V2

                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                          SingleOptin.php

                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                          + + + + + + +

                                                                                                                                                                                                                                                                          + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                          SingleOptin
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          This class allows to handle single opt in
                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                          + + + + + + + + +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                          Search results

                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                            + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-models-stats.html b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-models-stats.html new file mode 100644 index 0000000..9858cca --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-models-stats.html @@ -0,0 +1,151 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                            CRM V2

                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            + + + + +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                            Stats.php

                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                            + + + + + + +

                                                                                                                                                                                                                                                                            + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                            Stats
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            This class is used to get stats from CRM
                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                            Search results

                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                              + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-transport-apiinterface.html b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-transport-apiinterface.html new file mode 100644 index 0000000..3dff3ea --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-transport-apiinterface.html @@ -0,0 +1,140 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              CRM V2

                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              + + + + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              ApiInterface.php

                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Search results

                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-transport-request.html b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-transport-request.html new file mode 100644 index 0000000..013412c --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-transport-request.html @@ -0,0 +1,152 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                CRM V2

                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                + + + + +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                Request.php

                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                + + + + + + +

                                                                                                                                                                                                                                                                                + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                Request
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                The LDC CRM request +Contains the http method, the requested url and data to pass
                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                Search results

                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                  + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-transport-response.html b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-transport-response.html new file mode 100644 index 0000000..f261368 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-transport-response.html @@ -0,0 +1,151 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                  CRM V2

                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                  + + + + +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                  Response.php

                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                  + + + + + + +

                                                                                                                                                                                                                                                                                  + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                  Response
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                  + + + + + + + + +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                  Search results

                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                    + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-utils.html b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-utils.html new file mode 100644 index 0000000..4d0ea3b --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-utils.html @@ -0,0 +1,151 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                    CRM V2

                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                    Utils.php

                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                    + + + + + + +

                                                                                                                                                                                                                                                                                    + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                    Utils
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    This is the LDCCRM utility class
                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                    Search results

                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                      + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-wordpress-wpcrm.html b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-wordpress-wpcrm.html new file mode 100644 index 0000000..4172488 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-wordpress-wpcrm.html @@ -0,0 +1,191 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                      CRM V2

                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                      WPCrm.php

                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                      LDCCRM For Wordpress usage

                                                                                                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      + category +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                      API

                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      + author +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                      Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      + license +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                      MIT https://opensource.org/licenses/MIT

                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      + link +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      + / + +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      + + + + +

                                                                                                                                                                                                                                                                                      + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                      WPCrm
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      Class de gestion des users en session avec Wordpress
                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                      + + + + + + + + +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                      Search results

                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                        + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-wordpress-wpcrmanswer.html b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-wordpress-wpcrmanswer.html new file mode 100644 index 0000000..8e24725 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-wordpress-wpcrmanswer.html @@ -0,0 +1,191 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                        CRM V2

                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                        WPCrmAnswer.php

                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                        LDCCRM For Wordpress usage

                                                                                                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + category +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                        API

                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + author +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                        Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + license +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                        MIT https://opensource.org/licenses/MIT

                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + link +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + / + +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + + + + +

                                                                                                                                                                                                                                                                                        + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        WPCrmAnswer
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        Class de gestion de la segmentation question avec Wordpress
                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                        Search results

                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                          + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-wordpress-wpcrmquestion.html b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-wordpress-wpcrmquestion.html new file mode 100644 index 0000000..3563dde --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-wordpress-wpcrmquestion.html @@ -0,0 +1,191 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                          CRM V2

                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                          WPCrmQuestion.php

                                                                                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                                                                                          LDCCRM For Wordpress usage

                                                                                                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          + category +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                                                                                          API

                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          + author +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                                                                                          Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          + license +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                                                                                          MIT https://opensource.org/licenses/MIT

                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          + link +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          + / + +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          + + + + +

                                                                                                                                                                                                                                                                                          + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                          WPCrmQuestion
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          Class de gestion de la segmentation question avec Wordpress
                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                          + + + + + + + + +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                          Search results

                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                            + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-wordpress-wpcrmuser.html b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-wordpress-wpcrmuser.html new file mode 100644 index 0000000..07b7454 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/files/src-wordpress-wpcrmuser.html @@ -0,0 +1,191 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                            CRM V2

                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            + + + + +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                            WPCrmUser.php

                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                            LDCCRM For Wordpress usage

                                                                                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                                                                                            + Tags + +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            + category +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                            API

                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            + author +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                            Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            + license +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                            MIT https://opensource.org/licenses/MIT

                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            + link +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            + / + +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            + + + + +

                                                                                                                                                                                                                                                                                            + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                            WPCrmUser
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            Class de gestion des users en session avec Wordpress
                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                            Search results

                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                              + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/graphs/classes.html b/app/Lib/vendor/crm-client-3.0.6/documentation/graphs/classes.html new file mode 100644 index 0000000..9d638db --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/graphs/classes.html @@ -0,0 +1,117 @@ + + + + + CRM V2 + + + + + + + + +
                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                              CRM V2

                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                              + + + + +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                              Search results

                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/index.html b/app/Lib/vendor/crm-client-3.0.6/documentation/index.html new file mode 100644 index 0000000..c2a146c --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/index.html @@ -0,0 +1,145 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                CRM V2

                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                + + + + +
                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                Documentation

                                                                                                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                                                                                                + Packages + +

                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                LDCCrmClient
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                None
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                + +

                                                                                                                                                                                                                                                                                                + Namespaces + +

                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                LDC
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                + + + + + + + +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                Search results

                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                  + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/indices/files.html b/app/Lib/vendor/crm-client-3.0.6/documentation/indices/files.html new file mode 100644 index 0000000..e7538c2 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/indices/files.html @@ -0,0 +1,181 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  CRM V2

                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                                                                                                                  + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/js/search.js b/app/Lib/vendor/crm-client-3.0.6/documentation/js/search.js new file mode 100644 index 0000000..093d6d0 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/js/search.js @@ -0,0 +1,173 @@ +// Search module for phpDocumentor +// +// This module is a wrapper around fuse.js that will use a given index and attach itself to a +// search form and to a search results pane identified by the following data attributes: +// +// 1. data-search-form +// 2. data-search-results +// +// The data-search-form is expected to have a single input element of type 'search' that will trigger searching for +// a series of results, were the data-search-results pane is expected to have a direct UL child that will be populated +// with rendered results. +// +// The search has various stages, upon loading this stage the data-search-form receives the CSS class +// 'phpdocumentor-search--enabled'; this indicates that JS is allowed and indices are being loaded. It is recommended +// to hide the form by default and show it when it receives this class to achieve progressive enhancement for this +// feature. +// +// After loading this module, it is expected to load a search index asynchronously, for example: +// +// +// +// In this script the generated index should attach itself to the search module using the `appendIndex` function. By +// doing it like this the page will continue loading, unhindered by the loading of the search. +// +// After the page has fully loaded, and all these deferred indexes loaded, the initialization of the search module will +// be called and the form will receive the class 'phpdocumentor-search--active', indicating search is ready. At this +// point, the input field will also have it's 'disabled' attribute removed. +var Search = (function () { + var fuse; + var index = []; + var options = { + shouldSort: true, + threshold: 0.6, + location: 0, + distance: 100, + maxPatternLength: 32, + minMatchCharLength: 1, + keys: [ + "fqsen", + "name", + "summary", + "url" + ] + }; + + // Credit David Walsh (https://davidwalsh.name/javascript-debounce-function) + // Returns a function, that, as long as it continues to be invoked, will not + // be triggered. The function will be called after it stops being called for + // N milliseconds. If `immediate` is passed, trigger the function on the + // leading edge, instead of the trailing. + function debounce(func, wait, immediate) { + var timeout; + + return function executedFunction() { + var context = this; + var args = arguments; + + var later = function () { + timeout = null; + if (!immediate) func.apply(context, args); + }; + + var callNow = immediate && !timeout; + clearTimeout(timeout); + timeout = setTimeout(later, wait); + if (callNow) func.apply(context, args); + }; + } + + function close() { + // Start scroll prevention: https://css-tricks.com/prevent-page-scrolling-when-a-modal-is-open/ + const scrollY = document.body.style.top; + document.body.style.position = ''; + document.body.style.top = ''; + window.scrollTo(0, parseInt(scrollY || '0') * -1); + // End scroll prevention + + var form = document.querySelector('[data-search-form]'); + var searchResults = document.querySelector('[data-search-results]'); + + form.classList.toggle('phpdocumentor-search--has-results', false); + searchResults.classList.add('phpdocumentor-search-results--hidden'); + var searchField = document.querySelector('[data-search-form] input[type="search"]'); + searchField.blur(); + } + + function search(event) { + // Start scroll prevention: https://css-tricks.com/prevent-page-scrolling-when-a-modal-is-open/ + document.body.style.position = 'fixed'; + document.body.style.top = `-${window.scrollY}px`; + // End scroll prevention + + // prevent enter's from autosubmitting + event.stopPropagation(); + + var form = document.querySelector('[data-search-form]'); + var searchResults = document.querySelector('[data-search-results]'); + var searchResultEntries = document.querySelector('[data-search-results] .phpdocumentor-search-results__entries'); + + searchResultEntries.innerHTML = ''; + + if (!event.target.value) { + close(); + return; + } + + form.classList.toggle('phpdocumentor-search--has-results', true); + searchResults.classList.remove('phpdocumentor-search-results--hidden'); + var results = fuse.search(event.target.value, {limit: 25}); + + results.forEach(function (result) { + var entry = document.createElement("li"); + entry.classList.add("phpdocumentor-search-results__entry"); + entry.innerHTML += '

                                                                                                                                                                                                                                                                                                  ' + result.name + "

                                                                                                                                                                                                                                                                                                  \n"; + entry.innerHTML += '' + result.fqsen + "\n"; + entry.innerHTML += '
                                                                                                                                                                                                                                                                                                  ' + result.summary + '
                                                                                                                                                                                                                                                                                                  '; + searchResultEntries.appendChild(entry) + }); + } + + function appendIndex(added) { + index = index.concat(added); + + // re-initialize search engine when appending an index after initialisation + if (typeof fuse !== 'undefined') { + fuse = new Fuse(index, options); + } + } + + function init() { + fuse = new Fuse(index, options); + + var form = document.querySelector('[data-search-form]'); + var searchField = document.querySelector('[data-search-form] input[type="search"]'); + + var closeButton = document.querySelector('.phpdocumentor-search-results__close'); + closeButton.addEventListener('click', function() { close() }.bind(this)); + + var searchResults = document.querySelector('[data-search-results]'); + searchResults.addEventListener('click', function() { close() }.bind(this)); + + form.classList.add('phpdocumentor-search--active'); + + searchField.setAttribute('placeholder', 'Search (Press "/" to focus)'); + searchField.removeAttribute('disabled'); + searchField.addEventListener('keyup', debounce(search, 300)); + + window.addEventListener('keyup', function (event) { + if (event.key === '/') { + searchField.focus(); + } + if (event.code === 'Escape') { + close(); + } + }.bind(this)); + } + + return { + appendIndex, + init + } +})(); + +window.addEventListener('DOMContentLoaded', function () { + var form = document.querySelector('[data-search-form]'); + + // When JS is supported; show search box. Must be before including the search for it to take effect immediately + form.classList.add('phpdocumentor-search--enabled'); +}); + +window.addEventListener('load', function () { + Search.init(); +}); diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/js/searchIndex.js b/app/Lib/vendor/crm-client-3.0.6/documentation/js/searchIndex.js new file mode 100644 index 0000000..c19257f --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/js/searchIndex.js @@ -0,0 +1,1344 @@ +Search.appendIndex( + [ + { + "fqsen": "\\LDC\\LDCCRM\\CrmApiV2", + "name": "CrmApiV2", + "summary": "This\u0020is\u0020the\u0020main\u0020class\u0020to\u0020interact\u0020with\u0020the\u0020CRM", + "url": "classes/LDC-LDCCRM-CrmApiV2.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\CrmApiV2\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "CrmApiV2", + "url": "classes/LDC-LDCCRM-CrmApiV2.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\CrmApiV2\u003A\u003Aping\u0028\u0029", + "name": "ping", + "summary": "Use\u0020this\u0020the\u0020ping\u0020the\u0020crm\u0020and\u0020know\u0020its\u0020current\u0020status", + "url": "classes/LDC-LDCCRM-CrmApiV2.html#method_ping" + }, { + "fqsen": "\\LDC\\LDCCRM\\CrmApiV2\u003A\u003AgetCustomerOrNew\u0028\u0029", + "name": "getCustomerOrNew", + "summary": "Get\u0020a\u0020customer\u0020from\u0020its\u0020hashcode\u0020or\u0020email\nIf\u0020it\u0020does\u0020not\u0020exists\u0020a\u0020new\u0020instance\nwill\u0020be\u0020returned.\u0020You\u0020would\u0020have\nto\u0020call\u0020its\u0020save\u0020method\u0020later\u0020on.", + "url": "classes/LDC-LDCCRM-CrmApiV2.html#method_getCustomerOrNew" + }, { + "fqsen": "\\LDC\\LDCCRM\\CrmApiV2\u003A\u003AgetCustomer\u0028\u0029", + "name": "getCustomer", + "summary": "Get\u0020a\u0020customer\u0020from\u0020its\u0020hashcode\u0020or\u0020email\nIf\u0020it\u0020does\u0020not\u0020exists\u0020a\u0020new\u0020instance\nwill\u0020be\u0020returned.\u0020You\u0020would\u0020have\nto\u0020call\u0020its\u0020save\u0020method\u0020later\u0020on.", + "url": "classes/LDC-LDCCRM-CrmApiV2.html#method_getCustomer" + }, { + "fqsen": "\\LDC\\LDCCRM\\CrmApiV2\u003A\u003AsetStatus\u0028\u0029", + "name": "setStatus", + "summary": "Set\u0020the\u0020single\u0020optin\u0020status\u0020for\u0020an\u0020email", + "url": "classes/LDC-LDCCRM-CrmApiV2.html#method_setStatus" + }, { + "fqsen": "\\LDC\\LDCCRM\\CrmApiV2\u003A\u003Alogin\u0028\u0029", + "name": "login", + "summary": "Test\u0020a\u0020customer\u0020credentials\u0020to\u0020see\u0020if\u0020it\u0020can\u0020login", + "url": "classes/LDC-LDCCRM-CrmApiV2.html#method_login" + }, { + "fqsen": "\\LDC\\LDCCRM\\CrmApiV2\u003A\u003A\u0024apiInterface", + "name": "apiInterface", + "summary": "The\u0020Api\u0020object\u0020that\u0020will\u0020handle\u0020requests\u0020and\u0020responses", + "url": "classes/LDC-LDCCRM-CrmApiV2.html#property_apiInterface" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\ApiError", + "name": "ApiError", + "summary": "This\u0020describes\u0020an\u0020API\u0020error.", + "url": "classes/LDC-LDCCRM-Enums-ApiError.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\ApiError\u003A\u003Avalues\u0028\u0029", + "name": "values", + "summary": "Valeurs\u0020des\u0020possibilit\u00E9s\u0020de\u0020cet\u0020\u00E9num\u00E9ration\u0020\u0028value\u0029", + "url": "classes/LDC-LDCCRM-Enums-ApiError.html#method_values" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\ApiError\u003A\u003Alabels\u0028\u0029", + "name": "labels", + "summary": "Libell\u00E9s\u0020des\u0020possibilit\u00E9s\u0020de\u0020cet\u0020\u00E9num\u00E9ration\u0020\u0028label\u0029", + "url": "classes/LDC-LDCCRM-Enums-ApiError.html#method_labels" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\ApiStatus", + "name": "ApiStatus", + "summary": "", + "url": "classes/LDC-LDCCRM-Enums-ApiStatus.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\ArcadiaMailType", + "name": "ArcadiaMailType", + "summary": "", + "url": "classes/LDC-LDCCRM-Enums-ArcadiaMailType.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\ArcadiaMailType\u003A\u003Avalues\u0028\u0029", + "name": "values", + "summary": "Valeurs\u0020des\u0020possibilit\u00E9s\u0020de\u0020cet\u0020\u00E9num\u00E9ration\u0020\u0028value\u0029", + "url": "classes/LDC-LDCCRM-Enums-ArcadiaMailType.html#method_values" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\ArcadiaOrderType", + "name": "ArcadiaOrderType", + "summary": "", + "url": "classes/LDC-LDCCRM-Enums-ArcadiaOrderType.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\ArcadiaOrderType\u003A\u003Avalues\u0028\u0029", + "name": "values", + "summary": "Valeurs\u0020des\u0020possibilit\u00E9s\u0020de\u0020cet\u0020\u00E9num\u00E9ration\u0020\u0028value\u0029", + "url": "classes/LDC-LDCCRM-Enums-ArcadiaOrderType.html#method_values" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\Country", + "name": "Country", + "summary": "Liste\u0020de\u0020Pays", + "url": "classes/LDC-LDCCRM-Enums-Country.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\Country\u003A\u003Avalues\u0028\u0029", + "name": "values", + "summary": "Valeurs\u0020des\u0020possibilit\u00E9s\u0020de\u0020cet\u0020\u00E9num\u00E9ration\u0020\u0028value\u0029", + "url": "classes/LDC-LDCCRM-Enums-Country.html#method_values" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\Country\u003A\u003Alabels\u0028\u0029", + "name": "labels", + "summary": "Libell\u00E9s\u0020des\u0020possibilit\u00E9s\u0020de\u0020cet\u0020\u00E9num\u00E9ration\u0020\u0028label\u0029", + "url": "classes/LDC-LDCCRM-Enums-Country.html#method_labels" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\LogLevel", + "name": "LogLevel", + "summary": "", + "url": "classes/LDC-LDCCRM-Enums-LogLevel.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\LogLevel\u003A\u003Avalues\u0028\u0029", + "name": "values", + "summary": "Valeurs\u0020des\u0020possibilit\u00E9s\u0020de\u0020cet\u0020\u00E9num\u00E9ration\u0020\u0028value\u0029", + "url": "classes/LDC-LDCCRM-Enums-LogLevel.html#method_values" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\QuestionType", + "name": "QuestionType", + "summary": "", + "url": "classes/LDC-LDCCRM-Enums-QuestionType.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\QuestionType\u003A\u003Avalues\u0028\u0029", + "name": "values", + "summary": "Valeurs\u0020des\u0020possibilit\u00E9s\u0020de\u0020cet\u0020\u00E9num\u00E9ration\u0020\u0028value\u0029", + "url": "classes/LDC-LDCCRM-Enums-QuestionType.html#method_values" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ApiErrorException", + "name": "ApiErrorException", + "summary": "This\u0020would\u0020be\u0020thrown\u0020if\u0020any\u0020of\u0020the\u0020case\nreferenced\u0020in\u0020\\LDC\\LDCCRM\\Enums\\ApiError\u0020would\noccur\u0020within\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-Exceptions-ApiErrorException.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ApiErrorException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Create\u0020a\u0020new\u0020exception\u0020base\u0020on\u0020ApiError\u0020enum.", + "url": "classes/LDC-LDCCRM-Exceptions-ApiErrorException.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ApiErrorException\u003A\u003AgetApiError\u0028\u0029", + "name": "getApiError", + "summary": "Get\u0020the\u0020Api\u0020Error", + "url": "classes/LDC-LDCCRM-Exceptions-ApiErrorException.html#method_getApiError" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ApiErrorException\u003A\u003AgetStatusCode\u0028\u0029", + "name": "getStatusCode", + "summary": "Get\u0020the\u0020http\u0020code", + "url": "classes/LDC-LDCCRM-Exceptions-ApiErrorException.html#method_getStatusCode" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ApiErrorException\u003A\u003Areport\u0028\u0029", + "name": "report", + "summary": "This\u0020is\u0020used\u0020by\u0020laravel\u0020only.", + "url": "classes/LDC-LDCCRM-Exceptions-ApiErrorException.html#method_report" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ApiErrorException\u003A\u003A\u0024error", + "name": "error", + "summary": "Api\u0020Error\nThis\u0020value\u0020makes\u0020the\u0020error\u0020more\u0020explicit.", + "url": "classes/LDC-LDCCRM-Exceptions-ApiErrorException.html#property_error" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ApiErrorException\u003A\u003A\u0024message", + "name": "message", + "summary": "This\u0020is\u0020an\u0020explicit\u0020error\u0020message,\nou\u0020may\u0020print\u0020this\u0020to\u0020the\u0020front\u0020or\u0020not\u0020depending\non\u0020\u0024error\u0020value", + "url": "classes/LDC-LDCCRM-Exceptions-ApiErrorException.html#property_message" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ApiErrorException\u003A\u003A\u0024httpCode", + "name": "httpCode", + "summary": "This\u0020is\u0020the\u0020http\u0020code\u0020returned\u0020by\u0020the\u0020crm.", + "url": "classes/LDC-LDCCRM-Exceptions-ApiErrorException.html#property_httpCode" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\CrmException", + "name": "CrmException", + "summary": "This\u0020is\u0020a\u0020critical\u0020error.", + "url": "classes/LDC-LDCCRM-Exceptions-CrmException.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\CrmException\u003A\u003Areport\u0028\u0029", + "name": "report", + "summary": "This\u0020is\u0020used\u0020by\u0020laravel\u0020only.", + "url": "classes/LDC-LDCCRM-Exceptions-CrmException.html#method_report" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ValidationException", + "name": "ValidationException", + "summary": "This\u0020would\u0020be\u0020thrown\u0020if\u0020a\u0020data\u0020could\u0020not\u0020be\u0020validated\non\u0020any\u0020models", + "url": "classes/LDC-LDCCRM-Exceptions-ValidationException.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ValidationException\u003A\u003Areport\u0028\u0029", + "name": "report", + "summary": "This\u0020is\u0020used\u0020by\u0020laravel\u0020only.", + "url": "classes/LDC-LDCCRM-Exceptions-ValidationException.html#method_report" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Answer", + "name": "Answer", + "summary": "This\u0020class\u0020represents\u0020an\u0020answer\nIt\u0020has\u0020a\u0020method\u0020to\u0020submit\u0020answers", + "url": "classes/LDC-LDCCRM-Models-Answer.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Answer", + "url": "classes/LDC-LDCCRM-Models-Answer.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003AsetQuestionAnswers\u0028\u0029", + "name": "setQuestionAnswers", + "summary": "Set\u0020unanswered\u0020question\u0020for\u0020a\u0020specific\u0020customer", + "url": "classes/LDC-LDCCRM-Models-Answer.html#method_setQuestionAnswers" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003AjsonSerialize\u0028\u0029", + "name": "jsonSerialize", + "summary": "Serialize\u0020this\u0020object\u0020to\u0020an\u0020array", + "url": "classes/LDC-LDCCRM-Models-Answer.html#method_jsonSerialize" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003A\u0024id", + "name": "id", + "summary": "The\u0020question\u0020id", + "url": "classes/LDC-LDCCRM-Models-Answer.html#property_id" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003A\u0024answer", + "name": "answer", + "summary": "The\u0020actual\u0020answer\u0020as\u0020a\u0020string", + "url": "classes/LDC-LDCCRM-Models-Answer.html#property_answer" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003A\u0024modelFields", + "name": "modelFields", + "summary": "The\u0020crm\u0020customer\u0020fields", + "url": "classes/LDC-LDCCRM-Models-Answer.html#property_modelFields" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003A\u0024validation", + "name": "validation", + "summary": "Validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-Answer.html#property_validation" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault", + "name": "ArcadiaMailDefault", + "summary": "This\u0020class\u0020represents\u0020the\u0020customer\u0020info\u0020with\nthe\u0020account\u0020validation\u0020status", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "ArcadiaMailDefault", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A__get\u0028\u0029", + "name": "__get", + "summary": "Generic\u0020accessor", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#method___get" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A__set\u0028\u0029", + "name": "__set", + "summary": "Set\u0020prop", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#method___set" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003Afill\u0028\u0029", + "name": "fill", + "summary": "Fill\u0020data\u0020into\u0020this\u0020model\nusing\u0020validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#method_fill" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003AvalidateAllValues\u0028\u0029", + "name": "validateAllValues", + "summary": "Validate\u0020all\u0020model\u0020properties", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#method_validateAllValues" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003Asend\u0028\u0029", + "name": "send", + "summary": "Send\u0020The\u0020actual\u0020mail", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#method_send" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003AjsonSerialize\u0028\u0029", + "name": "jsonSerialize", + "summary": "Serialize\u0020this\u0020object\u0020to\u0020an\u0020array", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#method_jsonSerialize" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024email", + "name": "email", + "summary": "An\u0020RFC\u0020Valid\u0020Email", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_email" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024firstname", + "name": "firstname", + "summary": "First\u0020name", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_firstname" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024lastname", + "name": "lastname", + "summary": "Last\u0020name", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_lastname" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024phone", + "name": "phone", + "summary": "The\u0020user\u0020phone", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_phone" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024address", + "name": "address", + "summary": "The\u0020user\u0020address\u0020\u0028street\u0020number,\u0020name,\u0020etc\u0029", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_address" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024address2", + "name": "address2", + "summary": "The\u0020user\u0020address\u00202nd\u0020part\u0020\u0028street\u0020number,\u0020name,\u0020more,\u0020etc\u0029", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_address2" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024city", + "name": "city", + "summary": "The\u0020user\u0020address\u0020city", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_city" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024postcode", + "name": "postcode", + "summary": "The\u0020user\u0020address\u0020postcode", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_postcode" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024operation", + "name": "operation", + "summary": "The\u0020arcadia\u0020operation\u0020code", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_operation" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024support_code", + "name": "support_code", + "summary": "The\u0020arcadia\u0020support\u0020code", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_support_code" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024label_type_support", + "name": "label_type_support", + "summary": "The\u0020arcadia\u0020type\u0020support\u0020label", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_label_type_support" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024order_date", + "name": "order_date", + "summary": "The\u0020arcadia\u0020order\u0020date", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_order_date" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024order_num", + "name": "order_num", + "summary": "The\u0020arcadia\u0020order\u0020number", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_order_num" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024state_order", + "name": "state_order", + "summary": "The\u0020arcadia\u0020state\u0020order", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_state_order" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024package_unit_weight", + "name": "package_unit_weight", + "summary": "The\u0020arcadia\u0020package\u0020unit\u0020weight", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_package_unit_weight" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024modelFields", + "name": "modelFields", + "summary": "The\u0020crm\u0020customer\u0020fields", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_modelFields" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024validation", + "name": "validation", + "summary": "Validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_validation" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame", + "name": "ArcadiaMailGame", + "summary": "This\u0020class\u0020represents\u0020the\u0020customer\u0020info\u0020with\nthe\u0020account\u0020validation\u0020status", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "ArcadiaMailGame", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A__set\u0028\u0029", + "name": "__set", + "summary": "Set\u0020prop", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#method___set" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003Afill\u0028\u0029", + "name": "fill", + "summary": "Fill\u0020data\u0020into\u0020this\u0020model\nusing\u0020validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#method_fill" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003Asend\u0028\u0029", + "name": "send", + "summary": "Send\u0020The\u0020actual\u0020mail", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#method_send" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003AjsonSerialize\u0028\u0029", + "name": "jsonSerialize", + "summary": "Serialize\u0020this\u0020object\u0020to\u0020an\u0020array", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#method_jsonSerialize" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024email", + "name": "email", + "summary": "An\u0020RFC\u0020Valid\u0020Email", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_email" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024firstname", + "name": "firstname", + "summary": "First\u0020name", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_firstname" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024lastname", + "name": "lastname", + "summary": "Last\u0020name", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_lastname" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024phone", + "name": "phone", + "summary": "The\u0020user\u0020phone", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_phone" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024address", + "name": "address", + "summary": "The\u0020user\u0020address\u0020\u0028street\u0020number,\u0020name,\u0020etc\u0029", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_address" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024address2", + "name": "address2", + "summary": "The\u0020user\u0020address\u00202nd\u0020part\u0020\u0028street\u0020number,\u0020name,\u0020more,\u0020etc\u0029", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_address2" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024city", + "name": "city", + "summary": "The\u0020user\u0020address\u0020city", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_city" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024postcode", + "name": "postcode", + "summary": "The\u0020user\u0020address\u0020postcode", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_postcode" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024operation", + "name": "operation", + "summary": "The\u0020arcadia\u0020operation\u0020code", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_operation" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024support_code", + "name": "support_code", + "summary": "The\u0020arcadia\u0020support\u0020code", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_support_code" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024label_type_support", + "name": "label_type_support", + "summary": "The\u0020arcadia\u0020type\u0020support\u0020label", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_label_type_support" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024order_date", + "name": "order_date", + "summary": "The\u0020arcadia\u0020order\u0020date", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_order_date" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024code_unique", + "name": "code_unique", + "summary": "The\u0020arcadia\u0020code\u0020unique", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_code_unique" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024code_on_pack", + "name": "code_on_pack", + "summary": "The\u0020arcadia\u0020code\u0020on\u0020pack", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_code_on_pack" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024modelFields", + "name": "modelFields", + "summary": "The\u0020crm\u0020customer\u0020fields", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_modelFields" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024validation", + "name": "validation", + "summary": "Validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_validation" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer", + "name": "Customer", + "summary": "This\u0020class\u0020represents\u0020the\u0020customer\u0020info\u0020with\nthe\u0020account\u0020validation\u0020status.\u0020You\u0020can\u0020use\u0020it\u0020as\na\u0020standalone\u0020class\u0020but\u0020beware\u0020of\u0020catching\u0020exceptions", + "url": "classes/LDC-LDCCRM-Models-Customer.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Customer", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A__get\u0028\u0029", + "name": "__get", + "summary": "Generic\u0020accessor", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method___get" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A__set\u0028\u0029", + "name": "__set", + "summary": "Set\u0020prop\u0020on\u0020the\u0020model.", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method___set" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003Afill\u0028\u0029", + "name": "fill", + "summary": "Fill\u0020values\u0020into\u0020model\u0020using\u0020validation\u0020rules.", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_fill" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003AvalidateAllValues\u0028\u0029", + "name": "validateAllValues", + "summary": "Validate\u0020all\u0020model\u0020properties", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_validateAllValues" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003Afind\u0028\u0029", + "name": "find", + "summary": "Find\u0020a\u0020customer\u0020using\u0020its\u0020hashcode\u0020in\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_find" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003AfindWithEmail\u0028\u0029", + "name": "findWithEmail", + "summary": "Find\u0020a\u0020customer\u0020using\u0020its\u0020email\u0020in\u0020the\u0020crm\nThis\u0020is\u0020an\u0020alias\u0020of\u0020Customer\u003A\u003Afind\u0028\u0029", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_findWithEmail" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003Asave\u0028\u0029", + "name": "save", + "summary": "Save\u0020the\u0020customer\u0020on\u0020CRM.", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_save" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003Astore\u0028\u0029", + "name": "store", + "summary": "Calls\u0020api\u0020store\u0020customer\u0020method", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_store" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003Aupdate\u0028\u0029", + "name": "update", + "summary": "Calls\u0020api\u0020update\u0020customer\u0020method", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_update" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003Adelete\u0028\u0029", + "name": "delete", + "summary": "Removes\u0020the\u0020customer\u0020from\u0020CRM.", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_delete" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003Aactivate\u0028\u0029", + "name": "activate", + "summary": "Active\u0020the\u0020customer\u0020on\u0020CRM.", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_activate" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003AtoggleOptin\u0028\u0029", + "name": "toggleOptin", + "summary": "Toggle\u0020the\u0020account\u0020optin\u0020value\u0020in\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_toggleOptin" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003Alogin\u0028\u0029", + "name": "login", + "summary": "Test\u0020customer\u0020credentials", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_login" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003AjsonSerialize\u0028\u0029", + "name": "jsonSerialize", + "summary": "Serialize\u0020this\u0020object\u0020to\u0020an\u0020array", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_jsonSerialize" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024hashcode", + "name": "hashcode", + "summary": "The\u0020user\u0020hashcode,\u0020this\u0020is\u0020link\u0020with\u0020the\u0020customer\u0020and\u0020the\u0020brand\u0020it\u0020is\u0020related\u0020to\nIt\u0020is\u0020used\u0020to\u0020identify\u0020the\u0020customer\u0020itself.", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_hashcode" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024email", + "name": "email", + "summary": "An\u0020RFC\u0020Valid\u0020Email", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_email" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024password", + "name": "password", + "summary": "The\u0020user\u0020password\nThis\u0020is\u0020set\u0020only\u0020when\u0020creating\u0020a\u0020user\nOtherwise\u0020it\u0020has\u0020to\u0020be\u0020set\u0020to\u0020null", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_password" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024firstname", + "name": "firstname", + "summary": "First\u0020name", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_firstname" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024lastname", + "name": "lastname", + "summary": "Last\u0020name", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_lastname" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024birth_date", + "name": "birth_date", + "summary": "Birth\u0020date", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_birth_date" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024phone", + "name": "phone", + "summary": "The\u0020user\u0020phone", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_phone" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024address", + "name": "address", + "summary": "The\u0020user\u0020address\u0020\u0028street\u0020number,\u0020name,\u0020etc\u0029", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_address" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024address2", + "name": "address2", + "summary": "The\u0020user\u0020address\u00202nd\u0020part\u0020\u0028street\u0020number,\u0020name,\u0020more,\u0020etc\u0029", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_address2" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024city", + "name": "city", + "summary": "The\u0020user\u0020address\u0020city", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_city" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024postcode", + "name": "postcode", + "summary": "The\u0020user\u0020address\u0020postcode", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_postcode" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024country", + "name": "country", + "summary": "The\u0020user\u0020address\u0020postcode", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_country" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024opt_in", + "name": "opt_in", + "summary": "The\u0020user\u0020optin\u0020choice", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_opt_in" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024status", + "name": "status", + "summary": "Is\u0020the\u0020account\u0020activated\u0020\u003F", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_status" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024last_connection", + "name": "last_connection", + "summary": "The\u0020last\u0020time\u0020the\u0020account\u0020was\u0020connected", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_last_connection" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024modelFields", + "name": "modelFields", + "summary": "The\u0020crm\u0020customer\u0020fields", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_modelFields" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024invisibleFields", + "name": "invisibleFields", + "summary": "The\u0020crm\u0020customer\u0020fields\nthe\u0020should\u0020not\u0020be\u0020visible", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_invisibleFields" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024validation", + "name": "validation", + "summary": "Validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_validation" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question", + "name": "Question", + "summary": "This\u0020class\u0020represents\u0020a\u0020question\nIt\u0020has\u0020some\u0020static\u0020methods\u0020to\u0020retrieve\u0020questions\u0020and\u0020answers", + "url": "classes/LDC-LDCCRM-Models-Question.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Question", + "url": "classes/LDC-LDCCRM-Models-Question.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A__get\u0028\u0029", + "name": "__get", + "summary": "General\u0020accessor", + "url": "classes/LDC-LDCCRM-Models-Question.html#method___get" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A__set\u0028\u0029", + "name": "__set", + "summary": "Set\u0020prop\u0020on\u0020the\u0020model.", + "url": "classes/LDC-LDCCRM-Models-Question.html#method___set" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003Afill\u0028\u0029", + "name": "fill", + "summary": "Fill\u0020values\u0020into\u0020model\u0020using\u0020validation\u0020rules.", + "url": "classes/LDC-LDCCRM-Models-Question.html#method_fill" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003AvalidateAllValues\u0028\u0029", + "name": "validateAllValues", + "summary": "Validate\u0020all\u0020model\u0020properties", + "url": "classes/LDC-LDCCRM-Models-Question.html#method_validateAllValues" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003Aall\u0028\u0029", + "name": "all", + "summary": "Get\u0020all\u0020questions\u0020only", + "url": "classes/LDC-LDCCRM-Models-Question.html#method_all" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003AallWithCustomerAnswers\u0028\u0029", + "name": "allWithCustomerAnswers", + "summary": "Get\u0020all\u0020the\u0020questions\u0020with\u0020customer\u0020answers", + "url": "classes/LDC-LDCCRM-Models-Question.html#method_allWithCustomerAnswers" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003AunansweredBy\u0028\u0029", + "name": "unansweredBy", + "summary": "Get\u0020unanswered\u0020question\u0020for\u0020a\u0020specific\u0020customer", + "url": "classes/LDC-LDCCRM-Models-Question.html#method_unansweredBy" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003AjsonSerialize\u0028\u0029", + "name": "jsonSerialize", + "summary": "Serialize\u0020this\u0020object\u0020to\u0020an\u0020array", + "url": "classes/LDC-LDCCRM-Models-Question.html#method_jsonSerialize" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024id", + "name": "id", + "summary": "The\u0020question\u0020id", + "url": "classes/LDC-LDCCRM-Models-Question.html#property_id" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024question", + "name": "question", + "summary": "The\u0020actual\u0020question\u0020as\u0020a\u0020string", + "url": "classes/LDC-LDCCRM-Models-Question.html#property_question" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024type", + "name": "type", + "summary": "The\u0020question\u0020type", + "url": "classes/LDC-LDCCRM-Models-Question.html#property_type" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024answers", + "name": "answers", + "summary": "The\u0020question\u0020answers", + "url": "classes/LDC-LDCCRM-Models-Question.html#property_answers" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024modelFields", + "name": "modelFields", + "summary": "The\u0020crm\u0020customer\u0020fields", + "url": "classes/LDC-LDCCRM-Models-Question.html#property_modelFields" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024validation", + "name": "validation", + "summary": "Validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-Question.html#property_validation" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\SingleOptin", + "name": "SingleOptin", + "summary": "This\u0020class\u0020allows\u0020to\u0020handle\u0020single\u0020opt\u0020in", + "url": "classes/LDC-LDCCRM-Models-SingleOptin.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\SingleOptin\u003A\u003AsetStatus\u0028\u0029", + "name": "setStatus", + "summary": "Set\u0020the\u0020single\u0020opt\u0020in\u0020status\u0020for\u0020an\u0020email", + "url": "classes/LDC-LDCCRM-Models-SingleOptin.html#method_setStatus" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\SingleOptin\u003A\u003A\u0024validation", + "name": "validation", + "summary": "Validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-SingleOptin.html#property_validation" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request", + "name": "Request", + "summary": "The\u0020LDC\u0020CRM\u0020request\nContains\u0020the\u0020http\u0020method,\u0020the\u0020requested\u0020url\u0020and\u0020data\u0020to\u0020pass", + "url": "classes/LDC-LDCCRM-Transport-Request.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Request", + "url": "classes/LDC-LDCCRM-Transport-Request.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A__get\u0028\u0029", + "name": "__get", + "summary": "Generic\u0020accessor", + "url": "classes/LDC-LDCCRM-Transport-Request.html#method___get" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003AmakeRequest\u0028\u0029", + "name": "makeRequest", + "summary": "make\u0020the\u0020guzzle\u0020request", + "url": "classes/LDC-LDCCRM-Transport-Request.html#method_makeRequest" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003AsetEndpoint\u0028\u0029", + "name": "setEndpoint", + "summary": "Set\u0020the\u0020api\u0020endpoint\u0020to\u0020the\u0020request", + "url": "classes/LDC-LDCCRM-Transport-Request.html#method_setEndpoint" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003Acall\u0028\u0029", + "name": "call", + "summary": "Make\u0020the\u0020Http\u0020request", + "url": "classes/LDC-LDCCRM-Transport-Request.html#method_call" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003AaddHeaders\u0028\u0029", + "name": "addHeaders", + "summary": "Add\u0020headers\u0020to\u0020the\u0020request", + "url": "classes/LDC-LDCCRM-Transport-Request.html#method_addHeaders" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003AaddData\u0028\u0029", + "name": "addData", + "summary": "Add\u0020data\u0020to\u0020the\u0020request", + "url": "classes/LDC-LDCCRM-Transport-Request.html#method_addData" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A\u0024client", + "name": "client", + "summary": "GuzzleHttp\u0020client", + "url": "classes/LDC-LDCCRM-Transport-Request.html#property_client" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A\u0024method", + "name": "method", + "summary": "The\u0020http\u0020method", + "url": "classes/LDC-LDCCRM-Transport-Request.html#property_method" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A\u0024uri", + "name": "uri", + "summary": "The\u0020http\u0020url", + "url": "classes/LDC-LDCCRM-Transport-Request.html#property_uri" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A\u0024headers", + "name": "headers", + "summary": "Data\u0020to\u0020pass\u0020to\u0020the\u0020http\u0020headers", + "url": "classes/LDC-LDCCRM-Transport-Request.html#property_headers" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A\u0024data", + "name": "data", + "summary": "Data\u0020to\u0020pass\u0020to\u0020the\u0020http\u0020body", + "url": "classes/LDC-LDCCRM-Transport-Request.html#property_data" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A\u0024request", + "name": "request", + "summary": "Guzzle\u0020request", + "url": "classes/LDC-LDCCRM-Transport-Request.html#property_request" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A\u0024endpoint", + "name": "endpoint", + "summary": "The\u0020Api\u0020endpoint", + "url": "classes/LDC-LDCCRM-Transport-Request.html#property_endpoint" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response", + "name": "Response", + "summary": "", + "url": "classes/LDC-LDCCRM-Transport-Response.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Response", + "url": "classes/LDC-LDCCRM-Transport-Response.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A__get\u0028\u0029", + "name": "__get", + "summary": "Generic\u0020accessor", + "url": "classes/LDC-LDCCRM-Transport-Response.html#method___get" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003AtryDecodeJson\u0028\u0029", + "name": "tryDecodeJson", + "summary": "Try\u0020to\u0020decode\u0020json\u0020and\u0020return\u0020false\u0020if\u0020it\u0020is\nnot\u0020a\u0020valid\u0020json", + "url": "classes/LDC-LDCCRM-Transport-Response.html#method_tryDecodeJson" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003AcheckVersion\u0028\u0029", + "name": "checkVersion", + "summary": "This\u0020checks\u0020if\u0020the\u0020crm\u0020version\u0020is\u0020way\u0020far\u0020beyond\u0020the\u0020client\u0020version.", + "url": "classes/LDC-LDCCRM-Transport-Response.html#method_checkVersion" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A\u0024status", + "name": "status", + "summary": "The\u0020response\u0020status", + "url": "classes/LDC-LDCCRM-Transport-Response.html#property_status" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A\u0024apiError", + "name": "apiError", + "summary": "The\u0020api\u0020error", + "url": "classes/LDC-LDCCRM-Transport-Response.html#property_apiError" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A\u0024httpCode", + "name": "httpCode", + "summary": "The\u0020response\u0020http\u0020code", + "url": "classes/LDC-LDCCRM-Transport-Response.html#property_httpCode" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A\u0024headers", + "name": "headers", + "summary": "The\u0020response\u0020headers", + "url": "classes/LDC-LDCCRM-Transport-Response.html#property_headers" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A\u0024body", + "name": "body", + "summary": "The\u0020response\u0020body", + "url": "classes/LDC-LDCCRM-Transport-Response.html#property_body" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A\u0024message", + "name": "message", + "summary": "The\u0020interface\u0020message", + "url": "classes/LDC-LDCCRM-Transport-Response.html#property_message" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A\u0024response", + "name": "response", + "summary": "PSR\u0020response", + "url": "classes/LDC-LDCCRM-Transport-Response.html#property_response" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils", + "name": "Utils", + "summary": "This\u0020is\u0020the\u0020LDCCRM\u0020utility\u0020class", + "url": "classes/LDC-LDCCRM-Utils.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AmakeValidator\u0028\u0029", + "name": "makeValidator", + "summary": "Create\u0020a\u0020new\u0020Validator\u0020instance.", + "url": "classes/LDC-LDCCRM-Utils.html#method_makeValidator" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AmakeValidatorFromRule\u0028\u0029", + "name": "makeValidatorFromRule", + "summary": "Generate\u0020a\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_makeValidatorFromRule" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationRequired\u0028\u0029", + "name": "validationRequired", + "summary": "Make\u0020Required\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationRequired" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationNullable\u0028\u0029", + "name": "validationNullable", + "summary": "Make\u0020Nullable\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationNullable" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationSometimes\u0028\u0029", + "name": "validationSometimes", + "summary": "Make\u0020Sometimes\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationSometimes" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationInt\u0028\u0029", + "name": "validationInt", + "summary": "Make\u0020Int\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationInt" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationString\u0028\u0029", + "name": "validationString", + "summary": "Make\u0020String\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationString" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationBool\u0028\u0029", + "name": "validationBool", + "summary": "Make\u0020Bool\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationBool" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationMin\u0028\u0029", + "name": "validationMin", + "summary": "Make\u0020Min\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationMin" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationMax\u0028\u0029", + "name": "validationMax", + "summary": "Make\u0020Max\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationMax" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationUuid\u0028\u0029", + "name": "validationUuid", + "summary": "Make\u0020Uuid\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationUuid" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationMixedCase\u0028\u0029", + "name": "validationMixedCase", + "summary": "Make\u0020MixedCase\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationMixedCase" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationContainDigit\u0028\u0029", + "name": "validationContainDigit", + "summary": "Make\u0020ContainDigit\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationContainDigit" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationContainSymbol\u0028\u0029", + "name": "validationContainSymbol", + "summary": "Make\u0020ContainSymbol\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationContainSymbol" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationDate\u0028\u0029", + "name": "validationDate", + "summary": "Make\u0020Date\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationDate" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationDateFormat\u0028\u0029", + "name": "validationDateFormat", + "summary": "Make\u0020DateFormat\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationDateFormat" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationEmail\u0028\u0029", + "name": "validationEmail", + "summary": "Make\u0020Email\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationEmail" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationArray\u0028\u0029", + "name": "validationArray", + "summary": "Make\u0020Array\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationArray" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationClosure\u0028\u0029", + "name": "validationClosure", + "summary": "Make\u0020Closure\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationClosure" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AgetConfig\u0028\u0029", + "name": "getConfig", + "summary": "This\u0020is\u0020only\u0020used\u0020for\u0020unit\u0020tests.", + "url": "classes/LDC-LDCCRM-Utils.html#method_getConfig" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AgetResquest\u0028\u0029", + "name": "getResquest", + "summary": "Generate\u0020a\u0020Request\u0020from\u0020the\u0020route\u0020name", + "url": "classes/LDC-LDCCRM-Utils.html#method_getResquest" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AgetPackageInfo\u0028\u0029", + "name": "getPackageInfo", + "summary": "Get\u0020composer.json\u0020infos", + "url": "classes/LDC-LDCCRM-Utils.html#method_getPackageInfo" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003Atranslate\u0028\u0029", + "name": "translate", + "summary": "Translation\u0020a\u0020string\u0020using\u0020php\u0020file\u0020lang", + "url": "classes/LDC-LDCCRM-Utils.html#method_translate" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003Alog\u0028\u0029", + "name": "log", + "summary": "Write\u0020log\u0020using\u0020syslog\nIt\u0020also\u0020write\u0020log\u0020using\u0020\\Illuminate\\Support\\Facades\\Log\nif\u0020it\u0020is\u0020present", + "url": "classes/LDC-LDCCRM-Utils.html#method_log" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AsetRawProperty\u0028\u0029", + "name": "setRawProperty", + "summary": "Set\u0020a\u0020property\u0020without\u0020any\u0020validation.", + "url": "classes/LDC-LDCCRM-Utils.html#method_setRawProperty" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AgetRawProperty\u0028\u0029", + "name": "getRawProperty", + "summary": "Get\u0020a\u0020property\u0020of\u0020an\u0020object.", + "url": "classes/LDC-LDCCRM-Utils.html#method_getRawProperty" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003A\u0024packageInfos", + "name": "packageInfos", + "summary": "Package\u0020infos", + "url": "classes/LDC-LDCCRM-Utils.html#property_packageInfos" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003A\u0024translations", + "name": "translations", + "summary": "Loaded\u0020translations", + "url": "classes/LDC-LDCCRM-Utils.html#property_translations" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm", + "name": "WPCrm", + "summary": "Class\u0020de\u0020gestion\u0020des\u0020users\u0020en\u0020session\u0020avec\u0020Wordpress", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetUser\u0028\u0029", + "name": "getUser", + "summary": "Get\u0020the\u0020current\u0020user\nreturn\u0020null\u0020if\u0020the\u0020user\u0020is\u0020not\u0020logged\u0020in", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getUser" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AforceLogin\u0028\u0029", + "name": "forceLogin", + "summary": "Manually\u0020login\u0020a\u0020user\nIf\u0020self\u003A\u003A\u0024user\u0020is\u0020already\u0020set.", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_forceLogin" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetUserFromApi\u0028\u0029", + "name": "getUserFromApi", + "summary": "Get\u0020the\u0020current\u0020user\nreturn\u0020api\u0020response\u0020code\u0020if\u0020an\u0020error\u0020occurs", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getUserFromApi" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003Alogin\u0028\u0029", + "name": "login", + "summary": "Try\u0020to\u0020login\u0020with\u0020CRM\u0020API\nA\u0020session\u0020will\u0020be\u0020started\u0020if\u0020credentials\u0020are\u0020valid.", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_login" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003Alogout\u0028\u0029", + "name": "logout", + "summary": "Destroy\u0020the\u0020customer\u0020from\u0020session\nand\u0020therefore\u0020logout", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_logout" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003Acheck\u0028\u0029", + "name": "check", + "summary": "Check\u0020if\u0020the\u0020user\u0020is\u0020logged\u0020in.", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_check" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AsaveUser\u0028\u0029", + "name": "saveUser", + "summary": "Save\u0020current\u0020customer\u0020to\nthe\u0020local\u0020database\u0020and\u0020on\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_saveUser" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AdeleteUser\u0028\u0029", + "name": "deleteUser", + "summary": "Delete\u0020current\u0020customer\u0020from\nthe\u0020local\u0020database\u0020and\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_deleteUser" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AtoggleUserOptin\u0028\u0029", + "name": "toggleUserOptin", + "summary": "Toggle\u0020the\u0020current\u0020user\u0020optin\u0020value\non\u0020the\u0020current\u0020user\u0020and\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_toggleUserOptin" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AsetSingleOptin\u0028\u0029", + "name": "setSingleOptin", + "summary": "Set\u0020the\u0020single\u0020optin\u0020status\u0020for\u0020an\u0020email\non\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_setSingleOptin" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AactivateUser\u0028\u0029", + "name": "activateUser", + "summary": "Toggle\u0020the\u0020current\u0020user\u0020optin\u0020value\non\u0020the\u0020current\u0020user\u0020and\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_activateUser" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetNewUser\u0028\u0029", + "name": "getNewUser", + "summary": "Generate\u0020a\u0020new\u0020user", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getNewUser" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AunsetActiveUser\u0028\u0029", + "name": "unsetActiveUser", + "summary": "Remove\u0020active\u0020user\nto\u0020prevent\u0020WPCrm\u003A\u003Acheck\u0020to\u0020return\u0020true", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_unsetActiveUser" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AloginUserWithApi\u0028\u0029", + "name": "loginUserWithApi", + "summary": "Check\u0020customer\u0020credentials\u0020using\u0020the\u0020CRM.", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_loginUserWithApi" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetCustomer\u0028\u0029", + "name": "getCustomer", + "summary": "Get\u0020all\u0020customer\u0020infos", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getCustomer" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AsetUser\u0028\u0029", + "name": "setUser", + "summary": "Create\u0020a\u0020user\nstores\u0020it\u0020to\u0020the\u0020session\nand\u0020finally\u0020saves\u0020it\u0020to\u0020the\u0020database\u0020if\u0020it\u0020does\u0020not\u0020exists", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_setUser" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AinitLdcApi\u0028\u0029", + "name": "initLdcApi", + "summary": "Get\u0020the\u0020initialized\u0020API\u0020object", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_initLdcApi" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AmakeApiV2Call\u0028\u0029", + "name": "makeApiV2Call", + "summary": "Make\u0020a\u0020call\u0020using\u0020apiV2", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_makeApiV2Call" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AbootSessionIfNeeded\u0028\u0029", + "name": "bootSessionIfNeeded", + "summary": "Boot\u0020the\u0020php\u0020session\u0020if\u0020needed", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_bootSessionIfNeeded" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetUserFromTable\u0028\u0029", + "name": "getUserFromTable", + "summary": "Get\u0020a\u0020customer\u0020from\u0020table", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getUserFromTable" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetUserFromTableByEmail\u0028\u0029", + "name": "getUserFromTableByEmail", + "summary": "Get\u0020a\u0020customer\u0020from\u0020table\u0020by\u0020an\u0020email", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getUserFromTableByEmail" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetUserFromTableByUuid\u0028\u0029", + "name": "getUserFromTableByUuid", + "summary": "Get\u0020a\u0020customer\u0020from\u0020table\u0020by\u0020an\u0020email", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getUserFromTableByUuid" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AsaveOrUpdateUserToTable\u0028\u0029", + "name": "saveOrUpdateUserToTable", + "summary": "Save\u0020or\u0020update\u0020the\u0020user\u0020to\u0020the\u0020table", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_saveOrUpdateUserToTable" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AdeleteUserFromTable\u0028\u0029", + "name": "deleteUserFromTable", + "summary": "Save\u0020or\u0020update\u0020the\u0020user\u0020to\u0020the\u0020table", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_deleteUserFromTable" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003Aquery\u0028\u0029", + "name": "query", + "summary": "Query\u0020in\u0020DB", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_query" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetWpDb\u0028\u0029", + "name": "getWpDb", + "summary": "Get\u0020WP\u0020\u0027pdo\u0020instance\u0027", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getWpDb" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003A\u0024sessionKey", + "name": "sessionKey", + "summary": "The\u0020session\u0020key\u0020name", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#property_sessionKey" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003A\u0024sessionDestroyed", + "name": "sessionDestroyed", + "summary": "The\u0020session\u0020live\u0020status", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#property_sessionDestroyed" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003A\u0024api", + "name": "api", + "summary": "The\u0020user\u0020object", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#property_api" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003A\u0024user", + "name": "user", + "summary": "The\u0020user\u0020object", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#property_user" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmAnswer", + "name": "WPCrmAnswer", + "summary": "Class\u0020de\u0020gestion\u0020de\u0020la\u0020segmentation\u0020question\u0020avec\u0020Wordpress", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmAnswer.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmAnswer\u003A\u003AsetQuestionAnswers\u0028\u0029", + "name": "setQuestionAnswers", + "summary": "Set\u0020answers\u0020to\u0020a\u0020question\u0020for\u0020a\u0020specific\u0020user", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmAnswer.html#method_setQuestionAnswers" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmQuestion", + "name": "WPCrmQuestion", + "summary": "Class\u0020de\u0020gestion\u0020de\u0020la\u0020segmentation\u0020question\u0020avec\u0020Wordpress", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmQuestion\u003A\u003AgetAll\u0028\u0029", + "name": "getAll", + "summary": "Get\u0020all\u0020questions\u0020only", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html#method_getAll" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmQuestion\u003A\u003AallWithCustomerAnswers\u0028\u0029", + "name": "allWithCustomerAnswers", + "summary": "Get\u0020all\u0020the\u0020questions\u0020with\u0020user\u0020answers", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html#method_allWithCustomerAnswers" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmQuestion\u003A\u003AunansweredBy\u0028\u0029", + "name": "unansweredBy", + "summary": "Get\u0020unanswered\u0020question\u0020for\u0020a\u0020specific\u0020customer", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html#method_unansweredBy" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser", + "name": "WPCrmUser", + "summary": "Class\u0020de\u0020gestion\u0020des\u0020users\u0020en\u0020session\u0020avec\u0020Wordpress", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "WPCrmUser\u0020construct", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A__get\u0028\u0029", + "name": "__get", + "summary": "Generic\u0020accessor", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method___get" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A__set\u0028\u0029", + "name": "__set", + "summary": "Generic\u0020mutator", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method___set" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003AsetInfo\u0028\u0029", + "name": "setInfo", + "summary": "Set\u0020the\u0020customer\u0020info\nwith\u0020api\u0020response", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_setInfo" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003AparseFromJson\u0028\u0029", + "name": "parseFromJson", + "summary": "Generate\u0020a\u0020user\u0020from\u0020session\u0020data", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_parseFromJson" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003AjsonSerialize\u0028\u0029", + "name": "jsonSerialize", + "summary": "Serialize\u0020this\u0020object\u0020to\u0020an\u0020array", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_jsonSerialize" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003Asave\u0028\u0029", + "name": "save", + "summary": "Save\u0020current\u0020customer\u0020to\nthe\u0020local\u0020database\u0020and\u0020on\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_save" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003Adelete\u0028\u0029", + "name": "delete", + "summary": "Delete\u0020current\u0020customer\u0020to\nthe\u0020local\u0020database\u0020and\u0020on\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_delete" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003AtoggleOptin\u0028\u0029", + "name": "toggleOptin", + "summary": "Toggle\u0020the\u0020current\u0020user\u0020optin\u0020value\non\u0020the\u0020current\u0020user\u0020and\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_toggleOptin" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003Aactivate\u0028\u0029", + "name": "activate", + "summary": "Activate\u0020the\u0020account\u0020in\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_activate" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A\u0024phashcode", + "name": "phashcode", + "summary": "The\u0020CRM\u0020hashcode\u0020\u0028UUID\u0029", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#property_phashcode" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A\u0024pemail", + "name": "pemail", + "summary": "The\u0020CRM\u0020customer\u0020email", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#property_pemail" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A\u0024info", + "name": "info", + "summary": "The\u0020CRM\u0020customer\u0020info\u0020\u0028the\u0020api\u0020response\u0029", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#property_info" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A\u0024uuidToken", + "name": "uuidToken", + "summary": "The\u0020CRM\u0020customer\u0020temp\u0020uuidToken\u0020to\u0020validate\u0020transactions", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#property_uuidToken" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\AccessError", + "name": "AccessError", + "summary": "This\u0020is\u0020thrown\u0020when\u0020trying\u0020to\u0020set\u0020a\u0020value\u0020on\u0020an\u0020object\u0020property\u0020that\u0020does\u0020not\u0020exist.", + "url": "classes/LDC-LDCCRM-Exceptions-AccessError.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\AccessError\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "AccessError", + "url": "classes/LDC-LDCCRM-Exceptions-AccessError.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\SkipValidationException", + "name": "SkipValidationException", + "summary": "Used\u0020only\u0020for\u0020internal\u0020validator", + "url": "classes/LDC-LDCCRM-Exceptions-SkipValidationException.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\WpCrmInvalidJsonUserInfo", + "name": "WpCrmInvalidJsonUserInfo", + "summary": "This\u0020is\u0020thrown\u0020when\u0020trying\u0020to\u0020read\u0020WP\u0020customer\u0020from\u0020DB\u0020json\u0020data.", + "url": "classes/LDC-LDCCRM-Exceptions-WpCrmInvalidJsonUserInfo.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\WpCrmInvalidJsonUserInfo\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "WpCrmInvalidJsonUserInfo", + "url": "classes/LDC-LDCCRM-Exceptions-WpCrmInvalidJsonUserInfo.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Stats", + "name": "Stats", + "summary": "This\u0020class\u0020is\u0020used\u0020to\u0020get\u0020stats\u0020from\u0020CRM", + "url": "classes/LDC-LDCCRM-Models-Stats.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Stats\u003A\u003AgetBrandStats\u0028\u0029", + "name": "getBrandStats", + "summary": "Get\u0020brand\u0020stats\u0020ordered\u0020by\u0020ascendent\u0020days", + "url": "classes/LDC-LDCCRM-Models-Stats.html#method_getBrandStats" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Stats\u003A\u003AgetQuestionStats\u0028\u0029", + "name": "getQuestionStats", + "summary": "Get\u0020brand\u0020stats\u0020ordered\u0020by\u0020ascendent\u0020days", + "url": "classes/LDC-LDCCRM-Models-Stats.html#method_getQuestionStats" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Stats\u003A\u003A\u0024validation", + "name": "validation", + "summary": "Validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-Stats.html#property_validation" + }, { + "fqsen": "\\", + "name": "\\", + "summary": "", + "url": "namespaces/default.html" + }, { + "fqsen": "\\LDC\\LDCCRM", + "name": "LDCCRM", + "summary": "", + "url": "namespaces/ldc-ldccrm.html" + }, { + "fqsen": "\\LDC", + "name": "LDC", + "summary": "", + "url": "namespaces/ldc.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums", + "name": "Enums", + "summary": "", + "url": "namespaces/ldc-ldccrm-enums.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions", + "name": "Exceptions", + "summary": "", + "url": "namespaces/ldc-ldccrm-exceptions.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models", + "name": "Models", + "summary": "", + "url": "namespaces/ldc-ldccrm-models.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport", + "name": "Transport", + "summary": "", + "url": "namespaces/ldc-ldccrm-transport.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress", + "name": "WordPress", + "summary": "", + "url": "namespaces/ldc-ldccrm-wordpress.html" + } ] +); diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/namespaces/default.html b/app/Lib/vendor/crm-client-3.0.6/documentation/namespaces/default.html new file mode 100644 index 0000000..2bf9621 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/namespaces/default.html @@ -0,0 +1,140 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  CRM V2

                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  + + + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  API Documentation

                                                                                                                                                                                                                                                                                                  + + +

                                                                                                                                                                                                                                                                                                  + Namespaces + +

                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  LDC
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  + + + + + + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  Search results

                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                    + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm-enums.html b/app/Lib/vendor/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm-enums.html new file mode 100644 index 0000000..9d2d5a8 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm-enums.html @@ -0,0 +1,157 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                    CRM V2

                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                    Search results

                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                      + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm-exceptions.html b/app/Lib/vendor/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm-exceptions.html new file mode 100644 index 0000000..aa3a198 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm-exceptions.html @@ -0,0 +1,158 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      CRM V2

                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      Exceptions

                                                                                                                                                                                                                                                                                                      + + + +

                                                                                                                                                                                                                                                                                                      + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                      ApiErrorException
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      This would be thrown if any of the case +referenced in \LDC\LDCCRM\Enums\ApiError would +occur within the crm
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      CrmException
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      This is a critical error.
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      ValidationException
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      This would be thrown if a data could not be validated +on any models
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      AccessError
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      This is thrown when trying to set a value on an object property that does not exist.
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      SkipValidationException
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      Used only for internal validator
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      WpCrmInvalidJsonUserInfo
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      This is thrown when trying to read WP customer from DB json data.
                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                      + + + + + + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      Search results

                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                        + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm-models.html b/app/Lib/vendor/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm-models.html new file mode 100644 index 0000000..6bd80e0 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm-models.html @@ -0,0 +1,163 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                        CRM V2

                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                        Models

                                                                                                                                                                                                                                                                                                        + + + +

                                                                                                                                                                                                                                                                                                        + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                        Answer
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        This class represents an answer +It has a method to submit answers
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        ArcadiaMailDefault
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        This class represents the customer info with +the account validation status
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        ArcadiaMailGame
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        This class represents the customer info with +the account validation status
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        Customer
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        This class represents the customer info with +the account validation status. You can use it as +a standalone class but beware of catching exceptions
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        Question
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        This class represents a question +It has some static methods to retrieve questions and answers
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        SingleOptin
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        This class allows to handle single opt in
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        Stats
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        This class is used to get stats from CRM
                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                        + + + + + + +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                        Search results

                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                          + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm-transport.html b/app/Lib/vendor/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm-transport.html new file mode 100644 index 0000000..ffd9cb5 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm-transport.html @@ -0,0 +1,148 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          CRM V2

                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          Transport

                                                                                                                                                                                                                                                                                                          + + + +

                                                                                                                                                                                                                                                                                                          + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                          Request
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          The LDC CRM request +Contains the http method, the requested url and data to pass
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          Response
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                          + + + + + + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          Search results

                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                            + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm-wordpress.html b/app/Lib/vendor/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm-wordpress.html new file mode 100644 index 0000000..a73db3c --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm-wordpress.html @@ -0,0 +1,151 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                            CRM V2

                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            + + + + +
                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                            WordPress

                                                                                                                                                                                                                                                                                                            + + + +

                                                                                                                                                                                                                                                                                                            + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                            WPCrm
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            Class de gestion des users en session avec Wordpress
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            WPCrmAnswer
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            Class de gestion de la segmentation question avec Wordpress
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            WPCrmQuestion
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            Class de gestion de la segmentation question avec Wordpress
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            WPCrmUser
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            Class de gestion des users en session avec Wordpress
                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                            + + + + + + +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                            Search results

                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                              + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm.html b/app/Lib/vendor/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm.html new file mode 100644 index 0000000..eeab387 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm.html @@ -0,0 +1,158 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              CRM V2

                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              + + + + +
                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              LDCCRM

                                                                                                                                                                                                                                                                                                              + + +

                                                                                                                                                                                                                                                                                                              + Namespaces + +

                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              Enums
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              Exceptions
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              Models
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              Transport
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              WordPress
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                              + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                              CrmApiV2
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              This is the main class to interact with the CRM
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              Utils
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              This is the LDCCRM utility class
                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                              + + + + + + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              Search results

                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/namespaces/ldc.html b/app/Lib/vendor/crm-client-3.0.6/documentation/namespaces/ldc.html new file mode 100644 index 0000000..c8f2e29 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/namespaces/ldc.html @@ -0,0 +1,140 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                CRM V2

                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                + + + + +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                LDC

                                                                                                                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                                                                                                                + Namespaces + +

                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                LDCCRM
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                + + + + + + + +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                Search results

                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                  + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/packages/LDCCrmClient-Wordpress.html b/app/Lib/vendor/crm-client-3.0.6/documentation/packages/LDCCrmClient-Wordpress.html new file mode 100644 index 0000000..bb3bbc5 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/packages/LDCCrmClient-Wordpress.html @@ -0,0 +1,150 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  CRM V2

                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  + + + + +
                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  Wordpress

                                                                                                                                                                                                                                                                                                                  + + + +

                                                                                                                                                                                                                                                                                                                  + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                  WPCrm
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  Class de gestion des users en session avec Wordpress
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  WPCrmAnswer
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  Class de gestion de la segmentation question avec Wordpress
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  WPCrmQuestion
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  Class de gestion de la segmentation question avec Wordpress
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  WPCrmUser
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  Class de gestion des users en session avec Wordpress
                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                  + + + + + + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  Search results

                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                    + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/packages/LDCCrmClient-enums.html b/app/Lib/vendor/crm-client-3.0.6/documentation/packages/LDCCrmClient-enums.html new file mode 100644 index 0000000..e9eef39 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/packages/LDCCrmClient-enums.html @@ -0,0 +1,156 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                    CRM V2

                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                    Search results

                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                      + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/packages/LDCCrmClient-exceptions.html b/app/Lib/vendor/crm-client-3.0.6/documentation/packages/LDCCrmClient-exceptions.html new file mode 100644 index 0000000..bfa13ff --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/packages/LDCCrmClient-exceptions.html @@ -0,0 +1,157 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      CRM V2

                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      exceptions

                                                                                                                                                                                                                                                                                                                      + + + +

                                                                                                                                                                                                                                                                                                                      + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                      ApiErrorException
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      This would be thrown if any of the case +referenced in \LDC\LDCCRM\Enums\ApiError would +occur within the crm
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      CrmException
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      This is a critical error.
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      ValidationException
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      This would be thrown if a data could not be validated +on any models
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      AccessError
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      This is thrown when trying to set a value on an object property that does not exist.
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      SkipValidationException
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      Used only for internal validator
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      WpCrmInvalidJsonUserInfo
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      This is thrown when trying to read WP customer from DB json data.
                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                      + + + + + + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      Search results

                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                        + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/packages/LDCCrmClient-models.html b/app/Lib/vendor/crm-client-3.0.6/documentation/packages/LDCCrmClient-models.html new file mode 100644 index 0000000..69e64b0 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/packages/LDCCrmClient-models.html @@ -0,0 +1,162 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                        CRM V2

                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                        models

                                                                                                                                                                                                                                                                                                                        + + + +

                                                                                                                                                                                                                                                                                                                        + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                        Answer
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        This class represents an answer +It has a method to submit answers
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        ArcadiaMailDefault
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        This class represents the customer info with +the account validation status
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        ArcadiaMailGame
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        This class represents the customer info with +the account validation status
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        Customer
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        This class represents the customer info with +the account validation status. You can use it as +a standalone class but beware of catching exceptions
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        Question
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        This class represents a question +It has some static methods to retrieve questions and answers
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        SingleOptin
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        This class allows to handle single opt in
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        Stats
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        This class is used to get stats from CRM
                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                        + + + + + + +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                        Search results

                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                          + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/packages/LDCCrmClient-transport.html b/app/Lib/vendor/crm-client-3.0.6/documentation/packages/LDCCrmClient-transport.html new file mode 100644 index 0000000..29218c0 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/packages/LDCCrmClient-transport.html @@ -0,0 +1,147 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          CRM V2

                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          transport

                                                                                                                                                                                                                                                                                                                          + + + +

                                                                                                                                                                                                                                                                                                                          + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                          Request
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          The LDC CRM request +Contains the http method, the requested url and data to pass
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          Response
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                          + + + + + + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          Search results

                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                            + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/packages/LDCCrmClient-utilities.html b/app/Lib/vendor/crm-client-3.0.6/documentation/packages/LDCCrmClient-utilities.html new file mode 100644 index 0000000..36df7b4 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/packages/LDCCrmClient-utilities.html @@ -0,0 +1,144 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                            CRM V2

                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            + + + + +
                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                            utilities

                                                                                                                                                                                                                                                                                                                            + + + +

                                                                                                                                                                                                                                                                                                                            + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                            Utils
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            This is the LDCCRM utility class
                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                            + + + + + + +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                            Search results

                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                              + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/packages/LDCCrmClient.html b/app/Lib/vendor/crm-client-3.0.6/documentation/packages/LDCCrmClient.html new file mode 100644 index 0000000..3f93f42 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/packages/LDCCrmClient.html @@ -0,0 +1,156 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              CRM V2

                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                              + + + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              Search results

                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/packages/None.html b/app/Lib/vendor/crm-client-3.0.6/documentation/packages/None.html new file mode 100644 index 0000000..cbcdc70 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/packages/None.html @@ -0,0 +1,132 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                CRM V2

                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                + + + + +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                                                                                                                + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                Search results

                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                  + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/packages/default.html b/app/Lib/vendor/crm-client-3.0.6/documentation/packages/default.html new file mode 100644 index 0000000..e64a362 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/packages/default.html @@ -0,0 +1,141 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  CRM V2

                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  + + + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  API Documentation

                                                                                                                                                                                                                                                                                                                                  + +

                                                                                                                                                                                                                                                                                                                                  + Packages + +

                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  LDCCrmClient
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  None
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  Search results

                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                    + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/reports/deprecated.html b/app/Lib/vendor/crm-client-3.0.6/documentation/reports/deprecated.html new file mode 100644 index 0000000..cc64b57 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/reports/deprecated.html @@ -0,0 +1,130 @@ + + + + + CRM V2 » Deprecated elements + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                    CRM V2

                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                    Deprecated

                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                    + No deprecated elements have been found in this project. +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                    Search results

                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                      + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/reports/errors.html b/app/Lib/vendor/crm-client-3.0.6/documentation/reports/errors.html new file mode 100644 index 0000000..9e5e6ad --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/reports/errors.html @@ -0,0 +1,129 @@ + + + + + CRM V2 » Compilation errors + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      CRM V2

                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      Errors

                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                      No errors have been found in this project.
                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      Search results

                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                        + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/documentation/reports/markers.html b/app/Lib/vendor/crm-client-3.0.6/documentation/reports/markers.html new file mode 100644 index 0000000..9955eeb --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/documentation/reports/markers.html @@ -0,0 +1,768 @@ + + + + + CRM V2 » Markers + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                        CRM V2

                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                        Markers

                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                        Table of Contents

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        examples/CustomerExample.php1
                                                                                                                                                                                                                                                                                                                                        src/Enums/ApiError.php2
                                                                                                                                                                                                                                                                                                                                        src/Enums/Country.php1
                                                                                                                                                                                                                                                                                                                                        src/Exceptions/ApiErrorException.php2
                                                                                                                                                                                                                                                                                                                                        src/Exceptions/CrmException.php1
                                                                                                                                                                                                                                                                                                                                        src/Models/Answer.php1
                                                                                                                                                                                                                                                                                                                                        src/Models/ArcadiaMailDefault.php3
                                                                                                                                                                                                                                                                                                                                        src/Models/ArcadiaMailGame.php2
                                                                                                                                                                                                                                                                                                                                        src/Models/CrmClientModel.php5
                                                                                                                                                                                                                                                                                                                                        src/Models/Customer.php5
                                                                                                                                                                                                                                                                                                                                        src/Models/Question.php3
                                                                                                                                                                                                                                                                                                                                        src/Transport/ApiInterface.php6
                                                                                                                                                                                                                                                                                                                                        src/Transport/Request.php1
                                                                                                                                                                                                                                                                                                                                        src/Transport/Response.php4
                                                                                                                                                                                                                                                                                                                                        src/Utils.php8
                                                                                                                                                                                                                                                                                                                                        src/WordPress/WPCrm.php8
                                                                                                                                                                                                                                                                                                                                        src/WordPress/WPCrmAnswer.php2
                                                                                                                                                                                                                                                                                                                                        src/WordPress/WPCrmQuestion.php6
                                                                                                                                                                                                                                                                                                                                        src/WordPress/WPCrmUser.php2
                                                                                                                                                                                                                                                                                                                                        + + +

                                                                                                                                                                                                                                                                                                                                        CustomerExample.php

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        TypeLineDescription
                                                                                                                                                                                                                                                                                                                                        53phpcs:ignore Squiz.PHP.DiscouragedFunctions.Found
                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                        ApiError.php

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        TypeLineDescription
                                                                                                                                                                                                                                                                                                                                        53supportweb.ldc.fr
                                                                                                                                                                                                                                                                                                                                        59supportweb.ldc.fr
                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                        Country.php

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        TypeLineDescription
                                                                                                                                                                                                                                                                                                                                        9datahub.io/core/country-list Data Hub country list
                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                        ApiErrorException.php

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        TypeLineDescription
                                                                                                                                                                                                                                                                                                                                        100@codeCoverageIgnoreStart
                                                                                                                                                                                                                                                                                                                                        102@codeCoverageIgnoreEnd
                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                        CrmException.php

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        TypeLineDescription
                                                                                                                                                                                                                                                                                                                                        11supportweb.ldc.fr
                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                        Answer.php

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        TypeLineDescription
                                                                                                                                                                                                                                                                                                                                        80* PUBLIC METHODS
                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                        ArcadiaMailDefault.php

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        TypeLineDescription
                                                                                                                                                                                                                                                                                                                                        325* Cast anyway
                                                                                                                                                                                                                                                                                                                                        349Use this to throw validation error.
                                                                                                                                                                                                                                                                                                                                        357* PUBLIC METHODS
                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                        ArcadiaMailGame.php

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        TypeLineDescription
                                                                                                                                                                                                                                                                                                                                        294* Cast anyway
                                                                                                                                                                                                                                                                                                                                        301* PUBLIC METHODS
                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                        CrmClientModel.php

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        TypeLineDescription
                                                                                                                                                                                                                                                                                                                                        118phpcs:ignore Generic.CodeAnalysis.EmptyStatement.DetectedCatch
                                                                                                                                                                                                                                                                                                                                        120Do nothing.
                                                                                                                                                                                                                                                                                                                                        148* Force boolean
                                                                                                                                                                                                                                                                                                                                        166end foreach
                                                                                                                                                                                                                                                                                                                                        167end if
                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                        Customer.php

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        TypeLineDescription
                                                                                                                                                                                                                                                                                                                                        349* Cast anyway
                                                                                                                                                                                                                                                                                                                                        370Use this to throw validation error.
                                                                                                                                                                                                                                                                                                                                        378* PUBLIC METHODS
                                                                                                                                                                                                                                                                                                                                        399! Use fillRaw here because we cant validate comming
                                                                                                                                                                                                                                                                                                                                        400! from CRM since it has crappy data comming from the old crm (jellix).
                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                        Question.php

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        TypeLineDescription
                                                                                                                                                                                                                                                                                                                                        158* Cast anyway
                                                                                                                                                                                                                                                                                                                                        179Use this to throw validation error.
                                                                                                                                                                                                                                                                                                                                        187* PUBLIC METHODS
                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                        ApiInterface.php

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        TypeLineDescription
                                                                                                                                                                                                                                                                                                                                        78Handle HTTP Auth .
                                                                                                                                                                                                                                                                                                                                        97* Handle response Status.
                                                                                                                                                                                                                                                                                                                                        175! UTC date time.
                                                                                                                                                                                                                                                                                                                                        195%s%s',
                                                                                                                                                                                                                                                                                                                                        196Assume https if non provided, security first.
                                                                                                                                                                                                                                                                                                                                        221! Natural sort by keys.
                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                        Request.php

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        TypeLineDescription
                                                                                                                                                                                                                                                                                                                                        169! Do not throw HTTP Exceptions.
                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                        Response.php

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        TypeLineDescription
                                                                                                                                                                                                                                                                                                                                        97* Body should be json data.
                                                                                                                                                                                                                                                                                                                                        106* If Api Error.
                                                                                                                                                                                                                                                                                                                                        108* If CRM Exception or Any Exception.
                                                                                                                                                                                                                                                                                                                                        112* From here it should be an ApiErrorException.
                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                        Utils.php

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        TypeLineDescription
                                                                                                                                                                                                                                                                                                                                        58end foreach
                                                                                                                                                                                                                                                                                                                                        59end foreach
                                                                                                                                                                                                                                                                                                                                        126end switch
                                                                                                                                                                                                                                                                                                                                        129* VALIDATION RULES
                                                                                                                                                                                                                                                                                                                                        502* END VALIDATION RULES
                                                                                                                                                                                                                                                                                                                                        534Convert bool to integer.
                                                                                                                                                                                                                                                                                                                                        641end switch
                                                                                                                                                                                                                                                                                                                                        643end if
                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                        WPCrm.php

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        TypeLineDescription
                                                                                                                                                                                                                                                                                                                                        9opensource.org/licenses/MIT
                                                                                                                                                                                                                                                                                                                                        43opensource.org/licenses/MIT
                                                                                                                                                                                                                                                                                                                                        351* --- PRIVATE --- METHODS
                                                                                                                                                                                                                                                                                                                                        475If session identity is violated.
                                                                                                                                                                                                                                                                                                                                        477If session timed out.
                                                                                                                                                                                                                                                                                                                                        480* 15 minutes session.
                                                                                                                                                                                                                                                                                                                                        483Destroy session.
                                                                                                                                                                                                                                                                                                                                        621phpcs:ignore Squiz.PHP.GlobalKeyword.NotAllowed
                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                        WPCrmAnswer.php

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        TypeLineDescription
                                                                                                                                                                                                                                                                                                                                        9opensource.org/licenses/MIT
                                                                                                                                                                                                                                                                                                                                        24opensource.org/licenses/MIT
                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                        WPCrmQuestion.php

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        TypeLineDescription
                                                                                                                                                                                                                                                                                                                                        9opensource.org/licenses/MIT
                                                                                                                                                                                                                                                                                                                                        25opensource.org/licenses/MIT
                                                                                                                                                                                                                                                                                                                                        57* Force loading of user info from crm
                                                                                                                                                                                                                                                                                                                                        61* Get the raw customer
                                                                                                                                                                                                                                                                                                                                        80* Force loading of user info from crm
                                                                                                                                                                                                                                                                                                                                        84* Get the raw customer
                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                        WPCrmUser.php

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        TypeLineDescription
                                                                                                                                                                                                                                                                                                                                        9opensource.org/licenses/MIT
                                                                                                                                                                                                                                                                                                                                        66opensource.org/licenses/MIT
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                        Search results

                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                          + + + + + + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/examples/CustomerExample.php b/app/Lib/vendor/crm-client-3.0.6/examples/CustomerExample.php new file mode 100644 index 0000000..8154437 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/examples/CustomerExample.php @@ -0,0 +1,55 @@ +getCustomerOrNew('123e4567-e89b-12d3-a456-426614174000'); + +echo $customer->firstname; + +$customer->firstname = 'new firstname'; + +try { + if ($customer->save()) { + echo 'Customer was updated'; + } +} catch (ApiErrorException $e) { + if ($e->getApiError()->equals(ApiError::modelNotFound())) { + echo 'This customer does not exists in crm therefore we cannot update it'; + echo $e->getMessage(); + } + if ($e->getApiError()->equals(ApiError::validationFailed())) { + echo 'Some of the provided fields were not ok'; + echo $e->getMessage(); + } +} + +$customer = new Customer(); + +$customer->firstname = 'toto'; +$customer->lastname = 'delarogerie'; +$customer->email = 'toto.delarogerie@gmail.com'; +$customer->password = 'Complic4tEd!P4assW0rd'; +$customer->birth_date = '1992-03-08'; +$customer->phone = '0673891160'; +$customer->address = 'rue des totos'; +$customer->city = 'Toto ville'; +$customer->postcode = '72160'; +$customer->country = Country::france(); + +try { + if ($customer->save()) { + echo 'Customer is saved in crm'; + } else { + echo 'Customer was not saved in crm'; + } +} catch (ApiErrorException $e) { + echo 'Something went wrong'; + echo $e->getMessage(); + // phpcs:ignore Squiz.PHP.DiscouragedFunctions.Found + print_r($e->getApiError()); +} diff --git a/app/Lib/vendor/crm-client-3.0.6/license.md b/app/Lib/vendor/crm-client-3.0.6/license.md new file mode 100644 index 0000000..8ee145e --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/license.md @@ -0,0 +1,21 @@ +MIT License (!! includes CC BY-NC 3.0 parts please read Readme.md) + +Copyright (c) 2021 Jérémy Munsch + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/app/Lib/vendor/crm-client-3.0.6/phpcs.xml b/app/Lib/vendor/crm-client-3.0.6/phpcs.xml new file mode 100644 index 0000000..f971c7f --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/phpcs.xml @@ -0,0 +1,125 @@ + + + Created with the PHP Coding Standard Generator. http://edorian.github.com/php-coding-standard-generator/ + + + src/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */database/migrations/* + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/phpdoc.dist.xml b/app/Lib/vendor/crm-client-3.0.6/phpdoc.dist.xml new file mode 100644 index 0000000..06786b0 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/phpdoc.dist.xml @@ -0,0 +1,21 @@ + + + CRM V2 + + documentation + + + + + examples + src + + LDCCrmClient + + + diff --git a/app/Lib/vendor/crm-client-3.0.6/readme.md b/app/Lib/vendor/crm-client-3.0.6/readme.md new file mode 100644 index 0000000..9ed217b --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/readme.md @@ -0,0 +1,143 @@ +# LDC CRM api + +Api client for CRM V2 + +**Client version must match CRM version !!** + + +- [LDC CRM api](#ldc-crm-api) + - [**Installation**](#installation) + - [**Usage**](#usage) + - [**Using Laravel**](#using-laravel) + - [**Using any other project**](#using-any-other-project) + - [**Using Wordpress**](#using-wordpress) + - [**Using custom implementation and calling directly CRM**](#using-custom-implementation-and-calling-directly-crm) + - [**More information**](#more-information) + - [**Customer Informations**](#customer-informations) + - [**Change log**](#change-log) + - [**Testing**](#testing) + - [**Credits**](#credits) + - [**License**](#license) + +## **Installation** + +Multiple ways are possible. You may include the client directly into your project using composer. You will need to have access to this repos. If you read this it may already be the case. So using ``composer update`` or ``composer require ldc/ldccrmv2client`` should be enough. + +*This has few dependencies it may not interfer with your project.* + + "ext-curl": "^7.3", + "php": "^7.3", + "kwaadpepper/enum": "^2.1", + "guzzlehttp/guzzle": "^7.4", + "respect/validation": "^2.2" + +## **Usage** + +As for initialisation multiple ways are possible. +If you are in a laravel project you can map a singleton of the crm api. + +### **Using Laravel** + + 1. Setup ``config/crm.php`` + + 'https://ldc-crm.ldc.fr', + 'token' => 'YOUR_API_TOKEN', + 'password' => 'YOUR_API_PASSWORD' + ]; + + 2. Make a crm singleton if needed *(optional)* + + // In AppServiceProvider.php + App::singleton('CrmApiV2', function () { + return new CrmApiV2(); + }); + + // You then like this. + /** @var \LDC\LDCCRM\CrmApiV2 $crmApi */ + $crmApi = app('CrmApiV2); + + // Or directly use static methods. + /** @var \LDC\LDCCRM\Models\Customer|null $customer */ + $customer = Customer::find('UUID'); + +### **Using any other project** + +Setup once the main class *(it is already a singleton, no need to manage it)*. + +Informations will be kept in memory as static meaning all instance of CrmApiV2 or any class (Customer, ..) will share the same informations as credentials. + + $crmToken = 'YOUR_API_TOKEN'; + $crmPassword = 'YOUR_API_PASSWORD'; + + // This has to hapen once. It will be kept in memory; + new CrmApiV2('https://ldc-crm.ldc.fr', $crmToken, $crmPassword); + +### **Using Wordpress** + +We created as experimental some wordpress classes. It will handle locale storage (in sql database) and sessions using start session. Some security is provided with a settion time out of 15 minutes. A fingerprint is set using the user agent and remote_ip. These cannot be trusted and it wont prevent a replay attack though. +Usefull to point out that you make not use this without ssl (https) connection. + +The usage is that same as for *setting up for any other project*, bu instead you can make usage of class in the ``LDC\LDCCRM\WordPress`` namespace. + +**Note: using methods from classes in this namespace will call php session_start if it has not started yet** + + // If true from here; user session is set and will be remembered until timeout or WPCRM::logout. + $status = WPCRM::login('customer@email.com', 'password'); + +### **Using custom implementation and calling directly CRM** + +You may implement your own call to fit your needs. If you wish to go this way please read [these instructions](docs/usages/custom.md). + +### **More information** + +- Using [WordPress client](docs/usages/wordpress-client.md) +- Using [normal client](docs/usages/client.md) +- Writing [your own implementation](docs/usages/custom.md) + +## **Customer Informations** + +The CRM will store multiple informations about your customer. Of course you can contact us if there is a **RGPD** demand to access or suppress information. Also we store the following informations as for now : + + - last connection + - password + - email + - first name + - last name + - birth date + - address + - phone + - country + - city + - postcode + - opt in status and history + - question answers + +**Password is stored as hashed using strong algorithm and a secret key, no logs are done while authenticating your customer other than the connection date if auth is successful** + +***You may also note that every customer has a HASHCODE, this is the ID of your customer and has to be stored on your side. But even if you don't you can always identify your customers using it's email.*** + +Minimal informations you may keep are : + +- hashcode +- email + + +## **Change log** + +Please see the [changelog](changelog.md) for more information on what has changed recently. + +## **Testing** + +All unit test are included in the crm source code, meaning you do not have access to them. If you wish you can override any source code, write your own test, but data will still be validated on crm side. + + +## **Credits** + +- [Jérémy Munsch](https://jeremydev.ovh) + +## **License** + +MIT. Please see the [license file](license.md) for more information. diff --git a/app/Lib/vendor/crm-client-3.0.6/resources/lang/fr.php b/app/Lib/vendor/crm-client-3.0.6/resources/lang/fr.php new file mode 100644 index 0000000..beaefd6 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/resources/lang/fr.php @@ -0,0 +1,31 @@ + [ + 'support_code' => 'code support', + 'label_type_support' => 'label type de support', + 'order_date' => 'date de commande', + 'order_num' => 'numéro de commande', + 'state_order' => 'état commande', + 'package_unit_weight' => 'poids unitaire du paquet', + 'code_unique' => 'code unique', + 'code_on_pack' => 'code du paquet', + 'answer' => 'réponse', + 'email' => 'e-mail', + 'firstname' => 'prénom', + 'lastname' => 'nom de famille', + 'lastname' => 'nom de famille', + 'password' => 'mot de passe', + 'birth_date' => 'date de naissance', + 'phone' => 'téléphone', + 'address' => 'adresse', + 'address2' => 'adresse complémentaire', + 'city' => 'ville', + 'postcode' => 'code postal', + 'country' => 'pays', + 'opt_in' => 'newsletter', + 'status' => 'état', + 'last_connection' => 'denière connexion', + 'answers' => 'réponses' + ] +]; diff --git a/app/Lib/vendor/crm-client-3.0.6/src/CrmApiV2.php b/app/Lib/vendor/crm-client-3.0.6/src/CrmApiV2.php new file mode 100644 index 0000000..bd33ddc --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/src/CrmApiV2.php @@ -0,0 +1,141 @@ +call($request); + return $response->status->equals(ApiStatus::OK()); + } + + /** + * + * Get a customer from its hashcode or email + * If it does not exists a new instance + * will be returned. You would have + * to call its save method later on. + * + * @param string $identification The customer hashcode or email. + * @return \LDC\LDCCRM\Models\Customer A client Customer model. + * + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * @phpcs:ignore Squiz.Commenting.FunctionComment.EmptyThrows + */ + public function getCustomerOrNew(string $identification): Customer + { + return $this->getCustomer($identification) ?? new Customer(); + } + + /** + * Get a customer from its hashcode or email + * If it does not exists a new instance + * will be returned. You would have + * to call its save method later on. + * + * @param string $identification The customer hashcode or email. + * @return \LDC\LDCCRM\Models\Customer|null Return null if the customer was not found + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - modelNotFound, If this customer hashcode could not be found. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public function getCustomer(string $identification): ?Customer + { + return Customer::find($identification); + } + + /** + * Set the single optin status for an email + * + * @param string $email + * @param boolean $opt_in + * @return boolean true if succeeded + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field email could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - singleOptinCustomerExists, If a customer exists with this email. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function setStatus(string $email, bool $opt_in): bool + { + return SingleOptin::setStatus($email, $opt_in); + } + + /** + * Set the single optin status for an email + * + * @param string $hashcode + * @return boolean true if succeeded + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field hashcode could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - modelNotFound, If a single optin does not exists. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function unsetStatusWithHashcode(string $hashcode): bool + { + return SingleOptin::unsetStatusWithHashcode($hashcode); + } + + /** + * Test a customer credentials to see if it can login + * + * @param string $email + * @param string $password + * @return boolean + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - authFailed, If credentials are not valid. + * - customerNotActivated, If the account is not activated. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function login(string $email, string $password): bool + { + return Customer::login($email, $password); + } +} diff --git a/app/Lib/vendor/crm-client-3.0.6/src/Enums/ApiError.php b/app/Lib/vendor/crm-client-3.0.6/src/Enums/ApiError.php new file mode 100644 index 0000000..1c5c764 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/src/Enums/ApiError.php @@ -0,0 +1,114 @@ + 101, + 'validationFailed' => 102, + 'customerExists' => 103, + 'customerAlreadyActive' => 110, + 'customerNotActivated' => 116, + 'authFailed' => 117, + 'apiAuthFailed' => 119, + 'singleOptinCustomerExists' => 120, + 'methodNotAllowed' => 150, + 'wrongTimeStamp' => 151, + 'missingParameter' => 400, + 'authorizationException' => 403, + 'throttleRequestsException' => 429 + ]; + } + + /** + * Libellés des possibilités de cet énumération (label) + * + * @return array + */ + public static function labels(): array + { + return [ + 'modelNotFound' => '%s introuvable.', + 'validationFailed' => 'Impossible de valider les données', + 'customerExists' => 'L\'utilisateur est déjà enregistré sur ce site', + 'customerNotActivated' => 'Le compte n\'est pas activé', + 'customerAlreadyActive' => 'Le compte est déjà activé', + 'singleOptinCustomerExists' => 'Le single optin ne peut être ajouté car un compte existe.', + 'authFailed' => 'Echec de l\'authentification du compte', + 'apiAuthFailed' => 'Echec de l\'authentification client à l\'Api LDC-CRM pour ce service', + 'methodNotAllowed' => 'This method is not allowed for this request', + 'wrongTimeStamp' => 'Your request is malformed, please check timestamp header and parameter', + 'missingParameter' => 'The request is missing some parameters', + 'authorizationException' => 'You are not autorized to access this', + 'throttleRequestsException' => 'Throttle: too many request have been attempted, please retry later' + ]; + } +} diff --git a/app/Lib/vendor/crm-client-3.0.6/src/Enums/ApiStatus.php b/app/Lib/vendor/crm-client-3.0.6/src/Enums/ApiStatus.php new file mode 100644 index 0000000..a48908d --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/src/Enums/ApiStatus.php @@ -0,0 +1,16 @@ + 1, + 'game' => 2 + ]; + } +} diff --git a/app/Lib/vendor/crm-client-3.0.6/src/Enums/ArcadiaOrderType.php b/app/Lib/vendor/crm-client-3.0.6/src/Enums/ArcadiaOrderType.php new file mode 100644 index 0000000..4da2a8a --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/src/Enums/ArcadiaOrderType.php @@ -0,0 +1,28 @@ + 0, + 'check' => 1 + ]; + } +} diff --git a/app/Lib/vendor/crm-client-3.0.6/src/Enums/Country.php b/app/Lib/vendor/crm-client-3.0.6/src/Enums/Country.php new file mode 100644 index 0000000..f741898 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/src/Enums/Country.php @@ -0,0 +1,869 @@ + 1, + 'alandIslands' => 2, + 'albania' => 3, + 'algeria' => 4, + 'americanSamoa' => 5, + 'andorra' => 6, + 'angola' => 7, + 'anguilla' => 8, + 'antarctica' => 9, + 'antiguaAndBarbuda' => 10, + 'argentina' => 11, + 'armenia' => 12, + 'aruba' => 13, + 'australia' => 14, + 'austria' => 15, + 'azerbaijan' => 16, + 'bahrain' => 17, + 'bahamas' => 18, + 'bangladesh' => 19, + 'barbados' => 20, + 'belarus' => 21, + 'belgium' => 22, + 'belize' => 23, + 'benin' => 24, + 'bermuda' => 25, + 'bhutan' => 26, + 'boliviaPlurinationalStateOf' => 27, + 'bonaireSintEustatiusAndSaba' => 28, + 'bosniaAndHerzegovina' => 29, + 'botswana' => 30, + 'bouvetIsland' => 31, + 'brazil' => 32, + 'britishIndianOceanTerritory' => 33, + 'bruneiDarussalam' => 34, + 'bulgaria' => 35, + 'burkinaFaso' => 36, + 'burundi' => 37, + 'cambodia' => 38, + 'cameroon' => 39, + 'canada' => 40, + 'capeVerde' => 41, + 'caymanIslands' => 42, + 'centralAfricanRepublic' => 43, + 'chad' => 44, + 'chile' => 45, + 'china' => 46, + 'christmasIsland' => 47, + 'cocosKeelingIslands' => 48, + 'colombia' => 49, + 'comoros' => 50, + 'congo' => 51, + 'congoTheDemocraticRepublicOfThe' => 52, + 'cookIslands' => 53, + 'costaRica' => 54, + 'coteDivoire' => 55, + 'croatia' => 56, + 'cuba' => 57, + 'curacao' => 58, + 'cyprus' => 59, + 'czechRepublic' => 60, + 'denmark' => 61, + 'djibouti' => 62, + 'dominica' => 63, + 'dominicanRepublic' => 64, + 'ecuador' => 65, + 'egypt' => 66, + 'elSalvador' => 67, + 'equatorialGuinea' => 68, + 'eritrea' => 69, + 'estonia' => 70, + 'ethiopia' => 71, + 'falklandIslandsMalvinas' => 72, + 'faroeIslands' => 73, + 'fiji' => 74, + 'finland' => 75, + 'france' => 76, + 'frenchGuiana' => 77, + 'frenchPolynesia' => 78, + 'frenchSouthernTerritories' => 79, + 'gabon' => 80, + 'gambia' => 81, + 'georgia' => 82, + 'germany' => 83, + 'ghana' => 84, + 'gibraltar' => 85, + 'greece' => 86, + 'greenland' => 87, + 'grenada' => 88, + 'guadeloupe' => 89, + 'guam' => 90, + 'guatemala' => 91, + 'guernsey' => 92, + 'guinea' => 93, + 'guineaBissau' => 94, + 'guyana' => 95, + 'haiti' => 96, + 'heardIslandAndMcdonaldIslands' => 97, + 'holySeeVaticanCityState' => 98, + 'honduras' => 99, + 'hongKong' => 100, + 'hungary' => 101, + 'iceland' => 102, + 'india' => 103, + 'indonesia' => 104, + 'iranIslamicRepublicOf' => 105, + 'iraq' => 106, + 'ireland' => 107, + 'isleOfMan' => 108, + 'israel' => 109, + 'italy' => 110, + 'jamaica' => 111, + 'japan' => 112, + 'jersey' => 113, + 'jordan' => 114, + 'kazakhstan' => 115, + 'kenya' => 116, + 'kiribati' => 117, + 'koreaDemocraticPeoplesRepublicOf' => 118, + 'koreaRepublicOf' => 119, + 'kuwait' => 120, + 'kyrgyzstan' => 121, + 'laoPeoplesDemocraticRepublic' => 122, + 'latvia' => 123, + 'lebanon' => 124, + 'lesotho' => 125, + 'liberia' => 126, + 'libya' => 127, + 'liechtenstein' => 128, + 'lithuania' => 129, + 'luxembourg' => 130, + 'macao' => 131, + 'macedoniaTheFormerYugoslavRepublicOf' => 132, + 'madagascar' => 133, + 'malawi' => 134, + 'malaysia' => 135, + 'maldives' => 136, + 'mali' => 137, + 'malta' => 138, + 'marshallIslands' => 139, + 'martinique' => 140, + 'mauritania' => 141, + 'mauritius' => 142, + 'mayotte' => 143, + 'mexico' => 144, + 'micronesiaFederatedStatesOf' => 145, + 'moldovaRepublicOf' => 146, + 'monaco' => 147, + 'mongolia' => 148, + 'montenegro' => 149, + 'montserrat' => 150, + 'morocco' => 151, + 'mozambique' => 152, + 'myanmar' => 153, + 'namibia' => 154, + 'nauru' => 155, + 'nepal' => 156, + 'netherlands' => 157, + 'newCaledonia' => 158, + 'newZealand' => 159, + 'nicaragua' => 160, + 'niger' => 161, + 'nigeria' => 162, + 'niue' => 163, + 'norfolkIsland' => 164, + 'northernMarianaIslands' => 165, + 'norway' => 166, + 'oman' => 167, + 'pakistan' => 168, + 'palau' => 169, + 'palestineStateOf' => 170, + 'panama' => 171, + 'papuaNewGuinea' => 172, + 'paraguay' => 173, + 'peru' => 174, + 'philippines' => 175, + 'pitcairn' => 176, + 'poland' => 177, + 'portugal' => 178, + 'puertoRico' => 179, + 'qatar' => 180, + 'reunion' => 181, + 'romania' => 182, + 'russianFederation' => 183, + 'rwanda' => 184, + 'saintBarthelemy' => 185, + 'saintHelenaAscensionAndTristanDaCunha' => 186, + 'saintKittsAndNevis' => 187, + 'saintLucia' => 188, + 'saintMartinFrenchPart' => 189, + 'saintPierreAndMiquelon' => 190, + 'saintVincentAndTheGrenadines' => 191, + 'samoa' => 192, + 'sanMarino' => 193, + 'saoTomeAndPrincipe' => 194, + 'saudiArabia' => 195, + 'senegal' => 196, + 'serbia' => 197, + 'seychelles' => 198, + 'sierraLeone' => 199, + 'singapore' => 200, + 'sintMaartenDutchPart' => 201, + 'slovakia' => 202, + 'slovenia' => 203, + 'solomonIslands' => 204, + 'somalia' => 205, + 'southAfrica' => 206, + 'southGeorgiaAndTheSouthSandwichIslands' => 207, + 'southSudan' => 208, + 'spain' => 209, + 'sriLanka' => 210, + 'sudan' => 211, + 'suriname' => 212, + 'svalbardAndJanMayen' => 213, + 'swaziland' => 214, + 'sweden' => 215, + 'switzerland' => 216, + 'syrianArabRepublic' => 217, + 'taiwanProvinceOfChina' => 218, + 'tajikistan' => 219, + 'tanzaniaUnitedRepublicOf' => 220, + 'thailand' => 221, + 'timorLeste' => 222, + 'togo' => 223, + 'tokelau' => 224, + 'tonga' => 225, + 'trinidadAndTobago' => 226, + 'tunisia' => 227, + 'turkey' => 228, + 'turkmenistan' => 229, + 'turksAndCaicosIslands' => 230, + 'tuvalu' => 231, + 'uganda' => 232, + 'ukraine' => 233, + 'unitedArabEmirates' => 234, + 'unitedKingdom' => 235, + 'unitedStates' => 236, + 'unitedStatesMinorOutlyingIslands' => 237, + 'uruguay' => 238, + 'uzbekistan' => 239, + 'vanuatu' => 240, + 'venezuelaBolivarianRepublicOf' => 241, + 'vietNam' => 242, + 'virginIslandsBritish' => 243, + 'virginIslandsUs' => 244, + 'wallisAndFutuna' => 245, + 'westernSahara' => 246, + 'yemen' => 247, + 'zambia' => 248, + 'zimbabwe' => 249 + ]; + } + + /** + * Libellés des possibilités de cet énumération (label) + * + * @return array + */ + public static function labels(): array + { + return [ + 'afghanistan' => 'Afghanistan', + 'alandIslands' => 'Åland Islands', + 'albania' => 'Albania', + 'algeria' => 'Algeria', + 'americanSamoa' => 'American Samoa', + 'andorra' => 'Andorra', + 'angola' => 'Angola', + 'anguilla' => 'Anguilla', + 'antarctica' => 'Antarctica', + 'antiguaAndBarbuda' => 'Antigua and Barbuda', + 'argentina' => 'Argentina', + 'armenia' => 'Armenia', + 'aruba' => 'Aruba', + 'australia' => 'Australia', + 'austria' => 'Austria', + 'azerbaijan' => 'Azerbaijan', + 'bahrain' => 'Bahrain', + 'bahamas' => 'Bahamas', + 'bangladesh' => 'Bangladesh', + 'barbados' => 'Barbados', + 'belarus' => 'Belarus', + 'belgium' => 'Belgium', + 'belize' => 'Belize', + 'benin' => 'Benin', + 'bermuda' => 'Bermuda', + 'bhutan' => 'Bhutan', + 'boliviaPlurinationalStateOf' => 'Bolivia, Plurinational State of', + 'bonaireSintEustatiusAndSaba' => 'Bonaire, Sint Eustatius and Saba', + 'bosniaAndHerzegovina' => 'Bosnia and Herzegovina', + 'botswana' => 'Botswana', + 'bouvetIsland' => 'Bouvet Island', + 'brazil' => 'Brazil', + 'britishIndianOceanTerritory' => 'British Indian Ocean Territory', + 'bruneiDarussalam' => 'Brunei Darussalam', + 'bulgaria' => 'Bulgaria', + 'burkinaFaso' => 'Burkina Faso', + 'burundi' => 'Burundi', + 'cambodia' => 'Cambodia', + 'cameroon' => 'Cameroon', + 'canada' => 'Canada', + 'capeVerde' => 'Cape Verde', + 'caymanIslands' => 'Cayman Islands', + 'centralAfricanRepublic' => 'Central African Republic', + 'chad' => 'Chad', + 'chile' => 'Chile', + 'china' => 'China', + 'christmasIsland' => 'Christmas Island', + 'cocosKeelingIslands' => 'Cocos (Keeling) Islands', + 'colombia' => 'Colombia', + 'comoros' => 'Comoros', + 'congo' => 'Congo', + 'congoTheDemocraticRepublicOfThe' => 'Congo, the Democratic Republic of the', + 'cookIslands' => 'Cook Islands', + 'costaRica' => 'Costa Rica', + 'coteDivoire' => 'Côte d\'Ivoire', + 'croatia' => 'Croatia', + 'cuba' => 'Cuba', + 'curacao' => 'Curaçao', + 'cyprus' => 'Cyprus', + 'czechRepublic' => 'Czech Republic', + 'denmark' => 'Denmark', + 'djibouti' => 'Djibouti', + 'dominica' => 'Dominica', + 'dominicanRepublic' => 'Dominican Republic', + 'ecuador' => 'Ecuador', + 'egypt' => 'Egypt', + 'elSalvador' => 'El Salvador', + 'equatorialGuinea' => 'Equatorial Guinea', + 'eritrea' => 'Eritrea', + 'estonia' => 'Estonia', + 'ethiopia' => 'Ethiopia', + 'falklandIslandsMalvinas' => 'Falkland Islands (Malvinas)', + 'faroeIslands' => 'Faroe Islands', + 'fiji' => 'Fiji', + 'finland' => 'Finland', + 'france' => 'France', + 'frenchGuiana' => 'French Guiana', + 'frenchPolynesia' => 'French Polynesia', + 'frenchSouthernTerritories' => 'French Southern Territories', + 'gabon' => 'Gabon', + 'gambia' => 'Gambia', + 'georgia' => 'Georgia', + 'germany' => 'Germany', + 'ghana' => 'Ghana', + 'gibraltar' => 'Gibraltar', + 'greece' => 'Greece', + 'greenland' => 'Greenland', + 'grenada' => 'Grenada', + 'guadeloupe' => 'Guadeloupe', + 'guam' => 'Guam', + 'guatemala' => 'Guatemala', + 'guernsey' => 'Guernsey', + 'guinea' => 'Guinea', + 'guineaBissau' => 'GuineaBissau', + 'guyana' => 'Guyana', + 'haiti' => 'Haiti', + 'heardIslandAndMcdonaldIslands' => 'Heard Island and McDonald Islands', + 'holySeeVaticanCityState' => 'Holy See (Vatican City State)', + 'honduras' => 'Honduras', + 'hongKong' => 'Hong Kong', + 'hungary' => 'Hungary', + 'iceland' => 'Iceland', + 'india' => 'India', + 'indonesia' => 'Indonesia', + 'iranIslamicRepublicOf' => 'Iran, Islamic Republic of', + 'iraq' => 'Iraq', + 'ireland' => 'Ireland', + 'isleOfMan' => 'Isle of Man', + 'israel' => 'Israel', + 'italy' => 'Italy', + 'jamaica' => 'Jamaica', + 'japan' => 'Japan', + 'jersey' => 'Jersey', + 'jordan' => 'Jordan', + 'kazakhstan' => 'Kazakhstan', + 'kenya' => 'Kenya', + 'kiribati' => 'Kiribati', + 'koreaDemocraticPeoplesRepublicOf' => 'Korea, Democratic People\'s Republic of', + 'koreaRepublicOf' => 'Korea, Republic of', + 'kuwait' => 'Kuwait', + 'kyrgyzstan' => 'Kyrgyzstan', + 'laoPeoplesDemocraticRepublic' => 'Lao People\'s Democratic Republic', + 'latvia' => 'Latvia', + 'lebanon' => 'Lebanon', + 'lesotho' => 'Lesotho', + 'liberia' => 'Liberia', + 'libya' => 'Libya', + 'liechtenstein' => 'Liechtenstein', + 'lithuania' => 'Lithuania', + 'luxembourg' => 'Luxembourg', + 'macao' => 'Macao', + 'macedoniaTheFormerYugoslavRepublicOf' => 'Macedonia, the Former Yugoslav Republic of', + 'madagascar' => 'Madagascar', + 'malawi' => 'Malawi', + 'malaysia' => 'Malaysia', + 'maldives' => 'Maldives', + 'mali' => 'Mali', + 'malta' => 'Malta', + 'marshallIslands' => 'Marshall Islands', + 'martinique' => 'Martinique', + 'mauritania' => 'Mauritania', + 'mauritius' => 'Mauritius', + 'mayotte' => 'Mayotte', + 'mexico' => 'Mexico', + 'micronesiaFederatedStatesOf' => 'Micronesia, Federated States of', + 'moldovaRepublicOf' => 'Moldova, Republic of', + 'monaco' => 'Monaco', + 'mongolia' => 'Mongolia', + 'montenegro' => 'Montenegro', + 'montserrat' => 'Montserrat', + 'morocco' => 'Morocco', + 'mozambique' => 'Mozambique', + 'myanmar' => 'Myanmar', + 'namibia' => 'Namibia', + 'nauru' => 'Nauru', + 'nepal' => 'Nepal', + 'netherlands' => 'Netherlands', + 'newCaledonia' => 'New Caledonia', + 'newZealand' => 'New Zealand', + 'nicaragua' => 'Nicaragua', + 'niger' => 'Niger', + 'nigeria' => 'Nigeria', + 'niue' => 'Niue', + 'norfolkIsland' => 'Norfolk Island', + 'northernMarianaIslands' => 'Northern Mariana Islands', + 'norway' => 'Norway', + 'oman' => 'Oman', + 'pakistan' => 'Pakistan', + 'palau' => 'Palau', + 'palestineStateOf' => 'Palestine, State of', + 'panama' => 'Panama', + 'papuaNewGuinea' => 'Papua New Guinea', + 'paraguay' => 'Paraguay', + 'peru' => 'Peru', + 'philippines' => 'Philippines', + 'pitcairn' => 'Pitcairn', + 'poland' => 'Poland', + 'portugal' => 'Portugal', + 'puertoRico' => 'Puerto Rico', + 'qatar' => 'Qatar', + 'reunion' => 'Réunion', + 'romania' => 'Romania', + 'russianFederation' => 'Russian Federation', + 'rwanda' => 'Rwanda', + 'saintBarthelemy' => 'Saint Barthélemy', + 'saintHelenaAscensionAndTristanDaCunha' => 'Saint Helena, Ascension and Tristan da Cunha', + 'saintKittsAndNevis' => 'Saint Kitts and Nevis', + 'saintLucia' => 'Saint Lucia', + 'saintMartinFrenchPart' => 'Saint Martin (French part)', + 'saintPierreAndMiquelon' => 'Saint Pierre and Miquelon', + 'saintVincentAndTheGrenadines' => 'Saint Vincent and the Grenadines', + 'samoa' => 'Samoa', + 'sanMarino' => 'San Marino', + 'saoTomeAndPrincipe' => 'Sao Tome and Principe', + 'saudiArabia' => 'Saudi Arabia', + 'senegal' => 'Senegal', + 'serbia' => 'Serbia', + 'seychelles' => 'Seychelles', + 'sierraLeone' => 'Sierra Leone', + 'singapore' => 'Singapore', + 'sintMaartenDutchPart' => 'Sint Maarten (Dutch part)', + 'slovakia' => 'Slovakia', + 'slovenia' => 'Slovenia', + 'solomonIslands' => 'Solomon Islands', + 'somalia' => 'Somalia', + 'southAfrica' => 'South Africa', + 'southGeorgiaAndTheSouthSandwichIslands' => 'South Georgia and the South Sandwich Islands', + 'southSudan' => 'South Sudan', + 'spain' => 'Spain', + 'sriLanka' => 'Sri Lanka', + 'sudan' => 'Sudan', + 'suriname' => 'Suriname', + 'svalbardAndJanMayen' => 'Svalbard and Jan Mayen', + 'swaziland' => 'Swaziland', + 'sweden' => 'Sweden', + 'switzerland' => 'Switzerland', + 'syrianArabRepublic' => 'Syrian Arab Republic', + 'taiwanProvinceOfChina' => 'Taiwan, Province of China', + 'tajikistan' => 'Tajikistan', + 'tanzaniaUnitedRepublicOf' => 'Tanzania, United Republic of', + 'thailand' => 'Thailand', + 'timorLeste' => 'TimorLeste', + 'togo' => 'Togo', + 'tokelau' => 'Tokelau', + 'tonga' => 'Tonga', + 'trinidadAndTobago' => 'Trinidad and Tobago', + 'tunisia' => 'Tunisia', + 'turkey' => 'Turkey', + 'turkmenistan' => 'Turkmenistan', + 'turksAndCaicosIslands' => 'Turks and Caicos Islands', + 'tuvalu' => 'Tuvalu', + 'uganda' => 'Uganda', + 'ukraine' => 'Ukraine', + 'unitedArabEmirates' => 'United Arab Emirates', + 'unitedKingdom' => 'United Kingdom', + 'unitedStates' => 'United States', + 'unitedStatesMinorOutlyingIslands' => 'United States Minor Outlying Islands', + 'uruguay' => 'Uruguay', + 'uzbekistan' => 'Uzbekistan', + 'vanuatu' => 'Vanuatu', + 'venezuelaBolivarianRepublicOf' => 'Venezuela, Bolivarian Republic of', + 'vietNam' => 'Viet Nam', + 'virginIslandsBritish' => 'Virgin Islands, British', + 'virginIslandsUs' => 'Virgin Islands, U.S.', + 'wallisAndFutuna' => 'Wallis and Futuna', + 'westernSahara' => 'Western Sahara', + 'yemen' => 'Yemen', + 'zambia' => 'Zambia', + 'zimbabwe' => 'Zimbabwe' + ]; + } + + /** + * Get valid countries label + * + * @return array + */ + public static function getValidCountriesLabel(): array + { + return collect(self::getValidCountries())->map(function (self $country) { + return $country->label; + })->all(); + } + + /** + * Get Alpha 2 ISO code of valid countries + * + * @return array + */ + public static function getValidIsoAplha2Codes(): array + { + return \array_values(self::isoCodes()); + } + + /** + * Get valid countries + * + * @return array + */ + public static function getValidCountries(): array + { + return [ + Country::belgium(), + Country::luxembourg(), + Country::france(), + // * DROM COM. + Country::guadeloupe(), + Country::martinique(), + Country::frenchGuiana(), + Country::reunion(), + Country::saintPierreAndMiquelon(), + Country::mayotte(), + Country::saintBarthelemy(), + Country::saintMartinFrenchPart(), + Country::wallisAndFutuna(), + Country::frenchPolynesia(), + Country::newCaledonia() + ]; + } + + /** + * Enum classes + * + * @return array + */ + protected static function isoCodes(): array + { + return [ + 'france' => 'FR', + 'belgium' => 'BE', + 'luxembourg' => 'LU', + 'guadeloupe' => 'GP', + 'martinique' => 'MQ', + 'frenchGuiana' => 'GF', + 'reunion' => 'RE', + 'saintPierreAndMiquelon' => 'PM', + 'mayotte' => 'YT', + 'saintBarthelemy' => 'BL', + 'saintMartinFrenchPart' => 'MF', + 'wallisAndFutuna' => 'WF', + 'frenchPolynesia' => 'PF', + 'newCaledonia' => 'NC', + ]; + } + + /** + * @param string $attribute + * @return integer|string + */ + public function __get(string $attribute) + { + if ($attribute === 'iso') { + return $this->isoCodes()[$this->getDefinition()] ?? null; + } + return parent::__get($attribute); + } +} diff --git a/app/Lib/vendor/crm-client-3.0.6/src/Enums/HttpMethods.php b/app/Lib/vendor/crm-client-3.0.6/src/Enums/HttpMethods.php new file mode 100644 index 0000000..c85e231 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/src/Enums/HttpMethods.php @@ -0,0 +1,16 @@ + 'LOG_EMERG', + 'ALERT' => 'LOG_ALERT', + 'CRIT' => 'LOG_CRIT', + 'ERR' => 'LOG_ERR', + 'WARNING' => 'LOG_WARNING', + 'NOTICE' => 'LOG_NOTICE', + 'INFO' => 'LOG_INFO', + 'DEBUG' => 'LOG_DEBUG', + ]; + } +} diff --git a/app/Lib/vendor/crm-client-3.0.6/src/Enums/QuestionType.php b/app/Lib/vendor/crm-client-3.0.6/src/Enums/QuestionType.php new file mode 100644 index 0000000..7179181 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/src/Enums/QuestionType.php @@ -0,0 +1,30 @@ + 1, + 'radio' => 2, + 'checkbox' => 3 + ]; + } +} diff --git a/app/Lib/vendor/crm-client-3.0.6/src/Exceptions/AccessError.php b/app/Lib/vendor/crm-client-3.0.6/src/Exceptions/AccessError.php new file mode 100644 index 0000000..dde3e25 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/src/Exceptions/AccessError.php @@ -0,0 +1,25 @@ +$propertyName, it does not exists."); + } +} diff --git a/app/Lib/vendor/crm-client-3.0.6/src/Exceptions/ApiErrorException.php b/app/Lib/vendor/crm-client-3.0.6/src/Exceptions/ApiErrorException.php new file mode 100644 index 0000000..07c74ce --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/src/Exceptions/ApiErrorException.php @@ -0,0 +1,104 @@ +error = $error; + $this->message = $message; + $this->httpCode = $httpCode; + parent::__construct( + strlen($this->message) ? $this->message : $error->label, + $error->value, + $previous + ); + } + + /** + * Get the Api Error + * + * @return ApiError + */ + public function getApiError(): ApiError + { + return $this->error; + } + + /** + * Get the http code + * + * @return integer + */ + public function getStatusCode(): int + { + return $this->httpCode; + } + + /** + * This is used by laravel only. + * It uses Log class to print the error. + * + * @return void + */ + public function report() + { + // @codeCoverageIgnoreStart + Log::debug(sprintf('CRM API: %s', $this->getMessage())); + // @codeCoverageIgnoreEnd + } +} diff --git a/app/Lib/vendor/crm-client-3.0.6/src/Exceptions/CrmException.php b/app/Lib/vendor/crm-client-3.0.6/src/Exceptions/CrmException.php new file mode 100644 index 0000000..b6e9ed7 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/src/Exceptions/CrmException.php @@ -0,0 +1,29 @@ +getMessage())); + } +} diff --git a/app/Lib/vendor/crm-client-3.0.6/src/Exceptions/SkipValidationException.php b/app/Lib/vendor/crm-client-3.0.6/src/Exceptions/SkipValidationException.php new file mode 100644 index 0000000..705b547 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/src/Exceptions/SkipValidationException.php @@ -0,0 +1,15 @@ +getMessage())); + } +} diff --git a/app/Lib/vendor/crm-client-3.0.6/src/Exceptions/WpCrmInvalidJsonUserInfo.php b/app/Lib/vendor/crm-client-3.0.6/src/Exceptions/WpCrmInvalidJsonUserInfo.php new file mode 100644 index 0000000..21fca7a --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/src/Exceptions/WpCrmInvalidJsonUserInfo.php @@ -0,0 +1,27 @@ + + */ +class Answer extends CrmClientModel +{ + /** + * The question id + * + * Required + * Field Type bigInt + * + * @var integer + */ + private $id; + + /** + * The actual answer as a string + * + * Required + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $answer = null; + + /** + * The crm customer fields + * + * @var array + */ + protected $modelFields = [ + 'id', 'answer' + ]; + + /** + * Validation rules + * + * @var array + */ + protected static $validation = [ + 'id' => 'required|int', + 'answer' => 'required|string|max:255' + ]; + + /** + * Answer + * + * @param array $properties + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + */ + public function __construct(array $properties = []) + { + parent::__construct(); + $this->fill($properties); + return $this; + } + + // * PUBLIC METHODS + + /** + * Set unanswered question for a specific customer + * + * @param string $hashcode The customer hashcode. + * @param integer $questionId The question id. + * @param array $answersId An array with answers id. + * @return boolean true if succeeded + * + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a hashcode is not a valid UUID. + * @throws LDC\LDCCRM\Exceptions\ValidationException If any of the provided ids are invalid. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - validationFailed, If given ids are wrong(CRM side). + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + */ + public static function setQuestionAnswers(string $hashcode, int $questionId, array $answersId): bool + { + self::assertValidHascode($hashcode); + self::assertValidPrimaryKey($questionId); + if (!count($answersId)) { + return true; + } + foreach ($answersId as $answerId) { + self::assertValidPrimaryKey($answerId); + } + static::setUpApiInterface(); + $request = Utils::getResquest( + 'apiV2.customers.answers.store', + [ + 'serviceCustomer' => $hashcode + ], + [ + 'question' => $questionId, + 'answers' => $answersId + ] + ); + + $response = static::$apiInterface->call($request); + return $response->status->equals(ApiStatus::OK()); + } + + /** + * Serialize this object to an array + * + * @return array + */ + public function jsonSerialize() + { + return [ + 'id' => $this->id, + 'answer' => $this->answer + ]; + } +} diff --git a/app/Lib/vendor/crm-client-3.0.6/src/Models/ArcadiaMailDefault.php b/app/Lib/vendor/crm-client-3.0.6/src/Models/ArcadiaMailDefault.php new file mode 100644 index 0000000..b127516 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/src/Models/ArcadiaMailDefault.php @@ -0,0 +1,408 @@ + + */ +class ArcadiaMailDefault extends CrmClientModel +{ + /** + * An RFC Valid Email + * + * Validate: rfc,dns,spoof,filter + * + * Required + * Min length N/A + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $email = null; + + /** + * First name + * + * Required + * Min length 2 + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $firstname = null; + + /** + * Last name + * + * Required + * Min length 2 + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $lastname = null; + + /** + * The user phone + * + * Validate: sometimes,string + * + * Required + * Min length NA + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $phone = null; + + /** + * The user address (street number, name, etc) + * + * Validate: sometimes,string + * + * Min length NA + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $address = null; + + /** + * The user address 2nd part (street number, name, more, etc) + * + * Validate: sometimes,string + * + * Min length NA + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $address2 = null; + + /** + * The user address city + * + * Validate: sometimes,string + * + * Min length NA + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $city = null; + + /** + * The user address postcode + * + * Validate: string + * + * Required + * Min length NA + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $postcode = null; + + /** + * The arcadia operation code + * + * Validate: int + * + * Required + * + * @var integer + */ + private $operation = null; + + /** + * The arcadia support code + * + * Validate: int + * + * Required + * + * @var integer + */ + private $support_code = null; + + /** + * The arcadia type support label + * + * Validate: string + * + * Required + * + * @var string + */ + private $label_type_support = null; + + /** + * The arcadia order date + * + * Validate: date + * + * Required + * + * @var string + */ + private $order_date = null; + + /** + * The arcadia order number + * + * Validate: numeric,digits:9 + * + * Required + * + * @var integer + */ + private $order_num = null; + + /** + * The arcadia state order + * + * Validate: in ArcadiaOrderType::toValues() + * + * Required + * + * @var integer + */ + private $state_order = null; + + /** + * The arcadia package unit weight + * + * Validate: integer + * + * Required + * + * @var integer + */ + private $package_unit_weight = null; + + /** + * The crm customer fields + * + * @var array + */ + protected $modelFields = [ + 'email', 'firstname', + 'lastname', 'phone', 'address', + 'address2', 'city', 'postcode', + 'operation', 'support_code', 'label_type_support', + 'order_date', 'order_num', 'state_order', + 'package_unit_weight', + ]; + + /** + * Validation rules + * + * @var array + */ + protected static $validation = [ + 'email' => 'required|email', + 'firstname' => 'required|string|min:2|max:255', + 'lastname' => 'required|string|min:2|max:255', + 'phone' => 'sometimes|string|min:10|max:255', + 'address' => 'sometimes|string|max:255', + 'address2' => 'sometimes|string|max:255', + 'city' => 'sometimes|string|max:255', + 'postcode' => 'sometimes|string|max:255', + 'operation' => 'required|int', + 'support_code' => 'required|int', + 'label_type_support' => 'required|string|min:2|max:255', + 'order_date' => 'required|date_format:Y/m/d H:i:s', + 'order_num' => 'required|int', + 'state_order' => ['required'], + 'package_unit_weight' => 'required|int' + ]; + + /** + * ArcadiaMailDefault + * + * @param array $properties + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + */ + public function __construct(array $properties = []) + { + parent::__construct(); + $this->fill($properties); + return $this; + } + + /** + * Generic accessor + * + * @param string $field + * @return mixed + */ + public function __get(string $field) + { + $props = \array_diff( + $this->modelFields, + $this->invisibleFields + ); + if (in_array($field, $props)) { + if ($field === 'state_order' and !\is_object($this->{$field})) { + return ArcadiaOrderType::make($this->{$field}); + } + } + return parent::__get($field); + } + + /** + * Set prop + * + * @param string $field + * @param mixed $value + * @return void + * @throws \TypeError If the field has an incorrect value. + * @throws \LDC\LDCCRM\Exceptions\AccessError If trying to set a value on a unknown property. + */ + public function __set(string $field, $value): void + { + if ($field === 'state_order') { + $value = (\is_object($value) and + get_class($value) === ArcadiaOrderType::class) ? $value->value : $value; + } + parent::__set($field, $value); + } + + /** + * Fill data into this model + * using validation rules + * + * @param array $properties + * @return void + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + */ + public function fill(array $properties) + { + if (isset($properties['state_order'])) { + try { + $properties['state_order'] = (\is_object($properties['state_order']) and + get_class($properties['state_order']) === ArcadiaOrderType::class) ? + $properties['state_order']->value : (ctype_digit($properties['state_order']) ? + (int)$properties['state_order'] : $properties['state_order']); + } catch (TypeError | \BadMethodCallException $e) { + // * Cast anyway + $properties['state_order'] = (int)$properties['state_order']; + } + } + parent::fill($properties); + } + + /** + * Validate all model properties + * + * @param array $ignore + * @return array the validated values + * @throws ValidationException If a field could not be validated. + */ + protected function validateAllValues(array $ignore = []): array + { + $out = []; + if (!\in_array('state_order', $ignore)) { + try { + $this->validateValue( + 'state_order', + ArcadiaOrderType::make(Utils::getRawProperty($this, 'state_order')) + ); + } catch (TypeError | \BadMethodCallException $e) { + // Use this to throw validation error. + $this->validateValue('state_order', Utils::getRawProperty($this, 'state_order')); + } + $out['state_order'] = Utils::getRawProperty($this, 'state_order'); + } + return array_merge($out, parent::validateAllValues(array_merge(['state_order'], $ignore))); + } + + // * PUBLIC METHODS + + /** + * Send The actual mail + * + * @return boolean true if succeeded + * @throws ValidationException If a field could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - validationFailed, If provided data is wrong(CRM side). + */ + public function send(): bool + { + $this->validateAllValues(); + static::setUpApiInterface(); + $request = Utils::getResquest('apiV2.arcadia.outgoingMailDefault', [], $this->jsonSerialize()); + $response = static::$apiInterface->call($request); + if ($status = $response->status->equals(ApiStatus::OK())) { + $this->updatedValues = []; + } + $this->isNew = !$status; + return $status; + } + + /** + * Serialize this object to an array + * + * @return array + */ + public function jsonSerialize() + { + return [ + 'deliver' => [ + 'email' => $this->email, + 'firstname' => $this->firstname, + 'lastname' => $this->lastname, + 'phone' => $this->phone, + 'address' => $this->address, + 'address2' => $this->address2, + 'city' => $this->city, + 'postcode' => $this->postcode, + ], + 'operation' => $this->operation, + 'support_code' => $this->support_code, + 'label_type_support' => $this->label_type_support, + 'order_date' => $this->order_date, + 'order_num' => $this->order_num, + 'state_order' => $this->state_order, + 'package_unit_weight' => $this->package_unit_weight + ]; + } +} diff --git a/app/Lib/vendor/crm-client-3.0.6/src/Models/ArcadiaMailGame.php b/app/Lib/vendor/crm-client-3.0.6/src/Models/ArcadiaMailGame.php new file mode 100644 index 0000000..7c84eca --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/src/Models/ArcadiaMailGame.php @@ -0,0 +1,350 @@ + + */ +class ArcadiaMailGame extends CrmClientModel +{ + /** + * An RFC Valid Email + * + * Validate: rfc,dns,spoof,filter + * + * Required + * Min length N/A + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $email = null; + + /** + * First name + * + * Required + * Min length 2 + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $firstname = null; + + /** + * Last name + * + * Required + * Min length 2 + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $lastname = null; + + /** + * The user phone + * + * Validate: sometimes,string + * + * Required + * Min length NA + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $phone = null; + + /** + * The user address (street number, name, etc) + * + * Validate: sometimes,string + * + * Min length NA + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $address = null; + + /** + * The user address 2nd part (street number, name, more, etc) + * + * Validate: sometimes,string + * + * Min length NA + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $address2 = null; + + /** + * The user address city + * + * Validate: sometimes,string + * + * Min length NA + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $city = null; + + /** + * The user address postcode + * + * Validate: string + * + * Required + * Min length NA + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $postcode = null; + + /** + * The arcadia operation code + * + * Validate: int + * + * Required + * + * @var integer + */ + private $operation = null; + + /** + * The arcadia support code + * + * Validate: int + * + * Required + * + * @var integer + */ + private $support_code = null; + + /** + * The arcadia type support label + * + * Validate: string + * + * Required + * + * @var string + */ + private $label_type_support = null; + + /** + * The arcadia order date + * + * Validate: date + * + * Required + * + * @var string + */ + private $order_date = null; + + /** + * The arcadia code unique + * + * Validate: string + * + * Required + * + * @var string + */ + private $code_unique = null; + + /** + * The arcadia code on pack + * + * Validate: sometimes + * + * Required + * + * @var string + */ + private $code_on_pack = null; + + /** + * The crm customer fields + * + * @var array + */ + protected $modelFields = [ + 'email', 'firstname', + 'lastname', 'phone', 'address', + 'address2', 'city', 'postcode', + 'operation', 'support_code', 'label_type_support', + 'order_date', 'code_unique', 'code_on_pack' + ]; + + /** + * Validation rules + * + * @var array + */ + protected static $validation = [ + 'email' => 'required|email', + 'firstname' => 'required|string|min:2|max:255', + 'lastname' => 'required|string|min:2|max:255', + 'phone' => 'sometimes|string|min:10|max:255', + 'address' => 'sometimes|string|max:255', + 'address2' => 'sometimes|string|max:255', + 'city' => 'sometimes|string|max:255', + 'postcode' => 'sometimes|string|max:255', + 'operation' => 'required|int', + 'support_code' => 'required|int', + 'label_type_support' => 'required|string|min:2|max:255', + 'order_date' => 'required|date_format:Y/m/d H:i:s', + 'code_unique' => 'required|string', + 'code_on_pack' => 'sometimes|string' + ]; + + /** + * ArcadiaMailGame + * + * @param array $properties + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + */ + public function __construct(array $properties = []) + { + parent::__construct(); + $this->fill($properties); + return $this; + } + + /** + * Set prop + * + * @param string $field + * @param mixed $value + * @return void + * @throws \TypeError If the field has an incorrect value. + * @throws \LDC\LDCCRM\Exceptions\AccessError If trying to set a value on a unknown property. + */ + public function __set(string $field, $value): void + { + if ($field === 'state_order') { + $value = (\is_object($value) and + get_class($value) === ArcadiaOrderType::class) ? $value->value : $value; + } + parent::__set($field, $value); + } + + /** + * Fill data into this model + * using validation rules + * + * @param array $properties + * @return void + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + */ + public function fill(array $properties) + { + if (isset($properties['state_order'])) { + try { + $properties['state_order'] = (\is_object($properties['state_order']) and + get_class($properties['state_order']) === ArcadiaOrderType::class) ? + $properties['state_order']->value : (ctype_digit($properties['state_order']) ? + (int)$properties['state_order'] : $properties['state_order']); + } catch (TypeError | \BadMethodCallException $e) { + // * Cast anyway + $properties['state_order'] = (int)$properties['state_order']; + } + } + parent::fill($properties); + } + + // * PUBLIC METHODS + + /** + * Send The actual mail + * + * @return boolean true if succeeded + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - validationFailed, If provided data is wrong(CRM side). + */ + public function send(): bool + { + $this->validateAllValues(); + static::setUpApiInterface(); + $request = Utils::getResquest('apiV2.arcadia.outgoingMailGame', [], $this->jsonSerialize()); + $response = static::$apiInterface->call($request); + if ($status = $response->status->equals(ApiStatus::OK())) { + $this->updatedValues = []; + } + $this->isNew = !$status; + return $status; + } + + /** + * Serialize this object to an array + * + * @return array + */ + public function jsonSerialize() + { + return [ + 'deliver' => [ + 'email' => $this->email, + 'firstname' => $this->firstname, + 'lastname' => $this->lastname, + 'phone' => $this->phone, + 'address' => $this->address, + 'address2' => $this->address2, + 'city' => $this->city, + 'postcode' => $this->postcode, + ], + 'operation' => $this->operation, + 'support_code' => $this->support_code, + 'label_type_support' => $this->label_type_support, + 'order_date' => $this->order_date, + 'code_unique' => $this->code_unique, + 'code_on_pack' => $this->code_on_pack + ]; + } +} diff --git a/app/Lib/vendor/crm-client-3.0.6/src/Models/CrmClientModel.php b/app/Lib/vendor/crm-client-3.0.6/src/Models/CrmClientModel.php new file mode 100644 index 0000000..866cb82 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/src/Models/CrmClientModel.php @@ -0,0 +1,350 @@ + + */ +abstract class CrmClientModel implements JsonSerializable +{ + /** + * Is true if this model was not filled from crm + * + * @var boolean + */ + protected $isNew = true; + + /** + * The Api object that will handle requests and responses + * + * @var \LDC\LDCCRM\Transport\ApiInterface + */ + protected static $apiInterface; + + /** + * Validation rules + * + * @var array + */ + protected static $validation = []; + + /** + * Model fields + * + * @var array + */ + protected $modelFields = []; + + /** + * The crm fields + * that should not be visible + * + * @var array + */ + protected $invisibleFields = []; + + /** + * Model updated values + * + * @var array + */ + protected $updatedValues = []; + + /** + * CrmClientModel + */ + public function __construct() + { + self::setUpApiInterface(); + return $this; + } + + /** + * Generic accessor + * + * @param string $field + * @return mixed|null Returns null if the property was not found any way. + */ + public function __get(string $field) + { + $props = \array_diff( + $this->modelFields, + $this->invisibleFields + ); + if (in_array($field, $props)) { + return Utils::getRawProperty($this, $field); + } + return null; + } + + /** + * Set prop on the model. + * + * @param string $field + * @param mixed $value + * @return void + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + * @throws \LDC\LDCCRM\Exceptions\AccessError If trying to set a value on a unknown property. + */ + public function __set(string $field, $value): void + { + try { + if (in_array($field, $this->modelFields)) { + $type = $this->getPropType($field); + if (!is_null($value) and !$this->checkFieldType($type, $value)) { + throw new ValidationException("Wrong type for $field"); + } + $this->validateValue($field, $value); + $this->updatedValues[$field] = $value; + Utils::setRawProperty($this, $field, $value); + return; + } + // phpcs:ignore Generic.CodeAnalysis.EmptyStatement.DetectedCatch + } catch (\ReflectionException $e) { + // Do nothing. + } + throw new AccessError(\get_class($this), $field); + } + + /** + * Create the Api interface + * + * @return void + */ + protected static function setUpApiInterface() + { + self::$apiInterface = self::$apiInterface ?: new ApiInterface(); + } + + /** + * Fill values into model using validation rules. + * + * @param array $properties + * @return void + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + */ + public function fill(array $properties) + { + if (count($properties)) { + foreach ($properties as $field => $value) { + try { + $type = $this->getPropType($field); + // * Force boolean + if ($type === 'bool') { + $value = (\is_int($value) and ($value === 1 or $value === 0)) ? (bool)$value : $value; + } + if (!is_null($value) and !$this->checkFieldType($type, $value)) { + throw new ValidationException("Wrong type for $field"); + } + $this->validateValue($field, $value); + $this->updatedValues[$field] = $value; + Utils::setRawProperty($this, $field, $value); + } catch (AccessError | \ReflectionException $e) { + Utils::log(\sprintf( + '%s::fill : unknown property access for %s, it does not exist on object.', + \get_class($this), + $field + ), LogLevel::DEBUG()); + continue; + } + } //end foreach + }//end if + } + + /** + * Set all properties to without any validation + * + * @param array $properties + * @return void + */ + protected function fillRaw(array $properties) + { + if (count($properties)) { + foreach ($properties as $field => $value) { + try { + Utils::setRawProperty($this, $field, $value); + } catch (AccessError $e) { + Utils::log(\sprintf( + '%s::fillRaw : unknown property access for %s, it does not exist on object.', + \get_class($this), + $field + ), LogLevel::DEBUG()); + continue; + } + } + } + } + + /** + * Validate all model properties + * + * * All properties are nullable + * + * @param array $ignore + * @return array the validated values + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + */ + protected function validateAllValues(array $ignore = []): array + { + $out = []; + foreach (static::$validation as $field => $validationRules) { + if (\in_array($field, $ignore) or \is_null(Utils::getRawProperty($this, $field))) { + continue; + } + $this->validateValue($field, Utils::getRawProperty($this, $field)); + $out[$field] = Utils::getRawProperty($this, $field); + } + return $out; + } + + /** + * Validate a value against its rules + * + * @param string $field + * @param mixed $value + * @return boolean + * @throws \ErrorException If a field has no validation rule. + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + protected static function validateValue(string $field, $value): bool + { + if (!isset(static::$validation[$field])) { + throw new \ErrorException("$field has no validation rule"); + } + $validator = Utils::makeValidator( + [$field => $value], + [$field => static::$validation[$field]] + ); + /** @throws \LDC\LDCCRM\Exceptions\ValidationException */ + $validator(); + return true; + } + + /** + * Check a value against its field type + * + * @param string $type + * @param mixed $value + * @return boolean Return true if $type matches $value type. + * @throws \ErrorException If type is not handled, + * handled types are boolean, string, integer, \LDC\LDCCRM\Enums\Country, \LDC\LDCCRM\Enums\ArcadiaOrderType . + * @phpcs:ignore Generic.Files.LineLength.TooLong + */ + protected function checkFieldType(string $type, $value): bool + { + /** + * Checks if the value is valid for a specific enum class + * @param string $className + * @param mixed $value + * @return boolean + */ + $checkValueIsEnum = function (string $className, $value) { + try { + $value = \is_int($value) ? $className::make($value) : $value; + } finally { + return \is_object($value) and (get_class($value) === $className or + \in_array($className, \class_parents($value))); + } + }; + + switch ($type) { + case '\\' . Country::class: + case '\\' . QuestionType::class: + case '\\' . ArcadiaOrderType::class: + return $checkValueIsEnum(\ltrim($type, '\\'), $value); + case 'boolean': + return \is_bool(\is_int($value) ? (bool)$value : $value); + case 'array': + return \is_array($value); + case 'string': + return \is_string($value); + case 'integer': + return \is_int($value); + } + throw new \ErrorException(\sprintf("Unhandled $type for %s", \json_encode($value))); + } + + /** + * Get the type of any of this class property + * from doc comment + * + * @param string $property + * @return string|null the type or null if not defined + * @throws \ErrorException If the property has no comment to read. + * @throws \ErrorException If a type for a property could ne be recognized. + * @throws \ReflectionException If the class or property does not exist. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + protected function getPropType(string $property) + { + $matches = []; + $propReflection = new \ReflectionProperty(static::class, $property); + $docComment = $propReflection->getDocComment(); + if (!$docComment) { + throw new \ErrorException(\sprintf("%s $property has not comment to parse.", \get_class($this))); + } + preg_match_all('/@var ([\w_\x5c]+)/', $docComment, $matches); + if ( + isset($matches[1][0]) and \in_array($matches[1][0], [ + 'string', 'integer', 'boolean', 'array', '\\' . Country::class, '\\' . ArcadiaOrderType::class, + '\\' . QuestionType::class + ], true) + ) { + return $matches[1][0]; + } + throw new \ErrorException("Unknown type for property $property"); + } + + /** + * Assert primaryKey is valid. + * + * @param mixed $primaryKey + * @return void + * @throws LDC\LDCCRM\Exceptions\ValidationException If a primary key is not a valid integer. + */ + protected static function assertValidPrimaryKey($primaryKey): void + { + $validator = Utils::makeValidator( + ['id' => $primaryKey], + ['id' => 'required|int'] + ); + if ($validator()) { + throw new ValidationException(implode(' ', $validator->errors()->get('id'))); + } + } + + /** + * Assert hashcode is valid. + * + * @param mixed $hashcode + * @return void + * @throws LDC\LDCCRM\Exceptions\ValidationException If a hashcode is not a valid UUID. + */ + protected static function assertValidHascode($hashcode): void + { + $validator = Utils::makeValidator( + ['hashcode' => $hashcode], + ['hashcode' => 'required|uuid'] + ); + if ($validator()) { + throw new ValidationException(implode(' ', $validator->errors()->get('hashcode'))); + } + } +} diff --git a/app/Lib/vendor/crm-client-3.0.6/src/Models/Customer.php b/app/Lib/vendor/crm-client-3.0.6/src/Models/Customer.php new file mode 100644 index 0000000..3d715f4 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/src/Models/Customer.php @@ -0,0 +1,624 @@ + + */ +class Customer extends CrmClientModel +{ + /** + * The user hashcode, this is link with the customer and the brand it is related to + * It is used to identify the customer itself. + * + * Validate: UUID, in customer_infos + * + * Required + * Min length 36 + * Max length 36 + * Field Type varchar + * + * @var string + */ + private $hashcode; + + /** + * An RFC Valid Email + * + * Validate: rfc,dns,spoof,filter + * + * Required + * Min length N/A + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $email = null; + + /** + * The user password + * This is set only when creating a user + * Otherwise it has to be set to null + * + * Validate: case_diff,numbers,letters,symbols,min:8 + * + * Min length 8 + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $password = null; + + /** + * First name + * + * Required + * Min length 2 + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $firstname = null; + + /** + * Last name + * + * Required + * Min length 2 + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $lastname = null; + + /** + * Birth date + * + * Validate: date_format:Y-m-d + * + * Required + * Field Type Date + * @var string + */ + private $birth_date = null; + + /** + * The user phone + * + * Validate: sometimes,string + * + * Required + * Min length NA + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $phone = null; + + /** + * The user address (street number, name, etc) + * + * Validate: sometimes,string + * + * Min length NA + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $address = null; + + /** + * The user address 2nd part (street number, name, more, etc) + * + * Validate: sometimes,string + * + * Min length NA + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $address2 = null; + + /** + * The user address city + * + * Validate: sometimes,string + * + * Min length NA + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $city = null; + + /** + * The user address postcode + * + * Validate: string + * + * Required + * Min length NA + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $postcode = null; + + /** + * The user address postcode + * + * Validate: sometimes, in Country::toValues() + * + * Required + * Field Type tinyInt + * + * @var \LDC\LDCCRM\Enums\Country + */ + private $country = null; + + /** + * The user optin choice + * + * Validate: boolean + * + * Required + * Field Type TinyInt + * + * @var boolean + */ + private $opt_in = false; + + /** + * Is the account activated ? + * + * This field is read only + * + * @var boolean + */ + private $status = false; + + /** + * The last time the account was connected + * + * This field is read only + * + * @var string + */ + private $last_connection = null; + + /** + * The crm customer fields + * + * @var array + */ + protected $modelFields = [ + 'hashcode', 'email', 'firstname', 'password', + 'lastname', 'birth_date', 'phone', 'address', + 'address2', 'city', 'postcode', 'country', + 'opt_in', 'status', 'last_connection' + ]; + + /** + * The crm customer fields + * the should not be visible + * + * @var array + */ + protected $invisibleFields = [ + 'password' + ]; + + /** + * Validation rules + * + * @var array + */ + protected static $validation = [ + 'hashcode' => 'required|uuid', + 'email' => 'required|email', + 'firstname' => 'required|string|min:1|max:255', + 'lastname' => 'required|string|min:1|max:255', + 'password' => 'required|min:8|max:255|mixedCase|containDigit|containSymbol', + 'birth_date' => 'required|date_format:Y-m-d', + 'phone' => 'sometimes|nullable|string|max:255', + 'address' => 'sometimes|string|max:255', + 'address2' => 'sometimes|string|max:255', + 'city' => 'sometimes|string|min:2|max:255', + 'postcode' => 'sometimes|string|max:255', + 'country' => ['sometimes'], + 'opt_in' => 'required|bool', + 'status' => 'required|bool', + 'last_connection' => 'sometimes|date' + ]; + + /** + * Customer + * + * @param array $properties + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + */ + public function __construct(array $properties = []) + { + parent::__construct(); + $this->fill($properties); + return $this; + } + + /** + * Generic accessor + * + * @param string $field + * @return mixed|null Returns null if the property was not found any way. + */ + public function __get(string $field) + { + $props = \array_diff( + $this->modelFields, + $this->invisibleFields + ); + if (in_array($field, $props)) { + if ($field === 'country' and !\is_object($this->{$field})) { + return Country::make($this->{$field}); + } + } + return parent::__get($field); + } + + /** + * Set prop on the model. + * + * @param string $field + * @param mixed $value + * @return void + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + * @throws \LDC\LDCCRM\Exceptions\AccessError If trying to set a value on a unknown property. + */ + public function __set(string $field, $value): void + { + if ($field === 'country') { + $value = (\is_object($value) and + get_class($value) === Country::class) ? $value->value : $value; + } + parent::__set($field, $value); + } + + /** + * Fill values into model using validation rules. + * + * @param array $properties + * @return void + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + */ + public function fill(array $properties) + { + if (isset($properties['country'])) { + try { + $properties['country'] = (\is_object($properties['country']) and + get_class($properties['country']) === Country::class) ? + $properties['country']->value : (ctype_digit($properties['country']) ? + (int)$properties['country'] : $properties['country']); + } catch (TypeError | \BadMethodCallException $e) { + // * Cast anyway + $properties['country'] = (int)$properties['country']; + } + } + parent::fill($properties); + } + + /** + * Validate all model properties + * + * @param array $ignore + * @return array the validated values + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + */ + protected function validateAllValues(array $ignore = []): array + { + $out = []; + if (!\in_array('country', $ignore)) { + try { + $this->validateValue('country', Country::make(Utils::getRawProperty($this, 'country'))); + } catch (\TypeError | \BadMethodCallException $e) { + // Use this to throw validation error. + $this->validateValue('country', Utils::getRawProperty($this, 'country')); + } + $out['country'] = Utils::getRawProperty($this, 'country'); + } + return array_merge($out, parent::validateAllValues(array_merge(['country'], $ignore))); + } + + // * PUBLIC METHODS + + /** + * Find a customer using its hashcode in the crm + * + * @param string $hashcode + * @return self|null Return null if the customer was not found + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function find(string $hashcode): ?self + { + static::setUpApiInterface(); + $request = Utils::getResquest('apiV2.customers.show', [ + 'serviceCustomer' => $hashcode + ]); + $customer = null; + try { + $response = static::$apiInterface->call($request); + $customer = new self(); + // ! Use fillRaw here because we cant validate comming + // ! from CRM since it has crappy data comming from the old crm (jellix). + $customer->fillRaw($response->data); + Utils::setRawProperty($customer, 'isNew', false); + } catch (ApiErrorException $e) { + if (!$e->getApiError()->equals(ApiError::modelNotFound())) { + throw $e; + } + } + return $customer; + } + + /** + * Find a customer using its email in the crm + * This is an alias of Customer::find() + * + * @param string $email + * @return self|null + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function findWithEmail(string $email): ?self + { + return static::find($email); + } + + /** + * Save the customer on CRM. + * + * @return boolean True if save was successfull. + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - validationFailed, If provided data is wrong(CRM side). + * - modelNotFound, If this customer hashcode could not be found (new customers only). + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public function save(): bool + { + $saved = false; + if ($this->isNew) { + $saved = $this->store(); + $this->isNew = !$saved; + $this->updatedValues = []; + if ($saved) { + Utils::setRawProperty($this, 'password', null); + } + return $saved; + } else { + if (empty($this->updatedValues)) { + return true; + } + if ($saved = $this->update()) { + $this->updatedValues = []; + Utils::setRawProperty($this, 'password', null); + } + } + return $saved; + } + + /** + * Calls api store customer method + * + * @return boolean True if save was successfull. + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - validationFailed, If provided data is wrong(CRM side). + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + private function store(): bool + { + $data = $this->validateAllValues(['hashcode', 'last_connection', 'status']); + $data['password'] = $this->password; + + static::setUpApiInterface(); + $request = Utils::getResquest('apiV2.customers.store', [], $data); + + $response = static::$apiInterface->call($request); + if ($status = $response->status->equals(ApiStatus::OK())) { + $this->updatedValues = []; + $this->fill($response->data); + } + return $status; + } + + /** + * Calls api update customer method + * + * @return boolean True if save was successfull. + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - validationFailed, If provided data is wrong(CRM side). + * - modelNotFound, If this customer hashcode could not be found. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + private function update(): bool + { + $this->validateValue('hashcode', $this->hashcode); + static::setUpApiInterface(); + $request = Utils::getResquest('apiV2.customers.update', [ + 'serviceCustomer' => $this->hashcode + ], $this->updatedValues); + + $response = static::$apiInterface->call($request); + if ($status = $response->status->equals(ApiStatus::OK())) { + $this->updatedValues = []; + $this->fill($response->data); + } + return $status; + } + + /** + * Removes the customer from CRM. + * + * @return boolean true if succeeded + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - modelNotFound, If this customer hashcode could not be found. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public function delete(): bool + { + $this->validateValue('hashcode', $this->hashcode); + static::setUpApiInterface(); + $request = Utils::getResquest('apiV2.customers.destroy', [ + 'serviceCustomer' => $this->hashcode + ]); + + $response = static::$apiInterface->call($request); + return $response->status->equals(ApiStatus::OK()); + } + + /** + * Active the customer on CRM. + * + * @return boolean true if succeeded + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a customer's hashcode could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - modelNotFound, If this customer hashcode could not be found. + * - customerAlreadyActive, It the customer is already activated. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public function activate(): bool + { + $this->validateValue('hashcode', $this->hashcode); + static::setUpApiInterface(); + $request = Utils::getResquest('apiV2.customers.activate', [ + 'serviceCustomer' => $this->hashcode + ]); + + $response = static::$apiInterface->call($request); + $this->__set('status', true); + return $response->status->equals(ApiStatus::OK()); + } + + /** + * Toggle the account optin value in the crm + * + * @return boolean true if succeeded + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - modelNotFound, If this customer hashcode could not be found. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public function toggleOptin(): bool + { + $this->__set('opt_in', !$this->opt_in); + return $this->update(); + } + + /** + * Test customer credentials + * + * @param string $email + * @param string $password + * @return boolean + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a customer's email could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - authFailed, If credentials are not valid. + * - customerNotActivated, If the account is not activated. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function login(string $email, string $password): bool + { + self::validateValue('email', $email); + static::setUpApiInterface(); + $request = Utils::getResquest('apiV2.customers.authenticate', [], [ + 'email' => $email, + 'password' => $password + ]); + $response = static::$apiInterface->call($request); + return $response->status->equals(ApiStatus::OK()); + } + + /** + * Serialize this object to an array + * + * @return array + */ + public function jsonSerialize() + { + return [ + 'hashcode' => $this->hashcode, + 'email' => $this->email, + 'firstname' => $this->firstname, + 'lastname' => $this->lastname, + 'birth_date' => $this->birth_date, + 'phone' => $this->phone, + 'address' => $this->address, + 'address2' => $this->address2, + 'city' => $this->city, + 'postcode' => $this->postcode, + 'country' => $this->country, + 'opt_in' => $this->opt_in, + 'status' => $this->status, + 'last_connection' => $this->last_connection + ]; + } +} diff --git a/app/Lib/vendor/crm-client-3.0.6/src/Models/Question.php b/app/Lib/vendor/crm-client-3.0.6/src/Models/Question.php new file mode 100644 index 0000000..1f491ee --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/src/Models/Question.php @@ -0,0 +1,308 @@ + + */ +class Question extends CrmClientModel +{ + /** + * The question id + * + * Required + * Field Type bigInt + * + * @var integer + */ + private $id; + + /** + * The actual question as a string + * + * Required + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $question = null; + + /** + * The question type + * + * Validate: in QuestionType::toValues() + * + * Required + * Field Type tinyInteger + * + * @var \LDC\LDCCRM\Enums\QuestionType + */ + private $type = null; + + /** + * The question answers + * + * \LDC\LDCCRM\Models\Answer + * + * @var array + */ + private $answers = []; + + /** + * The crm customer fields + * + * @var array + */ + protected $modelFields = [ + 'id', 'question', 'type', 'answers' + ]; + + /** + * Validation rules + * + * @var array + */ + protected static $validation = [ + 'id' => 'required|int', + 'question' => 'required|string|max:255', + 'type' => ['required'], + 'answers' => 'required|array' + ]; + + /** + * Question + * + * @param array $properties + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + */ + public function __construct(array $properties = []) + { + parent::__construct(); + $this->fill($properties); + return $this; + } + + /** + * General accessor + * + * @param string $field + * @return mixed + */ + public function __get(string $field) + { + $props = \array_diff( + $this->modelFields, + $this->invisibleFields + ); + if (in_array($field, $props)) { + if ($field === 'type' and !\is_object($this->{$field})) { + return QuestionType::make($this->{$field}); + } + } + return parent::__get($field); + } + + /** + * Set prop on the model. + * + * @param string $field + * @param mixed $value + * @return void + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + * @throws \LDC\LDCCRM\Exceptions\AccessError If trying to set a value on a unknown property. + */ + public function __set(string $field, $value): void + { + if ($field === 'type') { + $value = (\is_object($value) and + get_class($value) === QuestionType::class) ? $value->value : $value; + } + parent::__set($field, $value); + } + + /** + * Fill values into model using validation rules. + * + * @param array $properties + * @return void + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + */ + public function fill(array $properties) + { + if (isset($properties['type'])) { + try { + $properties['type'] = (\is_object($properties['type']) and + get_class($properties['type']) === QuestionType::class) ? + $properties['type']->value : (ctype_digit($properties['type']) ? + (int)$properties['type'] : $properties['type']); + } catch (TypeError | \BadMethodCallException $e) { + // * Cast anyway + $properties['type'] = (int)$properties['type']; + } + } + parent::fill($properties); + } + + /** + * Validate all model properties + * + * @param array $ignore + * @return array the validated values + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + */ + protected function validateAllValues(array $ignore = []): array + { + $out = []; + if (!\in_array('type', $ignore)) { + try { + $this->validateValue('type', QuestionType::make(Utils::getRawProperty($this, 'type'))); + } catch (TypeError | \BadMethodCallException $e) { + // Use this to throw validation error. + $this->validateValue('type', Utils::getRawProperty($this, 'type')); + } + $out['type'] = Utils::getRawProperty($this, 'type'); + } + return array_merge($out, parent::validateAllValues(array_merge(['type'], $ignore))); + } + + // * PUBLIC METHODS + + /** + * Get all questions only + * + * @return array of \LDC\LDCCRM\Models\Question + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function all(): array + { + static::setUpApiInterface(); + $request = Utils::getResquest('apiV2.questions.index'); + + $response = static::$apiInterface->call($request); + $out = []; + foreach ($response->data as $question) { + $answers = \array_map(function ($answer) { + return new Answer($answer); + }, $question['answers']); + $question['answers'] = $answers; + $out[] = new self($question); + } + return $out; + } + + /** + * Get all the questions with customer answers + * + * @param \LDC\LDCCRM\Models\Customer $customer + * @return array + * + * [ + * 0 => [ + * 'question' => \LDC\LDCCRM\Models\Question, + * 'customerAnswers' => \LDC\LDCCRM\Models\Answer[] + * ] + * ] + * + * with \LDC\LDCCRM\Models\Question[] + * and the customer \LDC\LDCCRM\Models\Answer[] + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a customer's hashcode could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - modelNotFound, If the customer could not be found(CRM side). + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function allWithCustomerAnswers(Customer $customer): array + { + self::assertValidHascode($customer->hashcode); + static::setUpApiInterface(); + $request = Utils::getResquest('apiV2.questions.indexWithResponse', [ + 'serviceCustomer' => $customer->hashcode + ]); + + $response = static::$apiInterface->call($request); + $out = []; + foreach ($response->data as $question) { + $answers = \array_map(function ($answer) { + return new Answer($answer); + }, $question['answers']); + $customerAnswers = \array_map(function ($answer) { + return new Answer($answer); + }, $question['customerAnswers']); + unset($question['customerAnswers']); + $question['answers'] = $answers; + $out[] = [ + 'question' => new self($question), + 'customerAnswers' => $customerAnswers, + ]; + } + return $out; + } + + /** + * Get unanswered question for a specific customer + * + * @param \LDC\LDCCRM\Models\Customer $customer + * @return array of \LDC\LDCCRM\Models\Question + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a customer's hashcode could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - modelNotFound, If the customer could not be found(CRM side). + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function unansweredBy(Customer $customer): array + { + self::assertValidHascode($customer->hashcode); + static::setUpApiInterface(); + $request = Utils::getResquest( + 'apiV2.questions.unAnsweredBy', + ['serviceCustomer' => $customer->hashcode] + ); + + $response = static::$apiInterface->call($request); + $out = []; + foreach ($response->data as $question) { + $answers = \array_map(function ($answer) { + return new Answer($answer); + }, $question['answers']); + $question['answers'] = $answers; + $out[] = new self($question); + } + return $out; + } + + /** + * Serialize this object to an array + * + * @return array + */ + public function jsonSerialize() + { + return [ + 'id' => $this->id, + 'question' => $this->question, + 'type' => $this->type, + 'answers' => $this->answers + ]; + } +} diff --git a/app/Lib/vendor/crm-client-3.0.6/src/Models/SingleOptin.php b/app/Lib/vendor/crm-client-3.0.6/src/Models/SingleOptin.php new file mode 100644 index 0000000..02c3fdc --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/src/Models/SingleOptin.php @@ -0,0 +1,74 @@ + + */ +abstract class SingleOptin extends CrmClientModel +{ + /** + * Validation rules + * + * @var array + */ + protected static $validation = [ + 'email' => 'required|email', + 'hashcode' => 'required|string|size:36', + 'opt_in' => 'required|bool', + ]; + + /** + * Set the single opt in status for an email + * + * @param string $email + * @param boolean $opt_in + * @return boolean true if succeeded + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field email could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - singleOptinCustomerExists, If a customer exists with this email. + */ + public static function setStatus(string $email, bool $opt_in): bool + { + self::validateValue('email', $email); + static::setUpApiInterface(); + $request = Utils::getResquest('apiV2.optin', [], [ + 'email' => $email, + 'opt_in' => $opt_in + ]); + + $response = static::$apiInterface->call($request); + return $response->status->equals(ApiStatus::OK()); + } + + /** + * Unset the single opt in for a hashcode (unsubscribe) + * + * @param string $hashcode + * @return boolean true if succeeded + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field hashcode could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - singleOptinCustomerExists, If a customer exists with this email. + */ + public static function unsetStatusWithHashcode(string $hashcode): bool + { + self::validateValue('hashcode', $hashcode); + static::setUpApiInterface(); + $request = Utils::getResquest('apiV2.optout-hashcode', [], [ + 'hashcode' => $hashcode + ]); + + $response = static::$apiInterface->call($request); + return $response->status->equals(ApiStatus::OK()); + } +} diff --git a/app/Lib/vendor/crm-client-3.0.6/src/Models/Stats.php b/app/Lib/vendor/crm-client-3.0.6/src/Models/Stats.php new file mode 100644 index 0000000..4bc27e1 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/src/Models/Stats.php @@ -0,0 +1,87 @@ + + */ +abstract class Stats extends CrmClientModel +{ + /** + * Validation rules + * + * @var array + */ + protected static $validation = [ + 'question.id' => 'required|int|min:1', + 'start' => 'required|date_format:Y-m-d', + 'end' => 'required|date_format:Y-m-d' + ]; + + /** + * Get brand stats ordered by ascendent days + * + * @param string $start Une date valide au format Y-m-d . + * @param string $end Une date valide au format Y-m-d . + * @return array The stats array by day + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field start could not be validated. + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field end could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - validationFailed, If provided data is wrong(CRM side). + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function getBrandStats(string $start, string $end): array + { + self::validateValue('start', $start); + self::validateValue('end', $end); + static::setUpApiInterface(); + $request = Utils::getResquest('apiV2.stats.brandStats', [], [ + 'start' => $start, + 'end' => $end + ]); + $response = static::$apiInterface->call($request); + return $response->data['stats']; + } + + /** + * Get brand stats ordered by ascendent days + * + * @param \LDC\LDCCRM\Models\Question $question Une question CRM possèdant un id réel. + * @param string $start Une date valide au format Y-m-d . + * @param string $end Une date valide au format Y-m-d . + * @return array The stats array by day + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a question's id could not be validated. + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field start could not be validated. + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field end could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - validationFailed, If provided data is wrong(CRM side). + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function getQuestionStats(Question $question, string $start, string $end): array + { + self::validateValue('question.id', $question->id); + self::validateValue('start', $start); + self::validateValue('end', $end); + static::setUpApiInterface(); + $request = Utils::getResquest('apiV2.stats.questionStats', [ + 'serviceQuestion' => $question->id, + ], [ + 'start' => $start, + 'end' => $end + ]); + $response = static::$apiInterface->call($request); + return $response->data; + } +} diff --git a/app/Lib/vendor/crm-client-3.0.6/src/Transport/ApiInterface.php b/app/Lib/vendor/crm-client-3.0.6/src/Transport/ApiInterface.php new file mode 100644 index 0000000..4041da9 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/src/Transport/ApiInterface.php @@ -0,0 +1,239 @@ +processRequest($request); + + // * Handle response Status. + if ($response->status->equals(ApiStatus::KO())) { + if (\is_int($response->apiError)) { + throw new CrmException($response->message, $response->apiError); + } else { + throw new ApiErrorException($response->apiError, $response->httpCode, $response->message); + } + } + return $response; + } + + /** + * Process request + * + * @param Request $request + * @return \LDC\LDCCRM\Transport\Response + */ + private function processRequest(Request $request): Response + { + $this->setCredentials($request); + $this->setHeaders($request); + $this->setTimestamp($request); + $request->setEndpoint(self::$endpoint); + $request->addData([ + 'signature' => $this->calulateSignature($request) + ]); + + /** @var \Psr\Http\Message\ResponseInterface $response */ + $response = $request->call(); + $status = in_array($response->getStatusCode(), [200, 201]) ? + ApiStatus::OK() : ApiStatus::KO(); + + return new Response($status, $response); + } + + /** + * Add spécific headers to he request + * + * @param \LDC\LDCCRM\Transport\Request $request + * @return void + */ + private function setHeaders(Request &$request): void + { + $headers = [ + 'User-Agent' => sprintf('LDC CRM client version %s', Utils::getPackageInfo()['version']), + 'Accept' => 'application/json', + 'Content-Type' => 'application/json' + ]; + $request->addHeaders($headers); + } + + /** + * Inject bearer credentials into the request + * + * @param \LDC\LDCCRM\Transport\Request $request + * @return void + */ + protected function setCredentials(Request $request) + { + if (self::$authentification) { + $request->addHeaders([ + 'Authorization' => implode(',', [ + sprintf('Basic %s', self::$authentification) + ]) + ]); + } + $request->addData(['bearer_token' => self::$bearerToken]); + } + + /** + * Add a timestamp (UTC) to the request + * + * @param Request $request + * @return void + */ + protected function setTimestamp(Request $request): void + { + $request->addData([ + // ! UTC date time. + 'timestamp' => \gmdate('Y-m-d H:i:s') + ]); + } + + /** + * Calculates request signature + * + * @param Request $request + * @return string + * @throws \LDC\LDCCRM\Exceptions\CrmException In case of failure. + */ + protected function calulateSignature(Request $request): string + { + $uri = \parse_url(sprintf('%s/%s', self::$endpoint, $request->uri)); + $method = \strtolower($request->method->value); + $parameters = $request->data; + + $signature = [ + 'uri' => sprintf( + '%s://%s%s', + // Assume https if non provided, security first. + $uri['scheme'] ?? 'https', + $uri['host'], + $uri['path'] ?? '', + ), + 'method' => $method + ]; + + $flattenRequestArray = function (array $array) use (&$flattenRequestArray) { + $out = []; + foreach ($array as $key => $value) { + if (is_array($value)) { + $subArray = $flattenRequestArray($value); + foreach ($subArray as $subKey => $subValue) { + $out["$key.$subKey"] = $subValue; + } + continue; + } + $out[$key] = $value; + } + return $out; + }; + + $parameters = $flattenRequestArray($parameters); + + // ! Natural sort by keys. + if (!uksort($parameters, "strnatcmp")) { + throw new CrmException('Natural sorting the request parameters failed.'); + } + + $parameters = \array_map(function ($key, $value) { + return sprintf('%s=%s', \rawurlencode($key), \rawurlencode($value)); + }, \array_keys($parameters), $parameters); + + $signature[] = \implode('&', $parameters); + + return base64_encode(hash_hmac( + 'sha256', + \implode('\n', $signature), + self::$bearerPwd, + true + )); + } +} diff --git a/app/Lib/vendor/crm-client-3.0.6/src/Transport/Request.php b/app/Lib/vendor/crm-client-3.0.6/src/Transport/Request.php new file mode 100644 index 0000000..f89869d --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/src/Transport/Request.php @@ -0,0 +1,210 @@ +hidden = function () { + return []; + }; + $this->method = $method; + $this->uri = $uri; + $this->data = $data; + $this->headers = $headers; + $this->client = new Client([ + RequestOptions::HEADERS => [ + 'User-Agent' => sprintf( + 'LDC CRM Client v%s', + Utils::getPackageInfo()['version'] + ) + ] + ]); + } + + /** + * Generic accessor + * + * @param string $field + * @return mixed|null + */ + public function __get(string $field) + { + if (\in_array($field, ['method', 'uri', 'data'])) { + return $this->{$field}; + } + return null; + } + + /** + * make the guzzle request + * + * @return void + */ + private function makeRequest(): void + { + $this->request = function () { + $uri = $this->uri; + // * If query merge query and data, set data to empty. + if ($this->method->equals(HttpMethods::get())) { + // * Merge query in url with Data + $q = \parse_url($uri, \PHP_URL_QUERY) ?? ''; + $q = \strpos($q, '&') !== false ? explode('&', $q) : []; + $query = []; + foreach ($q as $qParam) { + $qParam = explode('=', $qParam, 2); + + $query[$qParam[0]] = $qParam[1]; + } + // * Remove query part. + $uri = strtok($uri, '?'); + // * Append build query + $uri = sprintf("%s?%s", $uri, http_build_query(array_merge($query, $this->data))); + + $this->data = []; + } + $request = new Psr7Request( + \strtoupper($this->method), + sprintf('%s/%s', $this->endpoint, $uri), + $this->headers + ); + $request = Psr7Utils::modifyRequest($request, [ + 'body' => GuzzleHttpUtils::jsonEncode($this->data) + ]); + return $request; + }; + } + + /** + * Set the api endpoint to the request + * + * @param string $endpoint + * @return void + */ + public function setEndpoint(string $endpoint): void + { + $this->endpoint = $endpoint; + } + + /** + * Make the Http request + * + * @return ResponseInterface + */ + public function call(): ResponseInterface + { + $this->makeRequest(); + /** @var \GuzzleHttp\Psr7\Request */ + $request = ($this->request)(); + return $this->client->send($request, [ + // ! Do not throw HTTP Exceptions. + 'http_errors' => false, + 'allow_redirects' => false + ]); + } + + /** + * Add headers to the request + * + * @param array $headers + * @return void + */ + public function addHeaders(array $headers) + { + $this->headers = \array_merge($this->headers, $headers); + } + + /** + * Add data to the request + * + * @param array $data + * @return void + */ + public function addData(array $data) + { + $this->data = \array_merge($this->data, $data); + } +} diff --git a/app/Lib/vendor/crm-client-3.0.6/src/Transport/Response.php b/app/Lib/vendor/crm-client-3.0.6/src/Transport/Response.php new file mode 100644 index 0000000..613b6dd --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/src/Transport/Response.php @@ -0,0 +1,201 @@ +response = $response; + $this->status = $status; + $this->httpCode = $response->getStatusCode(); + $this->headers = $response->getHeaders(); + /** @var \GuzzleHttp\Psr7\Stream */ + $this->body = $response->getBody(); + + if (!in_array($response->getStatusCode(), [200, 201])) { + $this->message = $response->getReasonPhrase(); + } + + // * Body should be json data. + if (($decodedJson = $this->tryDecodeJson($this->body->getContents())) === false) { + if (Utils::getConfig('app.env') === 'testing') { + dump((string)$this->body); + } + throw new CrmException('The Api should have returned JSON data'); + } + $this->body = $decodedJson; + + // * If Api Error. + if ($this->status->equals(ApiStatus::KO())) { + // * If CRM Exception or Any Exception. + if ($this->httpCode === 500) { + $this->apiError = $this->body['data']['code']; + } else { + // * From here it should be an ApiErrorException. + $this->apiError = ApiError::make($this->body['data']['code']); + $this->message = $this->body['data']['message']; + if ($this->apiError->equals(ApiError::validationFailed())) { + $errors = new RecursiveIteratorIterator( + new RecursiveArrayIterator($this->body['data']['errors']) + ); + foreach ($errors as $error) { + $this->message = "$this->message $error"; + } + } + } + } + + $this->checkVersion($this->body['version']); + + return $this; + } + + /** + * Generic accessor + * + * @param string $field + * @return mixed|null + */ + public function __get(string $field) + { + if ( + \in_array($field, [ + 'status', 'httpCode', 'headers', + 'body', 'message', 'response', 'apiError' + ]) + ) { + return $this->{$field}; + } + if ($field === 'data' and isset($this->body[$field])) { + return $this->body[$field]; + } + return null; + } + + /** + * Try to decode json and return false if it is + * not a valid json + * + * @param string $string + * @return array|false Returns an associative data array or false if failed to parse. + */ + private function tryDecodeJson(string $string) + { + /** @var array|null */ + $data = json_decode($string, true); + return (json_last_error() == JSON_ERROR_NONE) ? $data : false; + } + + /** + * This checks if the crm version is way far beyond the client version. + * If a minor version mismatch is detected we will log this as a warning. + * If a major version mismatch is detected we will throw a CrmException as + * there shall be an incompatibility with the response. + * + * The goal here is to force clients to be up to date. + * A major version change means breaking change. + * + * @param string $version + * @return void + * @throws \LDC\LDCCRM\Exceptions\CrmException If a major version mismatch is detected. + */ + private function checkVersion(string $version) + { + $packageInfo = Utils::getPackageInfo(); + $ApackageInfo = explode('.', $packageInfo['version']); + $Aversion = \explode('.', $version); + if ($ApackageInfo[0] != $Aversion[0]) { + throw new CrmException(sprintf( + 'Incompatible major versions between CRM server %s and client %s', + $version, + $packageInfo['version'] + )); + } + if ($ApackageInfo[1] != $Aversion[1]) { + $message = sprintf( + 'Minor version mismatch between CRM server %s and client %s, this could lead to errors', + $version, + $packageInfo['version'] + ); + Utils::log($message, LogLevel::WARNING()); + } + } +} diff --git a/app/Lib/vendor/crm-client-3.0.6/src/Utils.php b/app/Lib/vendor/crm-client-3.0.6/src/Utils.php new file mode 100644 index 0000000..23b85e5 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/src/Utils.php @@ -0,0 +1,721 @@ + $attrRules) { + $validators = []; + if (\is_string($attrRules)) { + $attrRules = \explode('|', $attrRules); + } + foreach ($attrRules as $rule) { + $validators[] = self::makeValidatorFromRule($rule, $data, $attribute); + } //end foreach + } //end foreach + return function () use ($validators) { + foreach ($validators as $validator) { + try { + if (!$validator['validate']()) { + throw new ValidationException($validator['error']); + } + } catch (SkipValidationException $e) { + break; + } + } + }; + } + + /** + * Generate a validator + * + * @param mixed $rule + * @param array $data + * @param string $attribute + * @return array + * @throws \ErrorException If a rule is unknown. + */ + private static function makeValidatorFromRule( + $rule, + array $data, + string $attribute + ): array { + $rParams = []; + $closure = null; + if (\is_callable($rule) and !is_string($rule)) { + /** @var \Closure $closure */ + $closure = $rule; + $rule = '#closure#'; + } elseif (\strpos($rule, ':') !== false) { + $rParams = \explode(':', $rule, 2); + $rule = \array_shift($rParams); + } + switch (true) { + case in_array($rule, [ + 'nullable', 'sometimes', + 'int', 'bool', 'uuid', 'string', + 'date', 'email', 'array', + 'mixedCase', 'containDigit', 'containSymbol', + ]): + return self::{sprintf('validation%s', \ucfirst($rule))}( + $attribute, + $data[$attribute] ?? null + ); + case in_array($rule, ['size', 'min', 'max']): + return self::{sprintf('validation%s', \ucfirst($rule))}( + $attribute, + $data[$attribute], + $rParams + ); + case in_array($rule, ['required', 'sometimes']): + return self::{sprintf('validation%s', \ucfirst($rule))}( + $attribute, + $data, + ); + case $rule === 'date_format': + return self::validationDateFormat($attribute, $data[$attribute], $rParams); + case $rule === '#closure#': + /** @var \Closure $rule */ + return self::validationClosure($attribute, $data[$attribute], $closure); + default: + throw new \ErrorException("Unknown validation rule $rule " . implode(': ', $rParams)); + } //end switch + } + + // * VALIDATION RULES + + /** + * Make Required validator + * + * @param string $attribute + * @param array $data + * @return array + */ + private static function validationRequired(string $attribute, array $data): array + { + return [ + 'type' => 'required', + 'error' => sprintf( + '%s est obligatoire', + self::translate($attribute) + ), + 'validate' => function () use ($attribute, $data) { + return isset($data[$attribute]); + } + ]; + } + + /** + * Make Nullable validator + * + * @param string $attribute + * @param mixed $value + * @return array + */ + private static function validationNullable(string $attribute, $value): array + { + return [ + 'type' => 'nullable', + 'error' => sprintf( + '%s peut être égale à nul', + self::translate($attribute) + ), + 'validate' => function () use ($value) { + if (is_null($value)) { + throw new SkipValidationException(); + } + return true; + } + ]; + } + + /** + * Make Sometimes validator + * + * @param string $attribute + * @param mixed $data + * @return array + */ + private static function validationSometimes(string $attribute, $data): array + { + return [ + 'type' => 'sometimes', + 'error' => sprintf( + '%s est falcutatif', + self::translate($attribute) + ), + 'validate' => function () use ($data) { + if (empty($data)) { + throw new SkipValidationException(); + } + return true; + } + ]; + } + + /** + * Make Int validator + * + * @param string $attribute + * @param mixed $value + * @return array + */ + private static function validationInt(string $attribute, $value): array + { + return [ + 'type' => 'int', + 'error' => sprintf( + '%s doit être un entier', + self::translate($attribute) + ), + 'validate' => function () use ($value) { + return \is_int($value); + } + ]; + } + + /** + * Make String validator + * + * @param string $attribute + * @param mixed $value + * @return array + */ + private static function validationString(string $attribute, $value): array + { + return [ + 'type' => 'string', + 'error' => sprintf( + '%s doit être une chaine de charactères', + self::translate($attribute) + ), + 'validate' => function () use ($value) { + return \is_string($value); + } + ]; + } + + /** + * Make Bool validator + * + * @param string $attribute + * @param mixed $value + * @return array + */ + private static function validationBool(string $attribute, $value): array + { + return [ + 'type' => 'bool', + 'error' => sprintf( + '%s doit être un booléen', + self::translate($attribute) + ), + 'validate' => function () use ($value) { + return \is_bool($value) or $value === 1 or $value === 0; + } + ]; + } + + /** + * Make Size validator + * + * @param string $attribute + * @param mixed $value + * @param array $params + * @return array + */ + private static function validationSize(string $attribute, $value, array $params): array + { + return [ + 'type' => 'min', + 'error' => sprintf( + '%s doit avoir %s caratères', + self::translate($attribute), + $params[0], + $params[0] + ), + 'validate' => function () use ($value, $params) { + if (\is_string($value)) { + return \strlen($value) === (int)$params[0]; + } + return false; + } + ]; + } + + /** + * Make Min validator + * + * @param string $attribute + * @param mixed $value + * @param array $params + * @return array + */ + private static function validationMin(string $attribute, $value, array $params): array + { + return [ + 'type' => 'min', + 'error' => sprintf( + '%s doit avoir au moins %s caratères, ou être plus grand que %s si c\'est un nombre', + self::translate($attribute), + $params[0], + $params[0] + ), + 'validate' => function () use ($value, $params) { + if (\is_string($value)) { + return \strlen($value) >= (int)$params[0]; + } + if (\is_int($value)) { + return $value >= (int)$params[0]; + } + return false; + } + ]; + } + + /** + * Make Max validator + * + * @param string $attribute + * @param mixed $value + * @param array $params + * @return array + */ + private static function validationMax(string $attribute, $value, array $params): array + { + return [ + 'type' => 'max', + 'error' => sprintf( + '%s doit avoir au moins %s caratères, ou être plus grand que %s si c\'est un nombre', + self::translate($attribute), + $params[0], + $params[0] + ), + 'validate' => function () use ($value, $params) { + if (\is_string($value)) { + return \strlen($value) <= (int)$params[0]; + } + if (\is_int($value)) { + return $value <= (int)$params[0]; + } + return false; + } + ]; + } + + /** + * Make Uuid validator + * + * @param string $attribute + * @param mixed $value + * @return array + */ + private static function validationUuid(string $attribute, $value): array + { + return [ + 'type' => 'uuid', + 'error' => sprintf( + '%s doit être un uuid valide', + self::translate($attribute) + ), + 'validate' => function () use ($value) { + return Validator::uuid()->validate($value); + } + ]; + } + + /** + * Make MixedCase validator + * + * @param string $attribute + * @param mixed $value + * @return array + */ + private static function validationMixedCase(string $attribute, $value): array + { + return [ + 'type' => 'mixedCase', + 'error' => sprintf( + '%s doit contenir des lettre minuscules et majuscules', + self::translate($attribute) + ), + 'validate' => function () use ($value) { + return \preg_match('/[a-z]/', $value) and \preg_match('/[A-Z]/', $value); + } + ]; + } + + /** + * Make ContainDigit validator + * + * @param string $attribute + * @param mixed $value + * @return array + */ + private static function validationContainDigit(string $attribute, $value): array + { + return [ + 'type' => 'containDigit', + 'error' => sprintf( + '%s doit contenir au moins un chiffre', + self::translate($attribute) + ), + 'validate' => function () use ($value) { + return \preg_match('/[0-9]/', $value); + } + ]; + } + + /** + * Make ContainSymbol validator + * + * @param string $attribute + * @param mixed $value + * @return array + */ + private static function validationContainSymbol(string $attribute, $value): array + { + return [ + 'type' => 'containSymbol', + 'error' => sprintf( + '%s doit contenir au moins un caractère spécial comme une virgule par exemple', + self::translate($attribute) + ), + 'validate' => function () use ($value) { + return \preg_match('/[^a-zA-Z0-9]/', $value); + } + ]; + } + + /** + * Make Date validator + * + * @param string $attribute + * @param mixed $value + * @return array + */ + private static function validationDate(string $attribute, $value): array + { + return [ + 'type' => 'date', + 'error' => sprintf('%s doit être une date valide', self::translate($attribute)), + 'validate' => function () use ($value) { + return Validator::dateTime()->validate($value); + } + ]; + } + + /** + * Make DateFormat validator + * + * @param string $attribute + * @param mixed $value + * @param array $params + * @return array + */ + private static function validationDateFormat(string $attribute, $value, array $params): array + { + return [ + 'type' => 'date_format', + 'error' => sprintf('%s doit être une date au format %s', self::translate($attribute), $params[0]), + 'validate' => function () use ($value, $params) { + return Validator::dateTime($params[0])->validate($value); + } + ]; + } + + /** + * Make Email validator + * + * @param string $attribute + * @param mixed $value + * @return array + */ + private static function validationEmail(string $attribute, $value): array + { + return [ + 'type' => 'email', + 'error' => sprintf('%s doit être un email valide', self::translate($attribute)), + 'validate' => function () use ($value) { + return Validator::email()->validate($value); + } + ]; + } + + /** + * Make Array validator + * + * @param string $attribute + * @param mixed $value + * @return array + */ + private static function validationArray(string $attribute, $value): array + { + return [ + 'type' => 'array', + 'error' => sprintf('%s doit être un tableau valide', self::translate($attribute)), + 'validate' => function () use ($value) { + return Validator::arrayType()->validate($value); + } + ]; + } + + /** + * Make Closure validator + * + * @param string $attribute + * @param mixed $value + * @param \Closure $closure + * @return array + */ + private static function validationClosure(string $attribute, $value, \Closure $closure): array + { + return [ + 'type' => 'closure', + 'error' => sprintf('%s doit être validé', self::translate($attribute)), + 'validate' => function () use ($attribute, $value, $closure) { + $closure($attribute, $value, function ($message) { + throw new ValidationException($message); + }); + return true; + } + ]; + } + + // * END VALIDATION RULES + + /** + * This is only used for unit tests. + * Get config + * + * @param string $key + * @param string $default + * @return string|null + */ + public static function getConfig(string $key, string $default = null): ?string + { + $value = null; + if (function_exists('config')) { + $value = \config($key, $default); + } + + return $value; + } + + /** + * Generate a Request from the route name + * + * @param string $routeName + * @param array $query Params to pass on to the route. + * @param array $data Http body params. + * @return \LDC\LDCCRM\Transport\Request + * @throws \ErrorException If the requested route is unknown. + * @throws \ErrorException If a required parameter is missing. + */ + public static function getResquest(string $routeName, array $query = [], array $data = []): Request + { + // Convert bool to integer. + $query = \array_map(function ($v) { + return is_bool($v) ? (int)$v : $v; + }, $query); + $data = \array_map(function ($v) { + return is_bool($v) ? (int)$v : $v; + }, $data); + + $routes = \json_decode(\file_get_contents(__DIR__ . '/routes.json'), true); + if (!isset($routes[$routeName])) { + throw new \ErrorException("Unknown route $routeName from the crm"); + } + $route = $routes[$routeName]; + $matches = []; + $matchedIndex = []; + \preg_match_all('/{([\w-]*)}/', $route['uri'], $matches); + if (\count($matches[0])) { + foreach ($matches[0] as $k => $match) { + if (!isset($query[$matches[1][$k]])) { + throw new \ErrorException(sprintf('Missing required parameter %s', $matches[1][$k])); + } + $route['uri'] = str_replace($match, $query[$matches[1][$k]], $route['uri']); + $matchedIndex[$matches[1][$k]] = $query[$matches[1][$k]]; + } + } + foreach ($matchedIndex as $key => $value) { + unset($query[$key]); + } + if (count($query)) { + $route['uri'] = sprintf('%s?%s', $route['uri'], \http_build_query($query)); + } + return new Request(HttpMethods::make($route['methods'][0]), $route['uri'], [], $data); + } + + /** + * Get composer.json infos + * + * @return array + */ + public static function getPackageInfo(): array + { + if (!static::$packageInfos) { + static::$packageInfos = \json_decode(\file_get_contents(__DIR__ . '/../composer.json'), true); + } + return static::$packageInfos; + } + + /** + * Translation a string using php file lang + * + * @param string $key + * @param string $lang + * @return string + */ + public static function translate(string $key, string $lang = 'fr'): string + { + try { + if (!array_key_exists($lang, self::$translations)) { + self::$translations = require __DIR__ . "/../resources/lang/$lang.php"; + } + } finally { + if (!isset(self::$translations['validation'][$key])) { + return $key; + } else { + return self::$translations['validation'][$key]; + } + } + } + + /** + * Write log using syslog + * It also write log using \Illuminate\Support\Facades\Log + * if it is present + * + * @param string $message The message is prefixed with "LDC CRM:" . + * @param \LDC\LDCCRM\Enums\LogLevel $level The log level to apply. + * @return void + */ + public static function log(string $message, LogLevel $level) + { + $message = "LDC CRM: $message"; + if (\class_exists('\Illuminate\Support\Facades\Log')) { + switch ($level) { + case LogLevel::EMERG(): + \Illuminate\Support\Facades\Log::emergency($message); + break; + case LogLevel::ALERT(): + \Illuminate\Support\Facades\Log::alert($message); + break; + case LogLevel::CRIT(): + \Illuminate\Support\Facades\Log::critical($message); + break; + case LogLevel::ERR(): + \Illuminate\Support\Facades\Log::error($message); + break; + case LogLevel::WARNING(): + \Illuminate\Support\Facades\Log::warning($message); + break; + case LogLevel::NOTICE(): + \Illuminate\Support\Facades\Log::notice($message); + break; + case LogLevel::INFO(): + \Illuminate\Support\Facades\Log::info($message); + break; + case LogLevel::DEBUG(): + \Illuminate\Support\Facades\Log::debug($message); + break; + }//end switch + \Illuminate\Support\Facades\Log::warning($message); + }//end if + \syslog(\constant($level), $message); + } + + /** + * Set a property without any validation. + * + * ! Warning : this can change any property of the object, use with caution. + * + * @param object $object The object to inspect. + * @param string $property The object property to assign to. + * @param mixed $value The value to insert. + * @return void + * @throws LDC\LDCCRM\Exceptions\AccessError If trying to set a value on a unknown property. + */ + public static function setRawProperty(object $object, string $property, $value): void + { + if (is_object($value) and in_array(BaseEnum::class, class_parents($value))) { + $value = $value->value; + } + $objectName = \get_class($object); + $refClass = new \ReflectionClass($objectName); + try { + $refProp = $refClass->getProperty($property); + } catch (\ReflectionException $e) { + throw new AccessError($objectName, $property); + } + $refProp->setAccessible(true); + $refProp->setValue($object, $value); + } + + /** + * Get a property of an object. + * + * ! Warning : this will return any property of the object, use with caution. + * + * @param object $object The object to inspect. + * @param string $property The object property to inspect. + * @return mixed|null Returns null if the property was not found any way. + */ + public static function getRawProperty(object $object, string $property) + { + $refClass = new \ReflectionClass(\get_class($object)); + try { + $refProp = $refClass->getProperty($property); + } catch (\ReflectionException $e) { + return null; + } + $refProp->setAccessible(true); + return $refProp->getValue($object); + } +} diff --git a/app/Lib/vendor/crm-client-3.0.6/src/WordPress/WPCrm.php b/app/Lib/vendor/crm-client-3.0.6/src/WordPress/WPCrm.php new file mode 100644 index 0000000..3ab522d --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/src/WordPress/WPCrm.php @@ -0,0 +1,625 @@ + + * @license MIT https://opensource.org/licenses/MIT + * @link / + */ + +namespace LDC\LDCCRM\WordPress; + +use LDC\LDCCRM\CrmApiV2; +use LDC\LDCCRM\Enums\ApiError; +use LDC\LDCCRM\Enums\LogLevel; +use LDC\LDCCRM\Exceptions\ApiErrorException; +use LDC\LDCCRM\Exceptions\CrmException; +use LDC\LDCCRM\Models\Customer; +use LDC\LDCCRM\Models\SingleOptin; +use LDC\LDCCRM\Utils; + +/* phpcs:ignore Squiz.PHP.CommentedOutCode.Found + TABLE LDC CUSTOMERS + CREATE TABLE `ldc_wp_customers` ( + `hashcode` VARCHAR(36) NOT NULL DEFAULT '' COMMENT 'Le hashcode (UUID)', + `email` VARCHAR(255) NOT NULL DEFAULT '' COMMENT 'Le customer email', + `uuid` VARCHAR(50) NOT NULL DEFAULT '' COMMENT 'Code unique (inscripton, validation, etc)', + PRIMARY KEY (`hashcode`) + ) + COMMENT='Les customers sur un WP liées à la CRM' + COLLATE='utf8mb4_unicode_ci'; +*/ + +/** + * Class de gestion des users en session avec Wordpress + * + * @category API + * @package LDCCrmClient + * @subpackage Wordpress + * @author Jérémy Munsch + * @license MIT https://opensource.org/licenses/MIT + * @link / + */ +class WPCrm +{ + /** + * The session key name + * + * @var string + */ + private static $sessionKey = null; + + /** + * The session live status + * + * @var boolean + */ + private static $sessionDestroyed = false; + + /** + * The user object + * + * @var \LDC\LDCCRM\CrmApiV2 + */ + protected static $api = null; + + /** + * The user object + * + * @var \LDC\LDCCRM\WordPress\WPCrmUser + */ + protected static $user = null; + + /** + * Get the current user + * return null if the user is not logged in + * + * @return \LDC\LDCCRM\WordPress\WPCrmUser|null + */ + public static function getUser() + { + self::bootSessionIfNeeded(); + return self::$user; + } + + /** + * Manually login a user + * If self::$user is already set. + * + * @return \LDCCRM\WPCrmUser|null + */ + public static function forceLogin() + { + self::bootSessionIfNeeded(); + if ($user = self::getUser()) { + $_SESSION['wpcrm'][self::$sessionKey] = json_encode($user); + } + return $user; + } + + /** + * Get the current user + * return api response code if an error occurs + * + * @param string $identification The customer hashcode or email. + * + * @return \LDC\LDCCRM\Wordpress\WPCrmUser|false + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function getUserFromApi(string $identification) + { + self::initLdcApi(); + try { + if (!($response = self::makeApiV2Call(self::$api, 'getCustomer', [$identification]))) { + return false; + } + } catch (ApiErrorException $e) { + switch ($e->getApiError()) { + case ApiError::modelNotFound(): + return false; + default: + throw $e; + } + } + /** @var \LDC\LDCCRM\Models\Customer */ + $customer = $response; + self::setUser($customer); + return self::$user; + } + + /** + * Try to login with CRM API + * A session will be started if credentials are valid. + * + * @param string $email The customer email. + * @param string $password The customer password. + * + * @return boolean + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - authFailed, If credentials are not valid. + * - customerNotActivated, If the account is not activated. + */ + public static function login(string $email, string $password) + { + self::bootSessionIfNeeded(); + $validCredentials = self::loginUserWithApi($email, $password); + + if ($validCredentials and ($user = self::getUserFromApi($email))) { + self::saveOrUpdateUserToTable(); + $_SESSION['wpcrm'][self::$sessionKey] = json_encode($user); + } + + return $validCredentials; + } + + /** + * Destroy the customer from session + * and therefore logout + * + * @return void + */ + public static function logout() + { + self::bootSessionIfNeeded(); + $_SESSION['wpcrm'] = []; + session_destroy(); + self::$sessionDestroyed = true; + } + + /** + * Check if the user is logged in. + * This means he has an active valid session. + * + * @return boolean + */ + public static function check() + { + self::bootSessionIfNeeded(); + return (bool)self::getUser(); + } + + /** + * Save current customer to + * the local database and on crm + * + * @return boolean true if the operation succeeded false otherwise + * @throws LDC\LDCCRM\Exceptions\CrmException If a critical error occured. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - validationFailed, If provided data is wrong(CRM side). + * - modelNotFound, If this customer hashcode could not be found. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function saveUser(): bool + { + if (!self::getUser() or !($customer = self::getCustomer())) { + return false; + } + try { + if (!self::makeApiV2Call($customer, 'save')) { + return false; + } + } catch (ApiErrorException $e) { + switch ($e->getApiError()) { + case ApiError::modelNotFound(): + return false; + default: + throw $e; + } + } + self::saveOrUpdateUserToTable(); + return true; + } + + /** + * Delete current customer from + * the local database and the crm + * + * @return boolean true if the operation succeeded + * @throws LDC\LDCCRM\Exceptions\CrmException If a critical error occured. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - modelNotFound, If this customer hashcode could not be found. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function deleteUser(): bool + { + if (!self::getUser() or !($customer = self::getCustomer())) { + return false; + } + try { + if (!self::makeApiV2Call($customer, 'delete')) { + return false; + } + } catch (ApiErrorException $e) { + switch ($e->getApiError()) { + case ApiError::authorizationException(): + case ApiError::modelNotFound(): + return false; + default: + throw $e; + } + } + self::deleteUserFromTable(); + return true; + } + + /** + * Toggle the current user optin value + * on the current user and the crm + * + * @return boolean true if the operation succeeded + * @throws LDC\LDCCRM\Exceptions\CrmException If a critical error occured. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - modelNotFound, If this customer hashcode could not be found. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function toggleUserOptin(): bool + { + if (!self::getUser() or !($customer = self::getCustomer())) { + return false; + } + try { + if (!self::makeApiV2Call($customer, 'save')) { + return false; + } + } catch (ApiErrorException $e) { + switch ($e->getApiError()) { + case ApiError::authorizationException(): + case ApiError::modelNotFound(): + return false; + default: + throw $e; + } + } + $customer->opt_in = !$customer->opt_in; + return true; + } + + /** + * Set the single optin status for an email + * on the crm + * + * @param string $email + * @param boolean $opt_in + * + * @return boolean true if the operation succeeded false otherwise + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field email could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - singleOptinCustomerExists, If a customer exists with this email. + */ + public static function setSingleOptin(string $email, bool $opt_in): bool + { + return self::makeApiV2Call(SingleOptin::class, 'setStatus', [ + $email, $opt_in + ]); + } + + /** + * Toggle the current user optin value + * on the current user and the crm + * + * @return boolean True if the operation succeeded. + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a customer's hashcode could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - modelNotFound, If this customer hashcode could not be found. + * - customerAlreadyActive, It the customer is already activated. + */ + public static function activateUser(): bool + { + if (!self::getUser() or !($customer = self::getCustomer())) { + return false; + } + if ($customer->status) { + return true; + } + if (!self::makeApiV2Call($customer, 'activate')) { + return false; + } + $customer->opt_in = !$customer->opt_in; + return true; + } + + /** + * Generate a new user + * + * @return WPCrmUser + */ + public static function getNewUser(): WPCrmUser + { + self::$user = new WPCrmUser(); + return self::$user; + } + + /** + * Remove active user + * to prevent WPCrm::check to return true + * + * @return void + */ + public static function unsetActiveUser(): void + { + self::$user = null; + } + + // * --- PRIVATE --- METHODS + + /** + * Check customer credentials using the CRM. + * + * @param string $email The customer email. + * @param string $password The customer password. + * + * @return boolean + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - authFailed, If credentials are not valid. + * - customerNotActivated, If the account is not activated. + */ + private static function loginUserWithApi(string $email, string $password): bool + { + self::initLdcApi(); + + /** @var boolean $response */ + $response = self::makeApiV2Call(self::$api, 'login', [$email, $password]); + return $response; + } + + /** + * Get all customer infos + * + * @return \LDC\LDCCRM\Models\Customer|null + */ + private static function getCustomer(): ?Customer + { + if (!self::getUser()) { + return null; + } + if (!Utils::getRawProperty(self::$user, 'info')) { + self::getUserFromApi(self::$user->hashcode); + } + /** @var \LDC\LDCCRM\Models\Customer */ + $customer = Utils::getRawProperty(self::$user, 'info'); + return $customer; + } + + /** + * Create a user + * stores it to the session + * and finally saves it to the database if it does not exists + * + * @param \LDC\LDCCRM\Models\Customer $customer + * + * @return void + */ + private static function setUser(Customer $customer): void + { + self::bootSessionIfNeeded(); + if (!self::$user) { + self::$user = new WPCrmUser($customer->hashcode, $customer->email); + } + self::$user->setInfo($customer); + } + + /** + * Get the initialized API object + * + * @return \LDC\LDCCRM\CrmApiV2 + * @throws \ErrorException If php does not have extension curl. + */ + private static function initLdcApi(): CrmApiV2 + { + if (!self::$api) { + if (!extension_loaded('curl')) { + throw new \ErrorException( + 'WPCrm requires php extension curl' + ); + } + self::$api = new CrmApiV2(); + } + return self::$api; + } + + /** + * Make a call using apiV2 + * + * @param object|string $obj An object or a class name. + * @param string $method The method to call. + * @param array $arguments Arguments to pass. + * @return mixed|false + * @throws LDC\LDCCRM\Exceptions\ApiErrorException If any of this exception is thrown. + * @throws LDC\LDCCRM\Exceptions\CrmException If a critical error occured. + */ + private static function makeApiV2Call($obj, string $method, array $arguments = []) + { + try { + return \forward_static_call_array([$obj, $method], $arguments); + } catch (ApiErrorException $e) { + switch ($e->getApiError()) { + case ApiError::apiAuthFailed(): + Utils::log($e->getMessage(), LogLevel::CRIT()); + throw $e; + default: + Utils::log($e->getMessage(), LogLevel::DEBUG()); + throw $e; + } + } catch (CrmException $e) { + Utils::log($e->getMessage(), LogLevel::CRIT()); + throw $e; + } + } + + /** + * Boot the php session if needed + * + * @return void + */ + private static function bootSessionIfNeeded(): void + { + self::$sessionKey = ($_SERVER['HTTP_USER_AGENT'] ?? '') . ($_SERVER['REMOTE_ADDR'] ?? ''); + /** @var string self::$sessionKey */ + self::$sessionKey = \strlen(self::$sessionKey) ? self::$sessionKey : (date('d') ? date('d') : ''); + if (!session_id() && !self::$sessionDestroyed) { + session_start(); + } + if (!isset($_SESSION['wpcrm'])) { + $_SESSION['wpcrm'] = []; + } + if ( + // If session identity is violated. + count($_SESSION['wpcrm']) > 1 or + // If session timed out. + (isset($_SESSION['wpcrm'][self::$sessionKey]) and + isset($_SESSION['lastActivity']) and + // * 15 minutes session. + ($_SESSION['lastActivity'] + (15 * 60)) < time()) + ) { + // Destroy session. + self::$sessionDestroyed = true; + $_SESSION['wpcrm'] = []; + } else { + $_SESSION['lastActivity'] = time(); + } + if (!self::$user and isset($_SESSION['wpcrm'][self::$sessionKey])) { + self::$user = WPCrmUser::parseFromJson( + $_SESSION['wpcrm'][self::$sessionKey] + ); + } + } + + /** + * Get a customer from table + * + * @param string $hashcode The customer hashcode. + * + * @return array|null Database query result in format specified by $output or null on failure. + */ + public static function getUserFromTable(string $hashcode): ?array + { + return self::getWpDb()->get_row( + self::getWpDb()->prepare( + 'SELECT * FROM `ldc_wp_customers` WHERE `hashcode` = %s', + [ + 'hashcode' => $hashcode + ] + ), + 'ARRAY_A' + ); + } + + /** + * Get a customer from table by an email + * + * @param string $email The customer email. + * + * @return array|null Database query result in format specified by $output or null on failure. + */ + public static function getUserFromTableByEmail(string $email): ?array + { + return self::getWpDb()->get_row( + self::getWpDb()->prepare( + 'SELECT * FROM `ldc_wp_customers` WHERE `email` = %s', + [ + 'email' => $email + ] + ), + 'ARRAY_A' + ); + } + + /** + * Get a customer from table by an email + * + * @param string $uuid The customer transaction uuid. + * + * @return array|null Database query result in format specified by $output or null on failure. + */ + public static function getUserFromTableByUuid(string $uuid): ?array + { + return self::getWpDb()->get_row( + self::getWpDb()->prepare( + 'SELECT * FROM `ldc_wp_customers` WHERE `uuid` = %s', + [ + 'uuid' => $uuid + ] + ), + 'ARRAY_A' + ); + } + + /** + * Save or update the user to the table + * + * @return integer The number of row affected on the table. + */ + private static function saveOrUpdateUserToTable(): int + { + if (is_string(self::$user->hashcode) and self::getUserFromTable(self::$user->hashcode)) { + return self::query( + 'UPDATE `ldc_wp_customers` SET `email` = %s, `uuid` = %s WHERE `hashcode` = %s', + [ + 'email' => self::$user->email, + 'uuid' => self::$user->uuidToken, + 'hashcode' => self::$user->hashcode + ] + ); + } + return self::query( + 'INSERT INTO `ldc_wp_customers`(hashcode, email, uuid) VALUES (%s, %s, %s)', + [ + 'hashcode' => self::$user->hashcode, + 'email' => self::$user->email, + 'uuid' => self::$user->uuidToken + ] + ); + } + + /** + * Save or update the user to the table + * + * @return integer The number of row removed from the table. + */ + private static function deleteUserFromTable(): int + { + return self::query( + 'DELETE FROM `ldc_wp_customers` WHERE `hashcode` = %s;', + [ + 'hashcode' => self::$user->hashcode + ] + ); + } + + /** + * Query in DB + * + * @param string $query La request avec les variables en points d'interrogation. + * @param array $params Les paramètres des la requète. + * + * @return integer|boolean Boolean true for CREATE, ALTER, TRUNCATE and DROP queries. + * Number of rows affected/selected for all other queries. Boolean false on error. + */ + private static function query(string $query, array $params = []) + { + return self::getWpDb()->query( + self::getWpDb()->prepare($query, $params) + ); + } + + /** + * Get WP 'pdo instance' + * + * @return object The $wpdb variable + */ + private static function getWpDb(): object + { + // phpcs:ignore Squiz.PHP.GlobalKeyword.NotAllowed + global $wpdb; + return $wpdb; + } +} diff --git a/app/Lib/vendor/crm-client-3.0.6/src/WordPress/WPCrmAnswer.php b/app/Lib/vendor/crm-client-3.0.6/src/WordPress/WPCrmAnswer.php new file mode 100644 index 0000000..edfa651 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/src/WordPress/WPCrmAnswer.php @@ -0,0 +1,48 @@ + + * @license MIT https://opensource.org/licenses/MIT + * @link / + */ + +namespace LDC\LDCCRM\WordPress; + +use LDC\LDCCRM\Models\Answer; + +/** + * Class de gestion de la segmentation question avec Wordpress + * + * @category API + * @package LDCCrmClient + * @subpackage Wordpress + * @author Jérémy Munsch + * @license MIT https://opensource.org/licenses/MIT + * @link / + */ +abstract class WPCrmAnswer +{ + /** + * Set answers to a question for a specific user + * + * @param \LDC\LDCCRM\WordPress\WPCrmUser $user + * @param integer $questionId The question id . + * @param array $answersId An array with answers id . + * @return boolean true if succeeded + * + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ValidationException If $user hashcode is not a valid UUID. + * @throws \LDC\LDCCRM\Exceptions\ValidationException If any of the provided ids are invalid. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - validationFailed, If given ids are wrong(CRM side). + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public function setQuestionAnswers(WPCrmUser $user, int $questionId, array $answersId): bool + { + return Answer::setQuestionAnswers($user->hashcode, $questionId, $answersId); + } +} diff --git a/app/Lib/vendor/crm-client-3.0.6/src/WordPress/WPCrmQuestion.php b/app/Lib/vendor/crm-client-3.0.6/src/WordPress/WPCrmQuestion.php new file mode 100644 index 0000000..ac30c57 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/src/WordPress/WPCrmQuestion.php @@ -0,0 +1,89 @@ + + * @license MIT https://opensource.org/licenses/MIT + * @link / + */ + +namespace LDC\LDCCRM\WordPress; + +use LDC\LDCCRM\Models\Question; +use LDC\LDCCRM\Utils; + +/** + * Class de gestion de la segmentation question avec Wordpress + * + * @category API + * @package LDCCrmClient + * @subpackage Wordpress + * @author Jérémy Munsch + * @license MIT https://opensource.org/licenses/MIT + * @link / + */ +abstract class WPCrmQuestion +{ + /** + * Get all questions only + * + * @return array Of \LDC\LDCCRM\Models\Question + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function getAll(): array + { + return Question::all(); + } + + /** + * Get all the questions with user answers + * + * @param \LDC\LDCCRM\WordPress\WPCrmUser $user + * @return array Of \LDC\LDCCRM\Models\Question and their \LDC\LDCCRM\Models\Answer. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a hashcode is not a valid UUID. + * @throws \LDC\LDCCRM\Exceptions\ValidationException If any of the provided ids are invalid. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - modelNotFound, If the customer could not be found(CRM side). + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function allWithCustomerAnswers(WPCrmUser $user): array + { + // * Force loading of user info from crm + if (!Utils::getRawProperty($user, 'info')) { + WPCrm::getUserFromApi($user->hashcode); + } + // * Get the raw customer + /** @var \LDC\LDCCRM\Models\Customer */ + $customer = Utils::getRawProperty($user, 'info'); + return Question::allWithCustomerAnswers($customer); + } + + /** + * Get unanswered question for a specific customer + * + * @param \LDC\LDCCRM\WordPress\WPCrmUser $user + * @return \LDC\LDCCRM\Models\Question[] + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ValidationException If $user hashcode is not a valid UUID. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - modelNotFound, If the customer could not be found(CRM side). + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function unansweredBy(WPCrmUser $user): array + { + // * Force loading of user info from crm + if (!Utils::getRawProperty($user, 'info')) { + WPCrm::getUserFromApi($user->hashcode); + } + // * Get the raw customer + /** @var \LDC\LDCCRM\Models\Customer */ + $customer = Utils::getRawProperty($user, 'info'); + return Question::unansweredBy($customer); + } +} diff --git a/app/Lib/vendor/crm-client-3.0.6/src/WordPress/WPCrmUser.php b/app/Lib/vendor/crm-client-3.0.6/src/WordPress/WPCrmUser.php new file mode 100644 index 0000000..a65684a --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/src/WordPress/WPCrmUser.php @@ -0,0 +1,271 @@ + + * @license MIT https://opensource.org/licenses/MIT + * @link / + */ + +namespace LDC\LDCCRM\WordPress; + +use JsonSerializable; +use LDC\LDCCRM\Exceptions\WpCrmInvalidJsonUserInfo; +use LDC\LDCCRM\Models\Customer; + +/** + * Class de gestion des users en session avec Wordpress + * + * @property string $uuidToken — A local transaction token for this user + * + * + * @property string $hashcode — The crm hashcode this is a readonly field + * + * @property string $email — Must be a rfc valid email on a valid domain name + * + * @property string $password + * Required only on create, + * must have upper and lowers chars, + * at least 1 number, + * at leat 1 upper char, + * at least 1 lower char and + * at leat 1 special char + * + * @property string $firstname — The account first name + * + * @property string $lastname — The account last name + * + * @property string $birth_date — The account birth date 'yyyy-mm-dd' + * + * @property string $phone — The account phone + * + * @property string $address + * The account address (street number, name, build, flat number) + * + * @property string $address2 — The account phone (address complement) + * + * @property string $city — The account city name + * + * @property string $postcode — The account city postcode + * + * @property \LDC\LDCCRM\Enums\Country $country — The account country residence + * + * @property bool $opt_in — true if the account is opt in + * + * @property bool $status — true if the account is activated + * + * @property string $last_connection the last time user was connected 'yyyy-mm-dd HH:ii:ss' + * + * @category API + * @package LDCCrmClient + * @subpackage Wordpress + * @author Jérémy Munsch + * @license MIT https://opensource.org/licenses/MIT + * @link / + */ +class WPCrmUser implements JsonSerializable +{ + /** + * The CRM hashcode (UUID) + * + * @var string + */ + protected $phashcode = null; + + /** + * The CRM customer email + * + * @var string + */ + protected $pemail = null; + + /** + * The CRM customer info (the api response) + * + * @var \LDC\LDCCRM\Models\Customer + */ + protected $info = null; + + /** + * The CRM customer temp uuidToken to validate transactions + * + * @var string UUID + */ + protected $uuidToken = null; + + /** + * WPCrmUser construct + * + * @param string $hashcode The customer hashcode (UUID). + * @param string $email The customer email. + */ + public function __construct(string $hashcode = null, string $email = null) + { + $this->phashcode = $hashcode; + $this->pemail = $email; + } + + /** + * Generic accessor + * + * @param string $prop The prop to get. + * + * @return boolean|string|\LDC\LDCCRM\Enums\Country|null + */ + public function __get(string $prop) + { + if ($prop === 'uuidToken') { + return $this->uuidToken; + } + if (is_null($this->info)) { + if (!is_null($this->pemail)) { + WPCrm::getUserFromApi($this->pemail); + } else { + $this->info = new Customer(); + } + } + return $this->info->{$prop}; + } + + /** + * Generic mutator + * + * @param string $prop The property to assign. + * @param mixed $value The value to set. + * + * @return void + */ + public function __set(string $prop, $value): void + { + if ($prop === 'uuidToken') { + $this->uuidToken = $value; + return; + } + if (is_null($this->info)) { + if (!is_null($this->pemail)) { + WPCrm::getUserFromApi($this->pemail); + } else { + $this->info = new Customer(); + } + } + $this->info->{$prop} = $value; + if ($prop === 'email') { + $this->pemail = $value; + } + } + + /** + * Set the customer info + * with api response + * + * @param \LDC\LDCCRM\Models\Customer $customer The Api object reponse (user). + * + * @return void + */ + public function setInfo(Customer $customer) + { + $this->info = $customer; + $this->pemail = $customer->email; + $this->phashcode = $customer->hashcode; + } + + /** + * Generate a user from session data + * + * @param string $string The json data stored in session. + * + * @return \LDC\LDCCRM\WordPress\WPCrmUser + * @throws \LDC\LDCCRM\Exceptions\WpCrmInvalidJsonUserInfo If the json string does no + * contain the needed information. + */ + public static function parseFromJson(string $string): WPCrmUser + { + $a = json_decode($string, true); + if (!isset($a['hashcode']) or !isset($a['email'])) { + throw new WpCrmInvalidJsonUserInfo(\sprintf( + '%s::%s is missing some information to parse from, uuid was %s', + __CLASS__, + __METHOD__, + $a['hashcode'] + )); + } + return new self( + $a['hashcode'], + $a['email'] + ); + } + + /** + * Serialize this object to an array + * + * @return array + */ + public function jsonSerialize() + { + return [ + 'hashcode' => $this->phashcode, + 'email' => $this->pemail + ]; + } + + /** + * Save current customer to + * the local database and on crm + * + * @return boolean true if the operation succeeded false otherwise + * @throws LDC\LDCCRM\Exceptions\CrmException If a critical error occured. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - validationFailed, If provided data is wrong(CRM side). + * - modelNotFound, If this customer hashcode could not be found. + */ + public function save(): bool + { + return WPCrm::saveUser(); + } + + /** + * Delete current customer to + * the local database and on crm + * + * @return boolean true if the operation succeeded false otherwise + * @throws LDC\LDCCRM\Exceptions\CrmException If a critical error occured. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - modelNotFound, If this customer hashcode could not be found. + */ + public function delete(): bool + { + return WPCrm::deleteUser(); + } + + /** + * Toggle the current user optin value + * on the current user and the crm + * + * @return boolean true if the operation succeeded + * @throws LDC\LDCCRM\Exceptions\CrmException If a critical error occured. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - modelNotFound, If this customer hashcode could not be found. + */ + public function toggleOptin(): bool + { + return WPCrm::toggleUserOptin(); + } + + /** + * Activate the account in the crm + * + * @return boolean true if succeeded + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a customer's hashcode could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - modelNotFound, If this customer hashcode could not be found. + * - customerAlreadyActive, It the customer is already activated. + */ + public function activate(): bool + { + return WPCrm::activateUser(); + } +} diff --git a/app/Lib/vendor/crm-client-3.0.6/src/routes.json b/app/Lib/vendor/crm-client-3.0.6/src/routes.json new file mode 100644 index 0000000..7670f93 --- /dev/null +++ b/app/Lib/vendor/crm-client-3.0.6/src/routes.json @@ -0,0 +1,112 @@ +{ + "apiV2.ping": { + "uri": "api/v2/ping", + "methods": [ + "GET", + "HEAD" + ] + }, + "apiV2.optin": { + "uri": "api/v2/optin", + "methods": [ + "POST" + ] + }, + "apiV2.optout-hashcode": { + "uri": "api/v2/optout", + "methods": [ + "POST" + ] + }, + "apiV2.customers.store": { + "uri": "api/v2/customers", + "methods": [ + "POST" + ] + }, + "apiV2.customers.show": { + "uri": "api/v2/customers/{serviceCustomer}", + "methods": [ + "GET", + "HEAD" + ] + }, + "apiV2.customers.update": { + "uri": "api/v2/customers/{serviceCustomer}", + "methods": [ + "PUT", + "PATCH" + ] + }, + "apiV2.customers.destroy": { + "uri": "api/v2/customers/{serviceCustomer}", + "methods": [ + "DELETE" + ] + }, + "apiV2.customers.authenticate": { + "uri": "api/v2/customers/authenticate", + "methods": [ + "POST" + ] + }, + "apiV2.customers.activate": { + "uri": "api/v2/customers/{serviceCustomer}/activate", + "methods": [ + "POST" + ] + }, + "apiV2.customers.answers.store": { + "uri": "api/v2/customers/{serviceCustomer}/answers", + "methods": [ + "POST" + ] + }, + "apiV2.arcadia.outgoingMailDefault": { + "uri": "api/v2/arcadia/outgoing-mail/default", + "methods": [ + "POST" + ] + }, + "apiV2.arcadia.outgoingMailGame": { + "uri": "api/v2/arcadia/outgoing-mail/game", + "methods": [ + "POST" + ] + }, + "apiV2.questions.index": { + "uri": "api/v2/questions", + "methods": [ + "GET", + "HEAD" + ] + }, + "apiV2.questions.unAnsweredBy": { + "uri": "api/v2/questions/un-answered-by/{serviceCustomer}", + "methods": [ + "GET", + "HEAD" + ] + }, + "apiV2.questions.indexWithResponse": { + "uri": "api/v2/questions/with-answers/{serviceCustomer}", + "methods": [ + "GET", + "HEAD" + ] + }, + "apiV2.stats.brandStats": { + "uri": "api/v2/stats/brand", + "methods": [ + "GET", + "HEAD" + ] + }, + "apiV2.stats.questionStats": { + "uri": "api/v2/stats/question/{serviceQuestion}", + "methods": [ + "GET", + "HEAD" + ] + } +} \ No newline at end of file diff --git a/app/Listeners/LogVerifiedUser.php b/app/Listeners/LogVerifiedUser.php new file mode 100644 index 0000000..7c7092b --- /dev/null +++ b/app/Listeners/LogVerifiedUser.php @@ -0,0 +1,24 @@ +user; + Auth::guard('frontend')->login($customer); + Session::flash('success', trans('Votre compte à bien été validé, vous êtes à présent connecté.')); + } +} diff --git a/app/Listeners/PasswordHasReset.php b/app/Listeners/PasswordHasReset.php new file mode 100644 index 0000000..5077058 --- /dev/null +++ b/app/Listeners/PasswordHasReset.php @@ -0,0 +1,30 @@ +user; + $customer->notify(new NotificationUpdatePassword()); + + $customer->last_connection = \now(); + $customer->save(); + + Auth::guard('frontend')->login($customer); + Session::flash('success', trans('Votre mot de passe à bien été réinitialisé, vous êtes à présent connecté.')); + } +} diff --git a/app/Mail/SendContactMail.php b/app/Mail/SendContactMail.php new file mode 100644 index 0000000..1ec5819 --- /dev/null +++ b/app/Mail/SendContactMail.php @@ -0,0 +1,141 @@ +data = clone $data; + $this->sanitizeStringInputs(); + } + + /** + * Sanitizes user message + * + * ! This is not recursive ! + * * Prevent xss injection via markdown interpretation. + * + * La solution devrai etre de filtrer en sortie, mais il n'est pas possible de + * + * @return void + */ + private function sanitizeStringInputs(): void + { + $this->data = (object)Arr::map((array)$this->data, function ($el) { + if (is_string($el)) { + $el = \htmlspecialchars(\strip_tags(Blade::render( + (string)Markdown::parse($el) + ))); + $el = Str::of($el)->replaceMatches( + '/[^\p{L}0-9\n\s\@\.\:\-\_\?\!\;\(\)\+\-\/\\\=]+/us', + '' + )->trim()->wordWrap(75, "\n", true)->toString(); + } + return $el; + }); + } + + /** + * Get the message envelope. + * + * @return \Illuminate\Mail\Mailables\Envelope + */ + public function envelope(): \Illuminate\Mail\Mailables\Envelope + { + $mail_to = config('mail.contact.' . $this->data->type->value()); + /** @var array $mail_to */ + $mail_to = Str::of($mail_to ?: collect(\config('mail.contact')) + ->firstWhere(fn ($el) => !is_null($el)))->explode(',') + ->each(fn (string $email) => [new Address($email)]); + return new Envelope( + from: new Address( + $this->data->email, + ($this->data->first_name !== null || $this->data->last_name !== null) ? + (($this->data->first_name ?? '') . " " . ($this->data->last_name ?? '')) : + null + ), + to: $mail_to, + subject: sprintf('%s - %s', ObjectEnum::make($this->data->type)->label() ?? + __('Nouveau message'), config('app.name')), + ); + } + + /** + * Get the message content definition. + * + * @return \Illuminate\Mail\Mailables\Content + */ + public function content(): \Illuminate\Mail\Mailables\Content + { + return new Content( + markdown: 'emails.send-contact-form', + with: ['data' => $this->data], + ); + } + + /** + * Get the attachments for the message. + * + * @return array + */ + public function attachments(): array + { + $attachments = []; + if (isset($this->data->file)) { + $attachments[] = Attachment::fromPath($this->data->file->getRealPath()) + ->as($this->data->file->getClientOriginalName()) + ->withMime($this->data->file->getClientMimeType()); + } + return $attachments; + } +} + +/** + * @property \App\Enums\Contact\ObjectEnum $type + * @property string|null $first_name + * @property string $last_name + * @property string|null $phone + * @property string $email + * @property string|null $address + * @property string|null $city + * @property string|null $postal_code + * @property string $message + * @property boolean $terms + * @property \Illuminate\Http\UploadedFile|null $file + * @property \App\Models\Product|null $product + * @property \Carbon\Carbon|null $expiration_date + * @property integer|null $batch_number + * @phpcs:disable PSR1.Classes.ClassDeclaration.MultipleClasses + */ +class Contact extends \stdClass +{ +} diff --git a/app/Models/ActivityLog.php b/app/Models/ActivityLog.php new file mode 100644 index 0000000..59be331 --- /dev/null +++ b/app/Models/ActivityLog.php @@ -0,0 +1,129 @@ + + */ + protected $fillable = [ + 'is_anonymous', + 'model_class', + 'model_id', + 'event', + 'data', + 'created_at', + ]; + + /** + * The attributes that should be cast. + * + * @var array + */ + protected $casts = [ + 'is_anonymous' => 'bool', + 'event' => ActivityLogsEventEnum::class, + 'data' => 'json', + 'created_at' => 'datetime', + ]; + + // * METHODS + + /** + * Add new activity to the activity logs list. + * + * @param \Illuminate\Database\Eloquent\Model $model + * @param \App\Enums\ActivityLogs\ActivityLogsEventEnum $eventEnum + * @return void + */ + public static function addActivity(Model $model, ActivityLogsEventEnum $eventEnum): void + { + $isAnonymous = true; + /** @var \Illuminate\Database\Eloquent\Model|null */ + $userModel = auth('backend')->user(); + if (is_object($userModel)) { + $userModel = $userModel->getKeyForSelectQuery(); + $isAnonymous = false; + } + $activity = new self(); + $activity->user_id = $userModel; + $activity->is_console = app()->runningInConsole(); + $activity->is_anonymous = $isAnonymous; + $activity->model_class = \get_class($model); + $activity->model_id = $model->getKey(); + $activity->event = $eventEnum; + $activity->data = static::getChangedColumns($activity, $model, $eventEnum); + $activity->created_at = Carbon::now(); + $activity->saveOrFail(); + } + + /** + * Get old, new columns that has changed. + * + * @param \self $activity + * @param \Illuminate\Database\Eloquent\Model $model + * @param \App\Enums\ActivityLogs\ActivityLogsEventEnum $eventEnum + * @return array|null + */ + public static function getChangedColumns(self $activity, Model $model, ActivityLogsEventEnum $eventEnum): array|null + { + $modelClassName = $activity->model_class; + /** Get type of each fields of the target model */ + $targetModel = $activity->model_class::where( + (new $modelClassName())->getRouteKeyName(), + $activity->model_id + )->first(); + if ($targetModel != null) { + // phpcs:disable Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassBeforeLastUsed + $targetModelTypes = collect($targetModel->toArray()) + ->map(function ($field, $fieldIndex) use ($targetModel) { + return Schema::getColumnType($targetModel->getTable(), $fieldIndex); + })->toArray(); + // phpcs:enable + } + /** Return old, new and type of values changed */ + return ($eventEnum === ActivityLogsEventEnum::updated) ? + array_intersect_key($targetModelTypes, $model->getChanges()) : null; + } + + // * RELATIONS + + /** + * User BelongsTo relation. + * + * @return \Illuminate\Database\Eloquent\Relations\BelongsTo + */ + public function user() + { + return $this->belongsTo(User::class); + } +} diff --git a/app/Models/CommitmentPage.php b/app/Models/CommitmentPage.php new file mode 100644 index 0000000..846f3d3 --- /dev/null +++ b/app/Models/CommitmentPage.php @@ -0,0 +1,70 @@ + + */ + protected $fillable = [ + 'quality_title', + 'quality_text', + 'product1_title', + 'product1_text', + 'product2_title', + 'product2_text', + 'environment_title', + 'environment_text', + ]; + + /** + * Perform any actions required after the model boots. + * + * @return void + */ + protected static function booted(): void + { + static::creating(function () { + throw new \RuntimeException("Creating a new page is not authorized"); + }); + static::deleting(function () { + throw new \RuntimeException('Deleting a page is not authorized'); + }); + } + + // * RELATIONS + + /** + * The pictos that belong to the page. + * + * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany + */ + public function pictos(): \Illuminate\Database\Eloquent\Relations\BelongsToMany + { + return $this->belongsToMany(Picto::class); + } +} diff --git a/app/Models/Customer.php b/app/Models/Customer.php new file mode 100644 index 0000000..3a98e28 --- /dev/null +++ b/app/Models/Customer.php @@ -0,0 +1,354 @@ + + */ + protected $fillable = [ + 'email', + ]; + + /** + * The attributes that should be cast. + * + * @var array + */ + protected $casts = [ + 'last_connection' => 'datetime', + 'email_verified_at' => 'datetime', + ]; + + /** + * Perform any actions required after the model boots. + * + * @return void + */ + protected static function booted() + { + // * EVENT CLOSURES. + static::creating(function (self $model) { + static::assertEmailIsUnique($model->id, $model->email); + }); + static::updating(function (self $model) { + static::assertEmailIsUnique($model->id, $model->email); + }); + static::deleted(function (self $model) { + if ($model->forceDeleting) { + if ($model->existsInCrm()) { + $model->api_data->delete(); + } + $model->notify(new DestroyedCustomer()); + } else { + $model->notify(new DestroyCustomer()); + } + }); + static::restored(function () { + \session()->flash( + 'warning', + \trans('Votre compte à été réactivé.') + ); + }); + } + + // * METHODS + + /** + * Supprimer les comptes inactivés depuis plus d'une semaine + * de manière permanente. + * + * ! Les comptes non activés depuis une semaine ou les comptes supprimés depuis une semaine. + * + * @return \Illuminate\Database\Query\Builder + */ + public function prunable(): Builder + { + return static::query()->where(function (Builder $q) { + $q->where('updated_at', '<=', now()->subWeek()) + ->whereNull('email_verified_at'); + })->orWhere(function (Builder $q) { + $q->where('deleted_at', '<=', now()->subWeek()); + }); + } + + /** + * Asserts using validation that the email is unique + * + * @param mixed $id + * @param mixed $email + * @return void + * @throws \Illuminate\Validation\ValidationException If user email as already used. + */ + private static function assertEmailIsUnique(mixed $id, mixed $email): void + { + self::assertFieldIsUnique($id, 'email', $email); + } + + /** + * Asserts that the field is unique + * + * @param mixed $id + * @param string $field + * @param mixed $value + * @return void + * @throws \Illuminate\Validation\ValidationException If the field is not unique. + */ + private static function assertFieldIsUnique(mixed $id, string $field, mixed $value): void + { + Validator::make([$field => $value], [ + $field => Rule::unique('customers', $field)->ignore($id), + ], [ + $field . '.unique' => trans('La valeur :value pour le champ :attribute est déjà utilisé', [ + 'attribute' => $field, + 'value' => $value + ]) + ])->validate(); + } + + // * --- AUTH --- + + /** + * Send the email verification notification. + * + * @return void + */ + public function sendEmailVerificationNotification() + { + $this->deleteIfDoesNotExistsInCrm(); + $this->notify(new VerifyEmail()); + } + + /** + * Mark the given user's email as verified. + * + * @return boolean + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public function markEmailAsVerified() + { + $this->deleteIfDoesNotExistsInCrm(); + try { + return $this->api_data->activate() && parent::markEmailAsVerified(); + } catch (ApiErrorException $e) { + if ($e->getApiError()->equals(ApiError::customerAlreadyActive())) { + return true && parent::markEmailAsVerified(); + } + throw $e; + } + } + + /** + * Send the password reset notification. + * + * @param mixed $token + * @return void + */ + public function sendPasswordResetNotification(mixed $token) + { + $this->deleteIfDoesNotExistsInCrm(); + /** @var string $token */ + $this->notify(new ResetPassword($token)); + } + + /** + * Check if the customer exists in CRM. + * + * @return boolean + */ + public function existsInCrm(): bool + { + return $this->hashcode and CrmCustomer::find($this->hashcode); + } + + /** + * Force delete and logout if is logged in case the customer + * does not exists in CRM. + * + * @return void + * @throws \Illuminate\Validation\ValidationException If the account is deleted because does not exists in CRM. + */ + private function deleteIfDoesNotExistsInCrm(): void + { + if ($this->existsInCrm()) { + return; + } + /** @var static|null $loggedCustomer */ + $loggedCustomer = \auth('frontend')->user(); + $isLogged = \optional($loggedCustomer)->id === $this->id and !\is_null($this->id); + if ($isLogged) { + \auth('frontend')->logout(); + } + $this->forceDelete(); + throw ValidationException::withMessages([ + 'error' => trans('Le compte \'existe pas.') + ]); + } + + // * --- END AUTH --- + + /** + * Get api_data attribute, the crm Data of a customer + * + * @return \Illuminate\Database\Eloquent\Casts\Attribute + */ + public function apiData(): Attribute + { + return Attribute::make( + get: fn (): CrmCustomer => self::cacheCrm($this->hashcode, "apiData", function () { + /** @var \LDC\LDCCRM\CrmApiV2 */ + $crm = app('crmAPI'); + $crmCustomer = $crm->getCustomer($this->hashcode); + if (!$crmCustomer) { + throw new CrmException('CRM get Customer returned null'); + } + return $crmCustomer; + }) + ); + } + + /** + * Set the crm Data of a customer + * + * @param array $data + * @return boolean + * + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * @phpcs:disable Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public function updateApiData(array $data): bool + { + // phpcs:enable + /** @var \LDC\LDCCRM\Models\Customer */ + $crmCustomer = $this->api_data; + if (!$crmCustomer) { + throw new CrmException('CRM get Customer returned null'); + } + + $crmCustomer->fill($data); + $result = $crmCustomer->save(); + self::clearCrmCached($crmCustomer->hashcode, 'apiData'); + + return $result; + } + + // * CRM CACHE + + /** + * Clear cached apiData + * + * @return void + */ + public function clearApiDataCache(): void + { + /** @var \LDC\LDCCRM\Models\Customer */ + $crmCustomer = $this->api_data; + self::clearCrmCached($crmCustomer->hashcode, 'apiData'); + } + + /** + * Put customer crm part in cache + * + * @template T + * @param string $uuid The customer uuid. + * @param string $part_name The part name for the cache path. + * @param \Closure(void):T $part The part to cache. + * @param integer $ttl Time to live in seconds for the cache part. + * @return T + * @phpcs:disable Squiz.Commenting.FunctionComment.IncorrectTypeHint + */ + public static function cacheCrm(string $uuid, string $part_name, \Closure $part, int $ttl = 60 * 60) + { + // phpcs:enable + return Cache::remember("customers.{$uuid}.{$part_name}", $ttl, $part); + } + + /** + * Clear customer crm cache part or totally + * + * @param string $uuid + * @param string $part_name + * @return void + */ + public static function clearCrmCached(string $uuid, string $part_name): void + { + $cache = "customers.{$uuid}"; + if ($part_name) { + $cache .= ".{$part_name}"; + } + Cache::forget($cache); + } + + // * --- END CRM CACHE + + /** + * This mutate Customer attributes to array + * including only non critical properties and crm values + * (One that can be send to front office without security breach) + * + * @return array + */ + public function toArray() + { + if ($this->hashcode) { + return collect(array_merge( + parent::toArray(), + (array)$this->apiData + ))->intersectByKeys([ + 'email' => '', + 'firstname' => '', + 'lastname' => '', + 'address' => '', + 'address2' => '', + 'postcode' => '', + 'birth_date' => '', + 'city' => '', + 'country' => '', + 'opt_in' => '', + 'phone' => '' + ])->toArray(); + } else { + return parent::toArray(); + } + } +} diff --git a/app/Models/Game.php b/app/Models/Game.php new file mode 100644 index 0000000..da97ac5 --- /dev/null +++ b/app/Models/Game.php @@ -0,0 +1,173 @@ + + */ + protected $fillable = [ + 'title_line1', + 'title_line2', + 'picture', + 'picture_alt', + 'picture_title', + 'text', + 'button_status', + 'button_label', + 'button_url', + 'button_new_tab', + 'published', + 'publish_at', + 'unpublish_at', + ]; + + /** + * The attributes that should be cast. + * + * @var array + */ + protected $casts = [ + 'button_status' => 'boolean', + 'button_new_tab' => 'boolean', + 'published' => 'boolean', + 'publish_at' => 'datetime', + 'unpublish_at' => 'datetime', + ]; + + /** + * Perform any actions required after the model boots. + * + * @return void + */ + protected static function booted(): void + { + static::creating(function (self $model) { + self::manageFields($model); + }); + static::updating(function (self $model) { + self::manageFields($model); + }); + static::updated(function (self $model) { + FileStorageHelper::removeOldFile($model, 'picture'); + }); + + static::deleted(function (self $model) { + FileStorageHelper::removeFile($model, 'picture'); + }); + } + + // * METHODS + + /** + * Manage model fields. + * + * @param self $model + * @return void + */ + private static function manageFields(self $model): void + { + self::makeStatusSense($model); + $model->picture = FileStorageHelper::storeFile($model, $model->picture, true); + } + + /** + * Adjusts model status using current status and publish dates + * + * @param self $model + * @return void + */ + private static function makeStatusSense(self $model): void + { + /** @var \Carbon\Carbon|null */ + $publish_at = $model->publish_at; + /** @var \Carbon\Carbon|null */ + $unpublish_at = $model->unpublish_at; + $wantedStatus = $model->published; + if ($publish_at or $unpublish_at) { + $model->published = $model->planificated_status; + } + self::checkPublished($model); + if ($wantedStatus !== $model->published) { + $previousMessage = session()->get('bo.info', ''); + session()->flash('bo.info', \trans( + 'La publication est modifiée en concordance avec les dates enregistrées. + Pour modifier l\'état de publication, veuillez modifier ou enlever les dates correspondantes.' + ) . " \n{$previousMessage}"); + } + } + + /** + * Getter the current status following planification dates planificated_status + * + * @return boolean + */ + public function getPlanificatedStatusAttribute(): bool + { + /** @var \Carbon\Carbon|null */ + $publish_at = $this->publish_at; + /** @var \Carbon\Carbon|null */ + $unpublish_at = $this->unpublish_at; + if ($publish_at and $unpublish_at) { + return $unpublish_at->greaterThanOrEqualTo(now()) and $publish_at->lessThan(now()); + } + if ($publish_at) { + return $publish_at->lessThan(now()); + } + if ($unpublish_at) { + return $unpublish_at->greaterThanOrEqualTo(now()); + } + return false; + } + + /** + * Check if there is already 1 published game. + * + * @param self $model + * @return void + */ + private static function checkPublished(self $model) + { + Validator::make(['published' => $model->published], [ + 'published' => Rule::prohibitedIf( + $model::where('published', true)->count() === 1 + && $model->published === true + && $model->published !== $model->getOriginal('published') + ), + ], [ + 'published.prohibited' => trans('Seul 1 jeu du moment peut être publié.') + ])->validate(); + } +} diff --git a/app/Models/HistoricalMilestone.php b/app/Models/HistoricalMilestone.php new file mode 100644 index 0000000..2b22c57 --- /dev/null +++ b/app/Models/HistoricalMilestone.php @@ -0,0 +1,110 @@ + + */ + protected $fillable = [ + 'year', + 'text', + 'picture1', + 'picture1_alt', + 'picture1_title', + 'picture2', + 'picture2_alt', + 'picture2_title', + 'picture3', + 'picture3_alt', + 'picture3_title', + 'button_status', + 'button_label', + 'button_url', + 'button_new_tab', + 'published', + ]; + + /** + * The attributes that should be cast. + * + * @var array + */ + protected $casts = [ + 'year' => 'integer', + 'button_status' => 'boolean', + 'button_new_tab' => 'boolean', + 'published' => 'boolean', + ]; + + /** + * Perform any actions required after the model boots. + * + * @return void + */ + protected static function booted(): void + { + static::creating(function (self $model) { + self::manageFields($model); + }); + static::updating(function (self $model) { + self::manageFields($model); + }); + static::updated(function (self $model) { + FileStorageHelper::removeOldFile($model, 'picture1'); + FileStorageHelper::removeOldFile($model, 'picture2'); + FileStorageHelper::removeOldFile($model, 'picture3'); + }); + + static::deleted(function (self $model) { + FileStorageHelper::removeFile($model, 'picture1'); + FileStorageHelper::removeFile($model, 'picture2'); + FileStorageHelper::removeFile($model, 'picture3'); + }); + } + + // * METHODS + + /** + * Manage model fields. + * + * @param self $model + * @return void + */ + private static function manageFields(self $model): void + { + $model->picture1 = FileStorageHelper::storeFile($model, $model->picture1, true); + $model->picture2 = FileStorageHelper::storeFile($model, $model->picture2, true); + $model->picture3 = FileStorageHelper::storeFile($model, $model->picture3, true); + } +} diff --git a/app/Models/KlubBloc.php b/app/Models/KlubBloc.php new file mode 100644 index 0000000..8761007 --- /dev/null +++ b/app/Models/KlubBloc.php @@ -0,0 +1,51 @@ + + */ + protected $fillable = [ + 'picture', + 'picture_alt', + 'picture_title', + ]; + + /** + * Perform any actions required after the model boots. + * + * @return void + */ + protected static function booted(): void + { + static::creating(function () { + throw new \RuntimeException("Creating a new klub section is not authorized"); + }); + static::updating(function (self $model) { + $model->picture = FileStorageHelper::storeFile($model, $model->picture, true); + }); + static::updated(function (self $model) { + FileStorageHelper::removeOldFile($model, 'picture'); + }); + static::deleting(function () { + throw new \RuntimeException('Deleting the klub section is not authorized'); + }); + } +} diff --git a/app/Models/LocalCommitment.php b/app/Models/LocalCommitment.php new file mode 100644 index 0000000..8055abd --- /dev/null +++ b/app/Models/LocalCommitment.php @@ -0,0 +1,154 @@ + + */ + protected $fillable = [ + 'title', + 'text', + 'picture1', + 'picture1_alt', + 'picture1_title', + 'picture2', + 'picture2_alt', + 'picture2_title', + 'picture3', + 'picture3_alt', + 'picture3_title', + 'order', + 'published', + ]; + + /** + * The attributes that should be cast. + * + * @var array + */ + protected $casts = [ + 'published' => 'boolean', + ]; + + /** + * Perform any actions required after the model boots. + * + * @return void + */ + protected static function booted(): void + { + static::creating(function (self $model) { + self::manageFields($model); + self::setOrder($model); + }); + static::updating(function (self $model) { + self::manageFields($model); + self::cleanPicturesAttributes($model); + }); + static::updated(function (self $model) { + FileStorageHelper::removeOldFile($model, 'picture1'); + FileStorageHelper::removeOldFile($model, 'picture2'); + FileStorageHelper::removeOldFile($model, 'picture3'); + }); + + static::deleted(function (self $model) { + FileStorageHelper::removeFile($model, 'picture1'); + FileStorageHelper::removeFile($model, 'picture2'); + FileStorageHelper::removeFile($model, 'picture3'); + }); + } + + // * METHODS + + /** + * Manage model fields. + * + * @param self $model + * @return void + */ + private static function manageFields(self $model): void + { + self::checkPublished($model); + $model->picture1 = FileStorageHelper::storeFile($model, $model->picture1, true); + $model->picture2 = FileStorageHelper::storeFile($model, $model->picture2, true); + $model->picture3 = FileStorageHelper::storeFile($model, $model->picture3, true); + } + + /** + * Set order after the last element of the list. + * + * @param self $model + * @return void + */ + private static function setOrder(self $model): void + { + $model->order = \intval(self::query()->max('order')) + 1; + } + + /** + * Check if there are already 2 published local commitments. + * + * @param self $model + * @return void + */ + private static function checkPublished(self $model) + { + Validator::make(['published' => $model->published], [ + 'published' => Rule::prohibitedIf( + $model::where('published', true)->count() === 2 + && $model->published === true + && $model->published !== $model->getOriginal('published') + ), + ], [ + 'published.prohibited' => trans('Seuls 2 engagements locaux peuvent être publiés en même temps.') + ])->validate(); + } + + /** + * Clean pictures alt/title field when there's no picture. + * + * @param self $model + * @return void + */ + private static function cleanPicturesAttributes(self $model) + { + if (empty($model->picture2)) { + $model->picture2_alt = ""; + $model->picture2_title = ""; + }; + if (empty($model->picture3)) { + $model->picture3_alt = ""; + $model->picture3_title = ""; + }; + } +} diff --git a/app/Models/News.php b/app/Models/News.php new file mode 100644 index 0000000..086f5cd --- /dev/null +++ b/app/Models/News.php @@ -0,0 +1,133 @@ + + */ + protected $fillable = [ + 'picture', + 'picture_alt', + 'picture_title', + 'text', + 'published', + 'publish_at', + 'unpublish_at', + ]; + + /** + * The attributes that should be cast. + * + * @var array + */ + protected $casts = [ + 'published' => 'boolean', + 'publish_at' => 'datetime', + 'unpublish_at' => 'datetime', + ]; + + /** + * Perform any actions required after the model boots. + * + * @return void + */ + protected static function booted(): void + { + static::creating(function (self $model) { + self::manageFields($model); + }); + static::updating(function (self $model) { + self::manageFields($model); + }); + static::updated(function (self $model) { + FileStorageHelper::removeOldFile($model, 'picture'); + }); + + static::deleted(function (self $model) { + FileStorageHelper::removeFile($model, 'picture'); + }); + } + + // * METHODS + + /** + * Manage model fields. + * + * @param self $model + * @return void + */ + private static function manageFields(self $model): void + { + self::makeStatusSense($model); + $model->picture = FileStorageHelper::storeFile($model, $model->picture, true); + } + + /** + * Adjusts model status using current status and publish dates + * + * @param self $model + * @return void + */ + private static function makeStatusSense(self $model): void + { + /** @var \Carbon\Carbon|null */ + $publish_at = $model->publish_at; + /** @var \Carbon\Carbon|null */ + $unpublish_at = $model->unpublish_at; + $wantedStatus = $model->published; + if ($publish_at or $unpublish_at) { + $model->published = $model->planificated_status; + } + if ($wantedStatus !== $model->published) { + $previousMessage = session()->get('bo.info', ''); + session()->flash('bo.info', \trans( + 'La publication est modifiée en concordance avec les dates enregistrées. + Pour modifier l\'état de publication, veuillez modifier ou enlever les dates correspondantes.' + ) . " \n{$previousMessage}"); + } + } + + /** + * Getter the current status following planification dates planificated_status + * + * @return boolean + */ + public function getPlanificatedStatusAttribute(): bool + { + /** @var \Carbon\Carbon|null */ + $publish_at = $this->publish_at; + /** @var \Carbon\Carbon|null */ + $unpublish_at = $this->unpublish_at; + if ($publish_at and $unpublish_at) { + return $unpublish_at->greaterThanOrEqualTo(now()) and $publish_at->lessThan(now()); + } + if ($publish_at) { + return $publish_at->lessThan(now()); + } + if ($unpublish_at) { + return $unpublish_at->greaterThanOrEqualTo(now()); + } + return false; + } +} diff --git a/app/Models/Picto.php b/app/Models/Picto.php new file mode 100644 index 0000000..8849c32 --- /dev/null +++ b/app/Models/Picto.php @@ -0,0 +1,103 @@ + + */ + protected $fillable = [ + 'label', + 'picture', + 'picture_alt', + 'picture_title', + 'published', + ]; + + /** + * The attributes that should be cast. + * + * @var array + */ + protected $casts = [ + 'published' => 'boolean', + ]; + + /** + * Perform any actions required after the model boots. + * + * @return void + */ + protected static function booted(): void + { + static::creating(function (self $model) { + self::manageFields($model); + }); + static::updating(function (self $model) { + self::manageFields($model); + }); + static::updated(function (self $model) { + FileStorageHelper::removeOldFile($model, 'picture'); + }); + + static::deleted(function (self $model) { + FileStorageHelper::removeFile($model, 'picture'); + }); + } + + // * METHODS + + /** + * Manage model fields. + * + * @param self $model + * @return void + */ + private static function manageFields(self $model): void + { + $model->picture = FileStorageHelper::storeFile($model, $model->picture, true); + } + + // * RELATIONS + + /** + * The pages that belong to the picto. + * + * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany + */ + public function commitmentPages(): \Illuminate\Database\Eloquent\Relations\BelongsToMany + { + return $this->belongsToMany(CommitmentPage::class); + } + + /** + * The products that belong to the picto. + * + * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany + */ + public function products(): \Illuminate\Database\Eloquent\Relations\BelongsToMany + { + return $this->belongsToMany(Product::class); + } +} diff --git a/app/Models/Product.php b/app/Models/Product.php new file mode 100644 index 0000000..2b6df3e --- /dev/null +++ b/app/Models/Product.php @@ -0,0 +1,182 @@ + + */ + protected $fillable = [ + 'seo_title', + 'seo_description', + 'label', + 'picture', + 'picture_alt', + 'picture_title', + 'picture_thumbnail', + 'picture_thumbnail_alt', + 'picture_thumbnail_title', + 'description', + 'nutriscore', + 'nutritionnal_values', + 'advice', + 'ingredients', + 'published', + 'order', + 'range_id', + ]; + + /** + * The attributes that should be cast. + * + * @var array + */ + protected $casts = [ + 'published' => 'boolean', + 'nutriscore' => \App\Enums\Products\NutriscoreEnum::class, + 'nutritionnal_values' => 'array' + ]; + + /** + * Perform any actions required after the model boots. + * + * @return void + */ + protected static function booted(): void + { + static::creating(function (self $model) { + self::manageFields($model); + self::setOrder($model); + }); + static::updating(function (self $model) { + self::manageFields($model); + }); + static::updated(function (self $model) { + FileStorageHelper::removeOldFile($model, 'picture'); + FileStorageHelper::removeOldFile($model, 'picture_thumbnail'); + }); + + static::deleted(function (self $model) { + FileStorageHelper::removeFile($model, 'picture'); + FileStorageHelper::removeFile($model, 'picture_thumbnail'); + }); + } + + // * METHODS + + /** + * Manage model fields. + * + * @param self $model + * @return void + */ + private static function manageFields(self $model): void + { + // * ASSERTIONS + self::assertFieldIsUnique('label', $model->label, $model->id); + self::assertFieldIsUnique('slug', Str::slug($model->label), $model->id); + + // * TRANSFORMATIONS + self::setSlug($model, $model->label); + $model->picture = FileStorageHelper::storeFile($model, $model->picture, true); + $model->picture_thumbnail = FileStorageHelper::storeFile($model, $model->picture_thumbnail, true); + } + + /** + * Set order after the last element of the list. + * + * @param self $model + * @return void + */ + private static function setOrder(self $model): void + { + $model->order = \intval(self::query()->max('order')) + 1; + } + + /** + * Asserts using validation that the field is unique. + * + * @param string $nameField + * @param string $valueField + * @param integer|null $id + * @return void + */ + private static function assertFieldIsUnique(string $nameField, string $valueField, ?int $id = null): void + { + $table = (new self())->getTable(); + ToolboxHelper::assertFieldIsUnique($table, $nameField, $valueField, $id); + } + + /** + * Set the slug. + * + * @param self $model + * @param string $original + * + * @return void + */ + private static function setSlug(self $model, string $original): void + { + $model->slug = Str::slug($original); + } + + // * RELATIONS + + /** + * Get the range that owns the product. + * + * @return \Illuminate\Database\Eloquent\Relations\BelongsTo + */ + public function range(): \Illuminate\Database\Eloquent\Relations\BelongsTo + { + return $this->belongsTo(Range::class); + } + + /** + * The pictos that belong to the product. + * + * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany + */ + public function pictos(): \Illuminate\Database\Eloquent\Relations\BelongsToMany + { + return $this->belongsToMany(Picto::class); + } +} diff --git a/app/Models/Range.php b/app/Models/Range.php new file mode 100644 index 0000000..7a70e62 --- /dev/null +++ b/app/Models/Range.php @@ -0,0 +1,148 @@ + + */ + protected $fillable = [ + 'label', + 'picture', + 'picture_alt', + 'picture_title', + 'picture_ambiance', + 'picture_ambiance_alt', + 'picture_ambiance_title', + 'picto1_picture', + 'picto1_picture_alt', + 'picto1_picture_title', + 'picto1_line1', + 'picto1_line2', + 'picto2_picture', + 'picto2_picture_alt', + 'picto2_picture_title', + 'picto2_line1', + 'picto2_line2' + ]; + + /** + * Perform any actions required after the model boots. + * + * @return void + */ + protected static function booted(): void + { + static::creating(function () { + throw new \RuntimeException("Creating a new range is not authorized"); + }); + static::updating(function (self $model) { + self::manageFields($model); + }); + static::updated(function (self $model) { + FileStorageHelper::removeOldFile($model, 'picture'); + FileStorageHelper::removeOldFile($model, 'picture_ambiance'); + FileStorageHelper::removeOldFile($model, 'picto1_picture'); + FileStorageHelper::removeOldFile($model, 'picto2_picture'); + }); + static::deleting(function () { + throw new \RuntimeException('Deleting a range is not authorized'); + }); + } + + // * METHODS + + /** + * Manage model fields. + * + * @param self $model + * @return void + */ + private static function manageFields(self $model): void + { + // * ASSERTIONS + self::assertFieldIsUnique('label', $model->label, $model->id); + self::assertFieldIsUnique('slug', Str::slug($model->label), $model->id); + + // * TRANSFORMATIONS + self::setSlug($model, $model->label); + $model->picture = FileStorageHelper::storeFile($model, $model->picture, true); + $model->picture_ambiance = FileStorageHelper::storeFile($model, $model->picture_ambiance, true); + $model->picto1_picture = FileStorageHelper::storeFile($model, $model->picto1_picture, true); + $model->picto2_picture = FileStorageHelper::storeFile($model, $model->picto2_picture, true); + } + + /** + * Asserts using validation that the field is unique. + * + * @param string $nameField + * @param string $valueField + * @param integer|null $id + * @return void + */ + private static function assertFieldIsUnique(string $nameField, string $valueField, ?int $id = null): void + { + $table = (new self())->getTable(); + ToolboxHelper::assertFieldIsUnique($table, $nameField, $valueField, $id); + } + + /** + * Set the slug. + * + * @param self $model + * @param string $original + * + * @return void + */ + private static function setSlug(self $model, string $original): void + { + $model->slug = Str::slug($original); + } + + // * RELATIONS + + /** + * Get the range that owns the product. + * + * @return \Illuminate\Database\Eloquent\Relations\HasMany + */ + public function products(): \Illuminate\Database\Eloquent\Relations\HasMany + { + return $this->hasMany(Product::class); + } +} diff --git a/app/Models/Reduction.php b/app/Models/Reduction.php new file mode 100644 index 0000000..fffa2ed --- /dev/null +++ b/app/Models/Reduction.php @@ -0,0 +1,78 @@ + + */ + protected $fillable = [ + 'picture_packshot', + 'picture_packshot_alt', + 'picture_packshot_title', + 'validity', + ]; + + /** + * The attributes that should be cast. + * + * @var array + */ + protected $casts = [ + 'published' => 'boolean', + ]; + + /** + * Perform any actions required after the model boots. + * + * @return void + */ + protected static function booted(): void + { + static::creating(function (self $model) { + self::manageFields($model); + }); + static::updating(function (self $model) { + self::manageFields($model); + }); + static::updated(function (self $model) { + FileStorageHelper::removeOldFile($model, 'picture_packshot'); + }); + + static::deleted(function (self $model) { + FileStorageHelper::removeFile($model, 'picture_packshot'); + }); + } + + // * METHODS + + /** + * Manage model fields. + * + * @param self $model + * @return void + */ + private static function manageFields(self $model): void + { + $model->picture_packshot = FileStorageHelper::storeFile($model, $model->picture_packshot, true); + } +} diff --git a/app/Models/StaticPage.php b/app/Models/StaticPage.php new file mode 100644 index 0000000..06151be --- /dev/null +++ b/app/Models/StaticPage.php @@ -0,0 +1,86 @@ + + */ + protected $fillable = [ + 'seo_title', + 'seo_description', + 'title', + 'content', + ]; + + /** + * The attributes that should be cast. + * + * @var array + */ + protected $casts = [ + 'type' => StaticPageType::class, + ]; + + /** + * Perform any actions required after the model boots. + * + * @return void + */ + protected static function booted(): void + { + static::creating(function () { + throw new \RuntimeException("Creating a new page is not authorized"); + }); + static::updating(function (self $model) { + // * ASSERTIONS + static::assertTitleIsUnique($model->title, $model->id); + + // * CHANGES + $model->slug = Str::slug($model->title); + }); + static::deleting(function () { + throw new \RuntimeException('Deleting a page is not authorized'); + }); + } + + // * METHODS + + /** + * Asserts using validation that the title is unique + * + * @param string|null $title + * @param integer|null $id + * @return void + * @throws \Illuminate\Validation\ValidationException If an actu title already exists. + */ + private static function assertTitleIsUnique(string|null $title, ?int $id = null) + { + $table = (new self())->getTable(); + ToolboxHelper::assertFieldIsUnique($table, 'title', $title, $id); + ToolboxHelper::assertFieldIsUnique($table, 'slug', Str::slug($title), $id); + } +} diff --git a/app/Models/User.php b/app/Models/User.php new file mode 100644 index 0000000..4d0cd97 --- /dev/null +++ b/app/Models/User.php @@ -0,0 +1,125 @@ + + */ + protected $fillable = [ + 'first_name', + 'last_name', + 'email', + 'password', + 'role', + 'published', + 'published_at', + ]; + + /** + * The attributes that should be hidden for serialization. + * + * @var array + */ + protected $hidden = [ + 'password', + 'remember_token', + ]; + + /** + * The attributes that should be cast. + * + * @var array + */ + protected $casts = [ + 'role' => RoleEnum::class, + 'email_verified_at' => 'datetime', + 'published' => 'boolean', + ]; + + /** + * Perform any actions required after the model boots. + * + * @return void + */ + protected static function booted(): void + { + static::creating(function (self $model) { + static::updatePassword($model); + // * Prevent user elevation privileges + throw_if( + auth('backend')->user() and auth('backend')->user()->role->value() > $model->role->value(), + AuthorizationException::class + ); + }); + static::updating(function (self $model) { + static::updatePassword($model); + if (optional(auth('backend')->user())->getKey() === $model->getKey()) { + \validator( + ['published' => $model->published], + ['published' => 'required|boolean|accepted'], + ['published.accepted' => trans('Vous ne pouvez pas déactiver votre propre compte')], + )->validate(); + } + // * Prevent user elevation privileges + throw_if( + auth('backend')->user() and auth('backend')->user()->role->value() > $model->role->value(), + AuthorizationException::class + ); + }); + } + + // * METHODS + + /** + * Update password. + * + * @param self $model + * @return void + */ + private static function updatePassword(self $model): void + { + if (Hash::needsRehash($model->password)) { + $model->password = Hash::make($model->password); + } + } + + // * RELATIONS + + /** + * Activities logs One-to-many relationship. + * + * @return \Illuminate\Database\Eloquent\Relations\HasMany + */ + public function activityLogs(): \Illuminate\Database\Eloquent\Relations\HasMany + { + return $this->hasMany(ActivityLog::class); + } +} diff --git a/app/Notifications/Customer/DestroyCustomer.php b/app/Notifications/Customer/DestroyCustomer.php new file mode 100644 index 0000000..c50c68e --- /dev/null +++ b/app/Notifications/Customer/DestroyCustomer.php @@ -0,0 +1,49 @@ + + * @phpcs:disable Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClass + */ + public function via(object $notifiable): array + { + // phpcs:enable + return ['mail']; + } + + /** + * Get the mail representation of the notification. + * + * @param object $notifiable + * @return \Illuminate\Notifications\Messages\MailMessage + */ + public function toMail(object $notifiable): MailMessage + { + /** @var string $firstname */ + $firstname = $notifiable->api_data->firstname; + + return (new MailMessage()) + ->subject(trans("Supression du compte - :site_name", [ + 'site_name' => config('app.name') + ])) + ->greeting("Bonjour " . $firstname) + ->line(trans( + "Votre compte :site_name a été marqué pour suppression, + il sera définitivement effacé au bout de 1 semaine. + Vous pourrez le réactiver durant ce délai si vous le + souhaitez en vous reconnectant.", + [ + 'site_name' => config('app.name') + ] + )); + } +} diff --git a/app/Notifications/Customer/DestroyedCustomer.php b/app/Notifications/Customer/DestroyedCustomer.php new file mode 100644 index 0000000..12ad481 --- /dev/null +++ b/app/Notifications/Customer/DestroyedCustomer.php @@ -0,0 +1,47 @@ + + * @phpcs:disable Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClass + */ + public function via(object $notifiable): array + { + // phpcs:enable + return ['mail']; + } + + /** + * Build the mail representation of the notification. + * + * @param object $notifiable + * @return \Illuminate\Notifications\Messages\MailMessage + * @phpcs:disable Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClass + */ + public function toMail(object $notifiable): MailMessage + { + // phpcs:enable + return (new MailMessage()) + ->subject(trans("Votre compte est suprimé - :site_name", [ + 'site_name' => config('app.name') + ])) + ->greeting('Bonjour') + ->line(trans( + "Votre compte :site_name a été définitivement supprimé ainsi ques les données associés, + si vous aviez effectué une commande elle sera bien sûr toujours honorée. Les commandes associés + a votre compte continueront d'exister mais les données de votre compte ont bien été supprimées.", + [ + 'site_name' => config('app.name') + ] + )); + } +} diff --git a/app/Notifications/Customer/ResetPassword.php b/app/Notifications/Customer/ResetPassword.php new file mode 100644 index 0000000..a6ca0d7 --- /dev/null +++ b/app/Notifications/Customer/ResetPassword.php @@ -0,0 +1,66 @@ +addHours(24), + [ + 'token' => $token, + 'email' => $notifiable->getEmailForPasswordReset(), + ], + true + )); + }; + } + + /** + * Build the mail representation of the notification. + * + * @param mixed $notifiable + * @return \Illuminate\Notifications\Messages\MailMessage + * @phpcs:disable Squiz.Commenting.FunctionComment.TypeHintMissing + */ + public function toMail($notifiable) + { + // phpcs:enable + /** @var \App\Models\Customer\Customer $notifiable */ + $resetUrl = $this->resetUrl($notifiable); + /** @var string $firstname */ + $firstname = $notifiable->api_data->firstname; + + return (new MailMessage()) + ->subject(trans("Mot de passe oublié - :site_name", ['site_name' => config('app.name')])) + /** @var string $firstname */ + ->greeting("Bonjour " . $firstname) + ->line(trans( + "Afin réinitialiser votre mot de passe pour vous connecter à :site_name, cliquez sur le lien suivant :", + ['site_name' => config('app.name')] + )) + /** @var string $verificationUrl */ + ->action(trans('Réinitialisez votre mot de passe'), $resetUrl); + } +} diff --git a/app/Notifications/Customer/UpdateEmail.php b/app/Notifications/Customer/UpdateEmail.php new file mode 100644 index 0000000..688072e --- /dev/null +++ b/app/Notifications/Customer/UpdateEmail.php @@ -0,0 +1,43 @@ + + * @phpcs:disable Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClass + */ + public function via(object $notifiable): array + { + // phpcs:enable + return ['mail']; + } + + /** + * Get the mail representation of the notification. + * + * @param object $notifiable + * @return \Illuminate\Notifications\Messages\MailMessage + */ + public function toMail(object $notifiable): MailMessage + { + /** @var string $firstname */ + $firstname = $notifiable->api_data->firstname; + + return (new MailMessage()) + ->subject(trans("Mise à jour de l'email - :site_name", [ + 'site_name' => config('app.name') + ])) + ->greeting("Bonjour " . $firstname) + ->line(trans("L'email associé à votre compte :site_name vient d'être modifié.", [ + 'site_name' => config('app.name') + ])); + } +} diff --git a/app/Notifications/Customer/UpdatePassword.php b/app/Notifications/Customer/UpdatePassword.php new file mode 100644 index 0000000..6f66a15 --- /dev/null +++ b/app/Notifications/Customer/UpdatePassword.php @@ -0,0 +1,43 @@ + + * @phpcs:disable Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClass + */ + public function via(object $notifiable): array + { + // phpcs:enable + return ['mail']; + } + + /** + * Get the mail representation of the notification. + * + * @param object $notifiable + * @return \Illuminate\Notifications\Messages\MailMessage + */ + public function toMail(object $notifiable): MailMessage + { + /** @var string $firstname */ + $firstname = $notifiable->api_data->firstname; + + return (new MailMessage()) + ->subject(trans("Mise à jour du mot de passe - :site_name", [ + 'site_name' => config('app.name') + ])) + ->greeting("Bonjour " . $firstname) + ->line(trans("Le mot de passe associé à votre compte :site_name vient d'être modifié.", [ + 'site_name' => config('app.name') + ])); + } +} diff --git a/app/Notifications/Customer/VerifyEmail.php b/app/Notifications/Customer/VerifyEmail.php new file mode 100644 index 0000000..8e86311 --- /dev/null +++ b/app/Notifications/Customer/VerifyEmail.php @@ -0,0 +1,66 @@ +addMinutes(Config::get('auth.verification.expire', 60)), + [ + 'id' => $notifiable->getKey(), + 'hash' => sha1($notifiable->getEmailForVerification()), + ], + true + )); + }; + } + + /** + * Build the mail representation of the notification. + * + * @param mixed $notifiable + * @return \Illuminate\Notifications\Messages\MailMessage + * @phpcs:disable Squiz.Commenting.FunctionComment.TypeHintMissing + */ + public function toMail($notifiable) + { + // phpcs:enable + /** @var \App\Models\Customer\Customer $notifiable */ + $verificationUrl = $this->verificationUrl($notifiable); + $firstname = $notifiable->api_data->firstname; + + return (new MailMessage()) + ->subject(trans("Inscription - :site_name", ['site_name' => config('app.name')])) + /** @var string $firstname */ + ->greeting("Bonjour " . $firstname) + ->line(trans( + "Vous venez de créer un compte sur :site_name.", + ['site_name' => config('app.name')] + )) + ->line("Pour confirmer votre inscription, merci de cliquer sur le lien ci-dessous :") + /** @var string $verificationUrl */ + ->action(trans('Confirmer mon adresse email'), $verificationUrl); + } +} diff --git a/app/Observers/ModelObserver.php b/app/Observers/ModelObserver.php new file mode 100644 index 0000000..71d194b --- /dev/null +++ b/app/Observers/ModelObserver.php @@ -0,0 +1,54 @@ +role->value() <= $minRole->value(); + } +} diff --git a/app/Policies/StaticPagePolicy.php b/app/Policies/StaticPagePolicy.php new file mode 100644 index 0000000..3ab2af8 --- /dev/null +++ b/app/Policies/StaticPagePolicy.php @@ -0,0 +1,36 @@ +role); + } + + /** + * Determine whether the user can create models. + * + * @param \App\Models\User $authUser + * @return boolean + */ + public function create(User $authUser): bool + { + return UserStaticRules::atLeastRole($authUser, RoleEnum::admin); + } + + /** + * Determine whether the user can update the model. + * + * @param \App\Models\User $authUser + * @param \App\Models\User $user + * @return boolean + */ + public function update(User $authUser, User $user): bool + { + return $authUser->getRouteKey() === $user->getRouteKey() or + (UserStaticRules::atLeastRole($authUser, RoleEnum::admin) and + UserStaticRules::atLeastRole($authUser, $user->role)); + } + + /** + * Determine whether the user can delete the model. + * + * @param \App\Models\User $authUser + * @param \App\Models\User $user + * @return boolean + */ + public function delete(User $authUser, User $user): bool + { + return $authUser->getRouteKey() !== $user->getRouteKey() and + UserStaticRules::atLeastRole($authUser, RoleEnum::admin) and + UserStaticRules::atLeastRole($authUser, $user->role); + } + + /** + * Determine whether the user can restore the model. + * + * @param \App\Models\User $authUser + * @param \App\Models\User $user + * @return boolean + */ + public function restore(User $authUser, User $user): bool + { + return $authUser->getRouteKey() !== $user->getRouteKey() and + UserStaticRules::atLeastRole($authUser, RoleEnum::admin) and + UserStaticRules::atLeastRole($authUser, $user->role); + } + + /** + * Determine whether the user can permanently delete the model. + * + * @param \App\Models\User $authUser + * @param \App\Models\User $user + * @return boolean + */ + public function forceDelete(User $authUser, User $user): bool + { + return $authUser->getRouteKey() !== $user->getRouteKey() and + UserStaticRules::atLeastRole($authUser, RoleEnum::admin) and + UserStaticRules::atLeastRole($authUser, $user->role); + } + + /** + * Determine whether the user can duplicate the model. + * + * @param \App\Models\User $authUser + * @param \App\Models\User $user + * @return boolean + */ + public function duplicate(User $authUser, User $user): bool + { + return $authUser->getRouteKey() !== $user->getRouteKey() and + UserStaticRules::atLeastRole($authUser, RoleEnum::admin) and + UserStaticRules::atLeastRole($authUser, $user->role); + } + + /** + * Determine whether the user can publish/unpublish the model. + * + * @param \App\Models\User $authUser + * @param \App\Models\User $user + * @return boolean + */ + public function changePublished(User $authUser, User $user): bool + { + return $authUser->getRouteKey() !== $user->getRouteKey() and + UserStaticRules::atLeastRole($authUser, RoleEnum::admin) and + UserStaticRules::atLeastRole($authUser, $user->role); + } +} diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php new file mode 100644 index 0000000..2814bbf --- /dev/null +++ b/app/Providers/AppServiceProvider.php @@ -0,0 +1,43 @@ +app->environment('production')); + + // * HTTPS FIX + URL::forceScheme('https'); + + // * HA PROXY FIX + App::singleton('clientIp', function () { + if (config('app.env') === 'local') { + return request()->getClientIp(); + } else { + return request()->server('HTTP_X_FORWARDED_FOR') ?? + request()->getClientIp(); + } + }); + + // * LOCAL FORCE eg: for Carbon + setlocale(LC_ALL, \sprintf( + '%s_%s.UTF-8', + config('app.locale'), + \strtoupper(config('app.locale')) + )); + Carbon::setLocale(config('app.locale')); + } +} diff --git a/app/Providers/AuthServiceProvider.php b/app/Providers/AuthServiceProvider.php new file mode 100644 index 0000000..7f2dc1b --- /dev/null +++ b/app/Providers/AuthServiceProvider.php @@ -0,0 +1,35 @@ + + */ + protected $policies = []; + + /** + * Register any authentication / authorization services. + * + * @return void + */ + public function boot(): void + { + Gate::define('isConceptor', function (User $user) { + return $user->role === RoleEnum::conceptor; + }); + + $this->app->auth->provider('crm', function ($app, array $config) { + return new CrmUserProvider($app['hash'], $config['model']); + }); + } +} diff --git a/app/Providers/CrmApiServiceProvider.php b/app/Providers/CrmApiServiceProvider.php new file mode 100644 index 0000000..c5afa2e --- /dev/null +++ b/app/Providers/CrmApiServiceProvider.php @@ -0,0 +1,26 @@ +> + */ + protected $listen = [ + Registered::class => [ + SendEmailVerificationNotification::class, + ], + Verified::class => [ + LogVerifiedUser::class + ], + PasswordReset::class => [ + PasswordHasReset::class + ], + ]; + + /** + * Determine if events and listeners should be automatically discovered. + * + * @return boolean + */ + public function shouldDiscoverEvents(): bool + { + return false; + } +} diff --git a/app/Providers/MesBrServiceProvider.php b/app/Providers/MesBrServiceProvider.php new file mode 100644 index 0000000..5a992e0 --- /dev/null +++ b/app/Providers/MesBrServiceProvider.php @@ -0,0 +1,25 @@ +configureRateLimiting(); + + $this->cspReportRoute(); + + $this->routes(function () { + Route::middleware('web') + ->namespace($this->namespace) + ->group(base_path('routes/web-bo.php')); + + Route::middleware('web') + ->namespace($this->namespace) + ->group(base_path('routes/web-fo.php')); + }); + + Route::model('user', User::class); + Route::model('picto', Picto::class); + Route::model('range', Range::class); + Route::model('product', Product::class); + Route::model('local_commitment', LocalCommitment::class); + Route::model('news', News::class); + Route::model('game', Game::class); + Route::model('historical_milestone', HistoricalMilestone::class); + } + + /** + * Configure the rate limiters for the application. + * + * @return void + */ + protected function configureRateLimiting(): void + { + RateLimiter::for('api', function (Request $request) { + return Limit::perMinute(150)->by($request->user()?->id ?: app('clientIp')); + }); + RateLimiter::for('web', function (Request $request) { + return Limit::perMinute(150)->by($request->user()?->id ?: app('clientIp')); + }); + RateLimiter::for('credentials', function (Request $request) { + return Limit::perMinute(30)->by($request->user()?->id ?: app('clientIp')); + }); + } + + /** + * * Register CSP report URI + * + * Put this function inside RouteServiceProvider, + * and call it in RouteServiceProvider::boot + * + * @return void + */ + private function cspReportRoute() + { + // * CSP REPORT URI, Please add /csp-report to VerifyCsrfToken $except middleware + \Illuminate\Support\Facades\Route::post('/csp-report', function () { + $isCspRequest = request()->header('Content-Type') === 'application/csp-report'; + if (!$isCspRequest or !request()->json('csp-report') or !is_array(request()->json('csp-report'))) { + abort(401); + } + // * Flatten if needed + $cspReport = collect(request()->json('csp-report')) + ->flatMap(function ($v, $k) { + return [$k => is_array($v) ? collect($v)->flatten()->implode(', ') : $v]; + })->all(); + // * Filter array keys + $cspReport = collect(array_intersect_key($cspReport, [ + 'blocked-uri' => '', 'document-uri' => '', 'original-policy' => '', + 'referrer' => '', 'violated-directive' => '' + ])); + \Illuminate\Support\Facades\Log::warning(sprintf( + "CSP REPORT for %s : \n %s", + $cspReport->get('document-uri'), + $cspReport->implode("\n") + )); + })->middleware('throttle:5,2') + ->withoutMiddleware(\App\Http\Middleware\VerifyCsrfToken::class) + ->name('cspReportUri'); + } +} diff --git a/app/Providers/TranslationServiceProvider.php b/app/Providers/TranslationServiceProvider.php new file mode 100644 index 0000000..b3e3f4b --- /dev/null +++ b/app/Providers/TranslationServiceProvider.php @@ -0,0 +1,78 @@ +collectLocalesStrings() as $locale) { + // * Suported locales + Cache::rememberForever(sprintf('translations.%s', $locale), function () use ($locale) { + $translations = [ + 'php' => $this->phpTranslations($locale), + 'json' => $this->jsonTranslations($locale), + ]; + return $translations; + }); + } + } + + /** + * Gather provided langs checking from files + * + * @return \Illuminate\Support\Collection + */ + private function collectLocalesStrings(): Collection + { + return collect(File::allFiles(resource_path('lang/')))->flatMap(function (SplFileInfo $file) { + if ($file->getRelativePath() and \strpos($file->getRelativePath(), 'vendor') !== 0) { + return [$file->getRelativePath() => '']; + } + })->keys(); + } + + /** + * Gather all php translations + * + * @param string $locale + * @return array + */ + private function phpTranslations(string $locale): array + { + $path = resource_path("lang/$locale"); + + return collect(File::allFiles($path))->flatMap(function ($file) use ($locale) { + $translation = $file->getBasename('.php'); + return [$translation => trans($translation, [], $locale)]; + })->all(); + } + + /** + * Gather json translations + * + * @param string $locale + * @return array + */ + private function jsonTranslations(string $locale): array + { + $path = resource_path("lang/$locale.json"); + + if (is_string($path) && is_readable($path)) { + return json_decode(file_get_contents($path), true) ?? []; + } + + return []; + } +} diff --git a/app/Providers/ViewServiceProvider.php b/app/Providers/ViewServiceProvider.php new file mode 100644 index 0000000..87eaea4 --- /dev/null +++ b/app/Providers/ViewServiceProvider.php @@ -0,0 +1,60 @@ +isMobile(); + }); + // * Tablet detection + Blade::if('isTablet', function () { + return app('agent')->isTablet(); + }); + // * Desktop detection + Blade::if('isDesktop', function () { + return app('agent')->isDesktop(); + }); + + $appInfos = Cache::remember('composer', 360, function () { + return json_decode(File::get(\app_path('../composer.json'))); + }); + // Share composer.json infos. + if (isset($appInfos->name) and isset($appInfos->version)) { + View::share('cpsr_name', $appInfos->name); + View::share('cpsr_version', $appInfos->version); + } + + if (!app()->runningInConsole()) { + // Shares this data with all views. + if (Schema::hasTable('ranges')) { + View::share('allRanges', Range::query()->get()); + } + + // * FORCE BOOTSTRAP PAGINATOR (or custom if in front) + // Early boot, request wont be filled as expected. + if (collect(explode('/', \request()->getPathInfo()))->get(1) === 'bo') { + Paginator::defaultView('bo.modules.pagination'); + } else { + Paginator::useBootstrapFive(); + } + } + } +} diff --git a/app/Rules/CrmCustomerPassword.php b/app/Rules/CrmCustomerPassword.php new file mode 100644 index 0000000..25cd977 --- /dev/null +++ b/app/Rules/CrmCustomerPassword.php @@ -0,0 +1,56 @@ +crmCustomer = $crmCustomer; + } + + /** + * Run the validation rule. + * + * @param string $attribute + * @param mixed $value + * @param \Closure(string):\Illuminate\Translation\PotentiallyTranslatedString $fail + * @return void + * @phpcs:disable Squiz.Commenting.FunctionCommentThrowTag.Missing + * @phpcs:disable Squiz.Commenting.FunctionComment.IncorrectTypeHint + * @phpcs:disable Generic.CodeAnalysis.UnusedFunctionParameter.FoundInImplementedInterfaceBeforeLastUsed + */ + public function validate(string $attribute, mixed $value, \Closure $fail): void + { + // phpcs:enable + try { + if (!Customer::login($this->crmCustomer->email, strval($value))) { + $fail(trans('Votre ancien mot de passe n\'as pu être vérifié')); + } + } catch (ApiErrorException $e) { + if ($e->getApiError()->equals(ApiError::authFailed())) { + $fail($e->getMessage()); + } else { + throw $e; + } + } + } +} diff --git a/app/Rules/IsAdult.php b/app/Rules/IsAdult.php new file mode 100644 index 0000000..4bbe241 --- /dev/null +++ b/app/Rules/IsAdult.php @@ -0,0 +1,105 @@ +error_message = $message ?? trans('Vous devez être majeur.'); + } + + /** + * Run the validation rule. + * + * @param string $attribute + * @param mixed $value + * @param \Closure(string): \Illuminate\Translation\PotentiallyTranslatedString $fail + * @return void + * @throws \RuntimeException If date cannot be parsed. + * @phpcs:disable Squiz.Commenting.FunctionComment.IncorrectTypeHint + */ + public function validate(string $attribute, mixed $value, \Closure $fail): void + { + //@phpcs:enable + $MJ = Carbon::now()->subYears(18); + + if ($this->isIsoFormat($value)) { + $d = Carbon::parse($value); + } + if ($this->isSqlDate($value)) { + $d = Carbon::createFromFormat('Y-m-d', $value); + } + if ($this->isFormDate($value)) { + $d = Carbon::createFromFormat('d/m/Y', $value); + } + // * Could not parse date. + if (!$d) { + throw new \RuntimeException("Could not parse date {$value} for attribute '{$attribute}'."); + } + if (!$d->lessThanOrEqualTo($MJ)) { + $fail($this->error_message); + } + } + + /** + * Check if provided string is formatted for mysql + * + * @param string $date + * @return boolean + */ + private function isSqlDate(string $date) + { + if (preg_match("/^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/", $date)) { + return true; + } + return false; + } + + /** + * Check if provided string is formatted DD/MM/AAAA + * + * @param string $date + * @return boolean + */ + private function isFormDate(string $date) + { + if (preg_match("/^(0[1-9]|[1-2][0-9]|3[0-1])\/(0[1-9]|1[0-2])\/[0-9]{4}$/", $date)) { + return true; + } + return false; + } + + /** + * Check if provided string is iso format + * + * * https://www.w3.org/TR/NOTE-datetime + * + * @param string $date + * @return boolean + */ + private function isIsoFormat(string $date) + { + // phpcs:ignore Generic.Files.LineLength.TooLong + if (preg_match("/^(\d{4})(?:-?W(\d+)(?:-?(\d+)D?)?|(?:-(\d+))?-(\d+))(?:[T ](\d+):(\d+)(?::(\d+)(?:\.(\d+))?)?)?(?:Z(-?\d*))?$/", $date)) { + return true; + } + return false; + } +} diff --git a/app/Traits/Controllers/ChangesModelOrder.php b/app/Traits/Controllers/ChangesModelOrder.php new file mode 100644 index 0000000..5058812 --- /dev/null +++ b/app/Traits/Controllers/ChangesModelOrder.php @@ -0,0 +1,68 @@ +route()->parameterNames); + $className = Str::of($paramNames->get($paramNames->count() - 2))->lower()->studly(); + $className = "\\App\\Models\\{$className}"; + $model = Arr::get($params, $paramNames->count() - 2); + + if (!class_exists($className)) { + throw new \RuntimeException("The {$className} class doesn't exist."); + } + + if (!\is_object($model)) { + throw new \RuntimeException("The second last param isn't an object."); + } + + if (get_class($model) !== Str::of($className)->replaceStart('\\', '')->value()) { + throw new \RuntimeException("The {$className} doesn't match second last binded param."); + } + + /** @var \Illuminate\Database\Eloquent\Model $model */ + + /** @var \Illuminate\Database\Eloquent\Model|null */ + $model = $className::query()->where($model->getRouteKeyName(), $model->getRouteKey())->first(); + + if (!$model) { + return back()->with('error', trans('crud.messages.order_not_changed')); + } + + return DB::transaction(function () use ($request, $className, $model) { + /** @var \Illuminate\Database\Eloquent\Model|null */ + $tmp = $className::query()->where('order', $request->direction ? '<' : '>', $model->order) + ->orderBy('order', $request->direction ? 'DESC' : 'ASC')->first(); + + if (!$tmp) { + return back()->with('error', trans('crud.messages.order_not_changed')); + } + + $newOrder = $tmp->order; + $tmp->order = $model->order; + $model->order = $newOrder; + $tmp->saveOrFail(); + $model->saveOrFail(); + Session::flash('success', trans('crud.messages.order_changed')); + + return back(); + }); + } +} diff --git a/app/Traits/Controllers/UpdateModelPublished.php b/app/Traits/Controllers/UpdateModelPublished.php new file mode 100644 index 0000000..4ca47df --- /dev/null +++ b/app/Traits/Controllers/UpdateModelPublished.php @@ -0,0 +1,26 @@ +published = !$model->published; + $model->saveOrFail(); + return redirect()->back()->with('success', trans(__('crud.messages.publish_status_saved'))); + } +} diff --git a/app/Traits/Enums/BaseEnum.php b/app/Traits/Enums/BaseEnum.php new file mode 100644 index 0000000..559b1ee --- /dev/null +++ b/app/Traits/Enums/BaseEnum.php @@ -0,0 +1,263 @@ +name]; + } + + /** + * Get enum label. + * + * @return string + */ + public function label(): string + { + return self::toLabels()[$this->name]; + } + + /** + * Get enum name. + * + * @return string + */ + public function name(): string + { + return $this->name; + } + + // * STATIC FETCH METHODS + + /** + * Get enum labels. + * + * @return array + */ + public static function toLabels(): array + { + if (empty(self::getCache('labels'))) { + $labels = self::getLabelsConstant(); + self::setCache('labels', \collect(self::cases()) + ->mapWithKeys(function ($enum) use ($labels) { + if (!\is_null($labels) and !isset($labels[$enum->name])) { + throw new \Error('Missing definition label ' . self::class . " for {$enum->name}"); + } + return [$enum->name => \trans( + !\is_null($labels) ? $labels[$enum->name] : Str::ucfirst($enum->name) + )]; + })->all()); + } + return self::getCache('labels'); + } + + /** + * Get enum values. + * + * @return array + */ + public static function toValues(): array + { + if (empty(self::getCache('values'))) { + self::setCache('values', \collect(self::cases()) + ->mapWithKeys(fn ($enum) => [$enum->name => $enum->value])->all()); + } + return self::getCache('values'); + } + + /** + * Get enums. + * + * @return array + */ + public static function all(): array + { + return self::cases(); + } + + /** + * Get enums. + * + * @return array + */ + public static function toArray(): array + { + if (empty(self::getCache('enums'))) { + $definitions = self::getCustomDefinitions(); + self::setCache('enums', \collect(self::cases()) + ->mapWithKeys(function ($enum) use ($definitions) { + $baseArray = [ + 'name' => $enum->name, + 'label' => $enum->label(), + 'value' => $enum->value, + ]; + foreach ($definitions as $index => $elements) { + $index = Str::lower(Str::singular($index)); + if (!isset($elements[$enum->name])) { + throw new \Error("Missing definition {$index} " . self::class . " for {$enum->name}"); + } + $baseArray[$index] = $elements[$enum->name]; + } + return [$enum->name => (object)$baseArray]; + })->all()); + } + return self::getCache('enums'); + } + + /** + * Fetch enum using value. + * + * @param \App\Traits\Enums\BaseEnum|integer|string $value + * @param string $field + * @return \App\Traits\Enums\BaseEnum|null + */ + public static function make(self|int|string $value, string $field = 'value'): self|null + { + if ($field === "label") { + $enumLabels = array_change_key_case(array_flip(self::toLabels()), CASE_LOWER); + $value = (isset($enumLabels[strtolower($value)])) ? $enumLabels[strtolower($value)] : false; + $field = 'name'; + } + return !\is_object($value) ? + \collect(self::cases())->keyBy($field)->get($value) : $value; + } + + /** + * Test if 2 enum are equals. + * + * @param object ...$others + * @return boolean + * @throws \Error If provided element are not enums that extends BaseEnum. + */ + public function equals(object ...$others): bool + { + foreach ($others as $other) { + if (!\in_array(BaseEnum::class, \class_uses_recursive($other))) { + throw new \Error(__METHOD__ . + ' requires $enum to use ' . BaseEnum::class); + } + if ( + get_class($this) === get_class($other) + && $this->value === $other->value + ) { + return true; + } + } + return false; + } + + /** + * Serialize to json. + * + * @return mixed + */ + public function jsonSerialize(): mixed + { + return $this->value; + } + + + // * CACHE + + /** + * Get cache array. + * + * @param string $index + * @return array + */ + private static function getCache(string $index): array + { + self::initCache(); + if (!isset($GLOBALS[self::class]['props'][$index])) { + $GLOBALS[self::class]['props'][$index] = []; + } + return $GLOBALS[self::class]['props'][$index]; + } + + /** + * Set cache array. + * + * @param string $index + * @param array $items + * @return void + */ + private static function setCache(string $index, array $items): void + { + self::initCache(); + if (!isset($GLOBALS[self::class]['props'][$index])) { + $GLOBALS[self::class]['props'][$index] = []; + } + $GLOBALS[self::class]['props'][$index] = $items; + } + + /** + * Init cache if needed. + * + * @return void + */ + private static function initCache(): void + { + if (!isset($GLOBALS[self::class])) { + $GLOBALS[self::class] = [ + 'props' => [ + 'enums' => [], + 'values' => [], + 'labels' => [] + ], + 'customProps' => null + ]; + } + } + + // * PRIVATE + + /** + * Fetch the LABELS constant if exists. + * + * @return array|null + */ + private static function getLabelsConstant(): array|null + { + $class_name = self::class; + try { + $constant_reflex = new \ReflectionClassConstant($class_name, 'LABELS'); + return $constant_reflex->getValue(); + } catch (\ReflectionException $e) { + return null; + } + } + + /** + * Get custom constants. + * + * @return array + */ + private static function getCustomDefinitions(): array + { + // ? Has custom props in cache ? + if (!isset($GLOBALS[self::class]) or \is_null($GLOBALS[self::class]['customProps'])) { + $names = \collect(self::cases())->keyBy('name'); + + $GLOBALS[self::class]['customProps'] = \collect((new \ReflectionClass(self::class))->getConstants()) + ->filter(function (mixed $constant, string $key) use ($names) { + if ($key === 'LABELS' or !\is_array($constant)) { + return false; + } + return \collect($constant)->keys() + ->filter(fn (string $name) => $names->has($name))->count(); + })->all(); + } + return $GLOBALS[self::class]['customProps']; + } +} diff --git a/app/Traits/Models/ActivityLog.php b/app/Traits/Models/ActivityLog.php new file mode 100644 index 0000000..67973e1 --- /dev/null +++ b/app/Traits/Models/ActivityLog.php @@ -0,0 +1,23 @@ +all(); + } + Cache::put(static::getCacheKeyName(), static::queryCached(static::query()) + ->where($conditions)->get() + ->pipe(fn (Collection $collection) => \call_user_func([self::class, 'filterQuery'], $collection))); + } + + /** + * Change query for cached elements + * + * @param \Illuminate\Database\Eloquent\Builder $query + * @return \Illuminate\Database\Eloquent\Builder + */ + protected static function queryCached(Builder $query): Builder + { + return $query; + } + + /** + * Change query for cached elements + * + * @param \Illuminate\Support\Collection $results + * @return \Illuminate\Support\Collection + */ + protected static function filterQuery(Collection $results): Collection + { + return $results; + } + + /** + * Get the class basename + * + * @return string + */ + protected static function getCacheKeyName(): string + { + return static::getCallClassBaseName(); + } + + /** + * Get the class basename + * + * @return string + */ + protected static function getCallClassBaseName(): string + { + return str_replace(__NAMESPACE__ . '\\', '', get_called_class()); + } +} diff --git a/app/Traits/Models/MiniCrudModel.php b/app/Traits/Models/MiniCrudModel.php new file mode 100644 index 0000000..09109f1 --- /dev/null +++ b/app/Traits/Models/MiniCrudModel.php @@ -0,0 +1,180 @@ +setData($attributes['data']); + } + } + + /** + * Apply function on data typed text while on save event + * + * @return void + */ + public function minicrudCreating() + { + /** @var array */ + $data = $this->data; + foreach ($data as &$input) { + switch ($input['inputType']) { + case InputType::text->value: + $input['text'] = clean($input['text']); + $input['text'] = FileStorageHelper::storeModelFilesFromHtml($this, $input['text']); + break; + } //end switch + } //end foreach + $this->data = $data; + } + + /** + * Apply function on data typed text while on update event + * + * @return void + */ + public function minicrudUpdating() + { + $this->minicrudCreating(); + } + + /** + * Apply function on data typed text while on updated event + * + * @return void + */ + public function minicrudUpdated() + { + /** @var array */ + foreach ($this->data as $index => $input) { + switch ($input['inputType']) { + case InputType::text->value: + $original = ToolboxHelper::getOriginal($this, 'data'); + FileStorageHelper::removeOldModelFilesFromHtml( + $input['text'], + $original[$index]['text'] ?? '' + ); + break; + } //end switch + } //end foreach + } + + /** + * Apply function on data typed text while on deleted event + * + * @return void + */ + public function minicrudDeleted() + { + /** @var array */ + foreach ($this->data as $input) { + switch ($input['inputType']) { + case InputType::text->value: + FileStorageHelper::removeModelFilesOfHtml($input['text']); + break; + } //end switch + } //end foreach + } + + /** + * Set a specific prop + * + * @param array $data + * @return void + */ + private function setData(array $data): void + { + $attrs = $this->attributes; + if (isset($attrs['data'])) { + unset($attrs['data']); + } + $this->setAttribute('data', $data); + } + + /** + * Set a specific prop + * + * @param array $value + * @return void + */ + protected function setDataAttribute(array $value): void + { + $this->attributes['data'] = $this->castAttributeAsJson( + 'data', + $this->serializeData($value) + ); + } + + /** + * Set a specific prop + * + * @param string|null $data + * @return array + */ + protected function getDataAttribute(string|null $data): array + { + return $this->fromJson($data ?? $this->attributes['data'] ?? '[]'); + } + + /** + * Serialize properties + * + * @param array $data + * @return array + * @throws \ErrorException If input type is no handled. + * @throws \Illuminate\Validation\ValidationException If url is a bo url. + * @phpcs:disable Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + * @phpcs:disable Generic.Metrics.CyclomaticComplexity.TooHigh + */ + private function serializeData(array $data): array + { + foreach ($data as $o => $input) { + switch ($input['inputType']) { + case InputType::image->value: + $data[$o]['value'] = \preg_replace( + '/^\/|^/', + '', + FileStorageHelper::storeFile($this, $input['value'], true) + ); + break; + case InputType::selectEnum->value: + case InputType::boolean->value: + case InputType::password->value: + case InputType::email->value: + case InputType::number->value: + case InputType::videoVimeo->value: + case InputType::videoYoutube->value: + case InputType::video->value: + break; + case InputType::string->value: + case InputType::text->value: + case InputType::url->value: + ToolboxHelper::assertNoInternalBoUrls('content', $input['value']); + break; + default: + throw new \ErrorException(sprintf( + 'Unknown input Type %s', + $input['inputType'] + )); + } //end switch + } //end foreach + return $data; + } +} diff --git a/app/Traits/Requests/.gitkeep b/app/Traits/Requests/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/app/Traits/Requests/HasPicture.php b/app/Traits/Requests/HasPicture.php new file mode 100644 index 0000000..5cc57dd --- /dev/null +++ b/app/Traits/Requests/HasPicture.php @@ -0,0 +1,174 @@ + $minWith ?? $this->minWith, + 'minHeight' => $minHeight ?? $this->minHeight, + 'maxWith' => $maxWith ?? $this->maxWith, + 'maxHeight' => $maxHeight ?? $this->maxHeight + ]; + return [ + $name => [ + !$nullable ? 'required' : 'nullable', + function (string $attribute, $value, callable $fail) use ($sizes) { + return ToolboxHelper::validatePicture($attribute, $value, $fail, $sizes); + } + ] + ]; + } + + /** + * Images rules + * + * @param string $name + * @param integer|null $minWith + * @param integer|null $minHeight + * @param integer|null $maxWith + * @param integer|null $maxHeight + * @return array + */ + public function picturesRules( + string $name = 'pictures', + ?int $minWith = null, + ?int $minHeight = null, + ?int $maxWith = null, + ?int $maxHeight = null + ): array { + $sizes = (object)[ + 'minWith' => $minWith ?? $this->minWith, + 'minHeight' => $minHeight ?? $this->minHeight, + 'maxWith' => $maxWith ?? $this->maxWith, + 'maxHeight' => $maxHeight ?? $this->maxHeight + ]; + return [ + $name => 'sometimes|array', + "{$name}Validate" => "required_with:{$name}|array", + "{$name}Validate.*" => [ + 'required', + function (string $attribute, $value, callable $fail) use ($sizes) { + return $this->validatePicture($attribute, $value, $fail, $sizes); + } + ] + ]; + } + + /** + * Merges products pictures fields with request data + * + * @param string $name + * @return void + */ + protected function mergePicture(string $name = 'picture'): void + { + $picturePath = $this->{$name}; + if (is_string($picturePath)) { + $this->merge(["{$name}Validate" => []]); + // ! Empty picture. + if ($picturePath === 'false') { + // * Empty picture and exit + $this->merge([$name => []]); + return; + } + $decodedPath = \urldecode($picturePath); + $this->merge([ + "{$name}Validate" => array_merge( + $this->{"{$name}Validate"}, + [\public_path(ltrim($decodedPath, '/'))] + ) + ]); + $changedPicture = ltrim($decodedPath, '/'); + $this->merge([ + $name => $changedPicture + ]); + } //end if + } + + /** + * Merges products pictures fields with request data + * + * @param string $name + * @return void + */ + protected function mergePictures(string $name = 'pictures'): void + { + $pictures = $this->{$name}; + if (is_array($pictures)) { + $this->merge(["{$name}Validate" => []]); + foreach ($pictures as $key => $picturePath) { + // ! Empty picture. + if ($picturePath === 'false') { + // * Empty picture and exit + $this->merge([$name => []]); + return; + } + $decodedPath = \urldecode($picturePath); + $this->merge([ + "{$name}Validate" => array_merge( + $this->{"{$name}Validate"}, + [\public_path(ltrim($decodedPath, '/'))] + ) + ]); + $changedPicture = $this->{$name}; + $changedPicture[$key] = ltrim($decodedPath, '/'); + $this->merge([ + $name => $changedPicture + ]); + } + } //end if + } +} diff --git a/artisan b/artisan new file mode 100644 index 0000000..67a3329 --- /dev/null +++ b/artisan @@ -0,0 +1,53 @@ +#!/usr/bin/env php +make(Illuminate\Contracts\Console\Kernel::class); + +$status = $kernel->handle( + $input = new Symfony\Component\Console\Input\ArgvInput, + new Symfony\Component\Console\Output\ConsoleOutput +); + +/* +|-------------------------------------------------------------------------- +| Shutdown The Application +|-------------------------------------------------------------------------- +| +| Once Artisan has finished running, we will fire off the shutdown events +| so that any final work may be done by the application before we shut +| down the process. This is the last thing to happen to the request. +| +*/ + +$kernel->terminate($input, $status); + +exit($status); diff --git a/bootstrap/app.php b/bootstrap/app.php new file mode 100644 index 0000000..037e17d --- /dev/null +++ b/bootstrap/app.php @@ -0,0 +1,55 @@ +singleton( + Illuminate\Contracts\Http\Kernel::class, + App\Http\Kernel::class +); + +$app->singleton( + Illuminate\Contracts\Console\Kernel::class, + App\Console\Kernel::class +); + +$app->singleton( + Illuminate\Contracts\Debug\ExceptionHandler::class, + App\Exceptions\Handler::class +); + +/* +|-------------------------------------------------------------------------- +| Return The Application +|-------------------------------------------------------------------------- +| +| This script returns the application instance. The instance is given to +| the calling script so we can separate the building of the instances +| from the actual running of the application and sending responses. +| +*/ + +return $app; diff --git a/bootstrap/cache/.gitignore b/bootstrap/cache/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/bootstrap/cache/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..0c48fea --- /dev/null +++ b/composer.json @@ -0,0 +1,89 @@ +{ + "name": "uwil/tregalette", + "version": "1.0.0", + "type": "project", + "description": "Tregalette website.", + "require": { + "php": "^8.2", + "axlon/laravel-postal-code-validation": "^3.4", + "diglactic/laravel-breadcrumbs": "^8.0", + "guzzlehttp/guzzle": "^7.2", + "jenssegers/agent": "^2.6", + "laravel/framework": "^10.0", + "laravel/tinker": "^2.8", + "laravel/ui": "^4.2", + "ldc/ldccrmv2client": "^3.0", + "ldc/web-admin-secure-laravel": "^2.0", + "mews/purifier": "^3.4", + "propaganistas/laravel-phone": "^5.0", + "sentry/sentry-laravel": "*", + "uwil/k8s-laravel": "*" + }, + "require-dev": { + "fakerphp/faker": "^1.9.1", + "laravel-lang/common": "^4.0", + "laravel/pint": "^1.0", + "laravel/sail": "^1.18", + "mockery/mockery": "^1.4.4", + "nunomaduro/collision": "^7.0", + "phpunit/phpunit": "^10.0", + "slevomat/coding-standard": "^8.10", + "spatie/laravel-ignition": "^2.0", + "thedoctor0/laravel-factory-generator": "^1.2" + }, + "autoload": { + "psr-4": { + "App\\": "app/", + "Database\\Factories\\": "database/factories/", + "Database\\Seeders\\": "database/seeders/" + } + }, + "repositories": [ + { + "type": "path", + "url": "./app/Lib/vendor/crm-client-3.0.6" + }, + { + "type": "composer", + "url": "https://lab.s-web.fr/api/v4/group/23/-/packages/composer/packages.json" + } + ], + "autoload-dev": { + "psr-4": { + "Tests\\": "tests/", + "LDCWEB\\": "app/Lib/vendor/LDCWEB" + } + }, + "scripts": { + "post-autoload-dump": [ + "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", + "@php artisan package:discover --ansi" + ], + "post-update-cmd": [ + "@php artisan vendor:publish --tag=laravel-assets --ansi --force" + ], + "post-root-package-install": [ + "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" + ], + "post-create-project-cmd": [ + "@php artisan key:generate --ansi" + ] + }, + "extra": { + "laravel": { + "dont-discover": [] + } + }, + "config": { + "optimize-autoloader": true, + "preferred-install": "dist", + "sort-packages": true, + "allow-plugins": { + "pestphp/pest-plugin": true, + "php-http/discovery": true, + "dealerdirect/phpcodesniffer-composer-installer": true + } + }, + "minimum-stability": "stable", + "prefer-stable": true +} diff --git a/composer.lock b/composer.lock new file mode 100644 index 0000000..2219624 --- /dev/null +++ b/composer.lock @@ -0,0 +1,12233 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", + "This file is @generated automatically" + ], + "content-hash": "8554b71fa85fc07565b1388e3f3dc54a", + "packages": [ + { + "name": "axlon/laravel-postal-code-validation", + "version": "v3.4.0", + "source": { + "type": "git", + "url": "https://github.com/axlon/laravel-postal-code-validation.git", + "reference": "b4cd64b0d3358c42d7805370c5f9ab2f2f411e81" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/axlon/laravel-postal-code-validation/zipball/b4cd64b0d3358c42d7805370c5f9ab2f2f411e81", + "reference": "b4cd64b0d3358c42d7805370c5f9ab2f2f411e81", + "shasum": "" + }, + "require": { + "illuminate/contracts": "^5.5 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0", + "illuminate/support": "^5.5 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0", + "illuminate/validation": "^5.5 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0", + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "guzzlehttp/guzzle": "^6.5 || ^7.0.1", + "mockery/mockery": "^1.3", + "phpunit/phpunit": "^8.5 || ^9.0 || ^10.0", + "symfony/var-exporter": "^4.0" + }, + "type": "library", + "extra": { + "laravel": { + "aliases": { + "PostalCodes": "\\Axlon\\PostalCodeValidation\\Support\\Facades\\PostalCodes" + }, + "providers": [ + "\\Axlon\\PostalCodeValidation\\ValidationServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Axlon\\PostalCodeValidation\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Choraimy Kroonstuiver", + "homepage": "https://github.com/axlon" + } + ], + "description": "Worldwide postal code validation for Laravel and Lumen", + "keywords": [ + "laravel", + "lumen", + "post code", + "postal code", + "validation", + "zip code" + ], + "support": { + "issues": "https://github.com/axlon/laravel-postal-code-validation/issues", + "source": "https://github.com/axlon/laravel-postal-code-validation/tree/v3.4.0" + }, + "time": "2023-02-15T12:56:26+00:00" + }, + { + "name": "brick/math", + "version": "0.11.0", + "source": { + "type": "git", + "url": "https://github.com/brick/math.git", + "reference": "0ad82ce168c82ba30d1c01ec86116ab52f589478" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/brick/math/zipball/0ad82ce168c82ba30d1c01ec86116ab52f589478", + "reference": "0ad82ce168c82ba30d1c01ec86116ab52f589478", + "shasum": "" + }, + "require": { + "php": "^8.0" + }, + "require-dev": { + "php-coveralls/php-coveralls": "^2.2", + "phpunit/phpunit": "^9.0", + "vimeo/psalm": "5.0.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Brick\\Math\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Arbitrary-precision arithmetic library", + "keywords": [ + "Arbitrary-precision", + "BigInteger", + "BigRational", + "arithmetic", + "bigdecimal", + "bignum", + "brick", + "math" + ], + "support": { + "issues": "https://github.com/brick/math/issues", + "source": "https://github.com/brick/math/tree/0.11.0" + }, + "funding": [ + { + "url": "https://github.com/BenMorel", + "type": "github" + } + ], + "time": "2023-01-15T23:15:59+00:00" + }, + { + "name": "clue/stream-filter", + "version": "v1.6.0", + "source": { + "type": "git", + "url": "https://github.com/clue/stream-filter.git", + "reference": "d6169430c7731d8509da7aecd0af756a5747b78e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/clue/stream-filter/zipball/d6169430c7731d8509da7aecd0af756a5747b78e", + "reference": "d6169430c7731d8509da7aecd0af756a5747b78e", + "shasum": "" + }, + "require": { + "php": ">=5.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3 || ^5.7 || ^4.8.36" + }, + "type": "library", + "autoload": { + "files": [ + "src/functions_include.php" + ], + "psr-4": { + "Clue\\StreamFilter\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Christian Lück", + "email": "christian@clue.engineering" + } + ], + "description": "A simple and modern approach to stream filtering in PHP", + "homepage": "https://github.com/clue/php-stream-filter", + "keywords": [ + "bucket brigade", + "callback", + "filter", + "php_user_filter", + "stream", + "stream_filter_append", + "stream_filter_register" + ], + "support": { + "issues": "https://github.com/clue/stream-filter/issues", + "source": "https://github.com/clue/stream-filter/tree/v1.6.0" + }, + "funding": [ + { + "url": "https://clue.engineering/support", + "type": "custom" + }, + { + "url": "https://github.com/clue", + "type": "github" + } + ], + "time": "2022-02-21T13:15:14+00:00" + }, + { + "name": "dflydev/dot-access-data", + "version": "v3.0.2", + "source": { + "type": "git", + "url": "https://github.com/dflydev/dflydev-dot-access-data.git", + "reference": "f41715465d65213d644d3141a6a93081be5d3549" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/f41715465d65213d644d3141a6a93081be5d3549", + "reference": "f41715465d65213d644d3141a6a93081be5d3549", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "phpstan/phpstan": "^0.12.42", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.3", + "scrutinizer/ocular": "1.6.0", + "squizlabs/php_codesniffer": "^3.5", + "vimeo/psalm": "^4.0.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Dflydev\\DotAccessData\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Dragonfly Development Inc.", + "email": "info@dflydev.com", + "homepage": "http://dflydev.com" + }, + { + "name": "Beau Simensen", + "email": "beau@dflydev.com", + "homepage": "http://beausimensen.com" + }, + { + "name": "Carlos Frutos", + "email": "carlos@kiwing.it", + "homepage": "https://github.com/cfrutos" + }, + { + "name": "Colin O'Dell", + "email": "colinodell@gmail.com", + "homepage": "https://www.colinodell.com" + } + ], + "description": "Given a deep data structure, access data by dot notation.", + "homepage": "https://github.com/dflydev/dflydev-dot-access-data", + "keywords": [ + "access", + "data", + "dot", + "notation" + ], + "support": { + "issues": "https://github.com/dflydev/dflydev-dot-access-data/issues", + "source": "https://github.com/dflydev/dflydev-dot-access-data/tree/v3.0.2" + }, + "time": "2022-10-27T11:44:00+00:00" + }, + { + "name": "diglactic/laravel-breadcrumbs", + "version": "v8.1.1", + "source": { + "type": "git", + "url": "https://github.com/diglactic/laravel-breadcrumbs.git", + "reference": "f72a78eb3e26aea507d7888a65f15e5790864e21" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/diglactic/laravel-breadcrumbs/zipball/f72a78eb3e26aea507d7888a65f15e5790864e21", + "reference": "f72a78eb3e26aea507d7888a65f15e5790864e21", + "shasum": "" + }, + "require": { + "facade/ignition-contracts": "^1.0", + "laravel/framework": "^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0", + "php": "^7.2 || ^8.0" + }, + "conflict": { + "davejamesmiller/laravel-breadcrumbs": "*" + }, + "require-dev": { + "orchestra/testbench": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0", + "php-coveralls/php-coveralls": "^2.4", + "phpunit/phpunit": "^8.5 || ^9.5", + "spatie/phpunit-snapshot-assertions": "^2.2 || ^4.2" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Diglactic\\Breadcrumbs\\ServiceProvider" + ], + "aliases": { + "Breadcrumbs": "Diglactic\\Breadcrumbs\\Breadcrumbs" + } + } + }, + "autoload": { + "psr-4": { + "Diglactic\\Breadcrumbs\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Sheng Slogar", + "email": "sheng@diglactic.com", + "role": "Maintainer" + }, + { + "name": "Dave James Miller", + "email": "dave@davejamesmiller.com", + "role": "Original Creator" + } + ], + "description": "A simple Laravel-style way to create breadcrumbs.", + "homepage": "https://github.com/diglactic/laravel-breadcrumbs", + "keywords": [ + "laravel" + ], + "support": { + "issues": "https://github.com/diglactic/laravel-breadcrumbs/issues", + "source": "https://github.com/diglactic/laravel-breadcrumbs/tree/v8.1.1" + }, + "time": "2023-04-17T23:24:15+00:00" + }, + { + "name": "doctrine/inflector", + "version": "2.0.8", + "source": { + "type": "git", + "url": "https://github.com/doctrine/inflector.git", + "reference": "f9301a5b2fb1216b2b08f02ba04dc45423db6bff" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/inflector/zipball/f9301a5b2fb1216b2b08f02ba04dc45423db6bff", + "reference": "f9301a5b2fb1216b2b08f02ba04dc45423db6bff", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^11.0", + "phpstan/phpstan": "^1.8", + "phpstan/phpstan-phpunit": "^1.1", + "phpstan/phpstan-strict-rules": "^1.3", + "phpunit/phpunit": "^8.5 || ^9.5", + "vimeo/psalm": "^4.25 || ^5.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Inflector\\": "lib/Doctrine/Inflector" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + }, + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" + } + ], + "description": "PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.", + "homepage": "https://www.doctrine-project.org/projects/inflector.html", + "keywords": [ + "inflection", + "inflector", + "lowercase", + "manipulation", + "php", + "plural", + "singular", + "strings", + "uppercase", + "words" + ], + "support": { + "issues": "https://github.com/doctrine/inflector/issues", + "source": "https://github.com/doctrine/inflector/tree/2.0.8" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finflector", + "type": "tidelift" + } + ], + "time": "2023-06-16T13:40:37+00:00" + }, + { + "name": "doctrine/lexer", + "version": "3.0.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/lexer.git", + "reference": "84a527db05647743d50373e0ec53a152f2cde568" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/lexer/zipball/84a527db05647743d50373e0ec53a152f2cde568", + "reference": "84a527db05647743d50373e0ec53a152f2cde568", + "shasum": "" + }, + "require": { + "php": "^8.1" + }, + "require-dev": { + "doctrine/coding-standard": "^10", + "phpstan/phpstan": "^1.9", + "phpunit/phpunit": "^9.5", + "psalm/plugin-phpunit": "^0.18.3", + "vimeo/psalm": "^5.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Common\\Lexer\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" + } + ], + "description": "PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.", + "homepage": "https://www.doctrine-project.org/projects/lexer.html", + "keywords": [ + "annotations", + "docblock", + "lexer", + "parser", + "php" + ], + "support": { + "issues": "https://github.com/doctrine/lexer/issues", + "source": "https://github.com/doctrine/lexer/tree/3.0.0" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Flexer", + "type": "tidelift" + } + ], + "time": "2022-12-15T16:57:16+00:00" + }, + { + "name": "dragonmantank/cron-expression", + "version": "v3.3.3", + "source": { + "type": "git", + "url": "https://github.com/dragonmantank/cron-expression.git", + "reference": "adfb1f505deb6384dc8b39804c5065dd3c8c8c0a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/adfb1f505deb6384dc8b39804c5065dd3c8c8c0a", + "reference": "adfb1f505deb6384dc8b39804c5065dd3c8c8c0a", + "shasum": "" + }, + "require": { + "php": "^7.2|^8.0", + "webmozart/assert": "^1.0" + }, + "replace": { + "mtdowling/cron-expression": "^1.0" + }, + "require-dev": { + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^1.0", + "phpstan/phpstan-webmozart-assert": "^1.0", + "phpunit/phpunit": "^7.0|^8.0|^9.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Cron\\": "src/Cron/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Chris Tankersley", + "email": "chris@ctankersley.com", + "homepage": "https://github.com/dragonmantank" + } + ], + "description": "CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due", + "keywords": [ + "cron", + "schedule" + ], + "support": { + "issues": "https://github.com/dragonmantank/cron-expression/issues", + "source": "https://github.com/dragonmantank/cron-expression/tree/v3.3.3" + }, + "funding": [ + { + "url": "https://github.com/dragonmantank", + "type": "github" + } + ], + "time": "2023-08-10T19:36:49+00:00" + }, + { + "name": "dxw/cidr", + "version": "v3.2.0", + "source": { + "type": "git", + "url": "https://github.com/dxw/cidr.git", + "reference": "b07dd398f5a93441f57a687982bc7d0ffb96729a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/dxw/cidr/zipball/b07dd398f5a93441f57a687982bc7d0ffb96729a", + "reference": "b07dd398f5a93441f57a687982bc7d0ffb96729a", + "shasum": "" + }, + "require": { + "dxw/result": "^1.0", + "php": "^7.4||^8.1", + "phpseclib/phpseclib": "^2.0" + }, + "require-dev": { + "dxw/php-cs-fixer-config": "^2.0", + "kahlan/kahlan": "^5.2", + "vimeo/psalm": "^5.14" + }, + "type": "library", + "autoload": { + "psr-4": { + "Dxw\\CIDR\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "dxw", + "email": "team@govpress.com", + "homepage": "https://www.dxw.com" + } + ], + "description": "IP address matching with CIDR ranges", + "homepage": "https://github.com/dxw/cidr", + "support": { + "issues": "https://github.com/dxw/cidr/issues", + "source": "https://github.com/dxw/cidr/tree/v3.2.0" + }, + "time": "2023-08-14T10:14:13+00:00" + }, + { + "name": "dxw/result", + "version": "v1.0.6", + "source": { + "type": "git", + "url": "https://github.com/dxw/result.git", + "reference": "d554bb10f0cf74056ccd26526688e194652eef79" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/dxw/result/zipball/d554bb10f0cf74056ccd26526688e194652eef79", + "reference": "d554bb10f0cf74056ccd26526688e194652eef79", + "shasum": "" + }, + "require": { + "php": "^7.4||^8.1" + }, + "require-dev": { + "dxw/php-cs-fixer-config": "^2.1", + "kahlan/kahlan": "^5.2", + "vimeo/psalm": "^4" + }, + "type": "library", + "autoload": { + "psr-4": { + "Dxw\\Result\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mallory Adams", + "email": "mallory@dxw.com", + "homepage": "https://www.dxw.com/" + } + ], + "description": "Result values", + "homepage": "https://github.com/dxw/result", + "support": { + "issues": "https://github.com/dxw/result/issues", + "source": "https://github.com/dxw/result/tree/v1.0.6" + }, + "time": "2023-07-19T11:14:28+00:00" + }, + { + "name": "egulias/email-validator", + "version": "4.0.2", + "source": { + "type": "git", + "url": "https://github.com/egulias/EmailValidator.git", + "reference": "ebaaf5be6c0286928352e054f2d5125608e5405e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/ebaaf5be6c0286928352e054f2d5125608e5405e", + "reference": "ebaaf5be6c0286928352e054f2d5125608e5405e", + "shasum": "" + }, + "require": { + "doctrine/lexer": "^2.0 || ^3.0", + "php": ">=8.1", + "symfony/polyfill-intl-idn": "^1.26" + }, + "require-dev": { + "phpunit/phpunit": "^10.2", + "vimeo/psalm": "^5.12" + }, + "suggest": { + "ext-intl": "PHP Internationalization Libraries are required to use the SpoofChecking validation" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Egulias\\EmailValidator\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Eduardo Gulias Davis" + } + ], + "description": "A library for validating emails against several RFCs", + "homepage": "https://github.com/egulias/EmailValidator", + "keywords": [ + "email", + "emailvalidation", + "emailvalidator", + "validation", + "validator" + ], + "support": { + "issues": "https://github.com/egulias/EmailValidator/issues", + "source": "https://github.com/egulias/EmailValidator/tree/4.0.2" + }, + "funding": [ + { + "url": "https://github.com/egulias", + "type": "github" + } + ], + "time": "2023-10-06T06:47:41+00:00" + }, + { + "name": "ezyang/htmlpurifier", + "version": "v4.16.0", + "source": { + "type": "git", + "url": "https://github.com/ezyang/htmlpurifier.git", + "reference": "523407fb06eb9e5f3d59889b3978d5bfe94299c8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ezyang/htmlpurifier/zipball/523407fb06eb9e5f3d59889b3978d5bfe94299c8", + "reference": "523407fb06eb9e5f3d59889b3978d5bfe94299c8", + "shasum": "" + }, + "require": { + "php": "~5.6.0 || ~7.0.0 || ~7.1.0 || ~7.2.0 || ~7.3.0 || ~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0" + }, + "require-dev": { + "cerdic/css-tidy": "^1.7 || ^2.0", + "simpletest/simpletest": "dev-master" + }, + "suggest": { + "cerdic/css-tidy": "If you want to use the filter 'Filter.ExtractStyleBlocks'.", + "ext-bcmath": "Used for unit conversion and imagecrash protection", + "ext-iconv": "Converts text to and from non-UTF-8 encodings", + "ext-tidy": "Used for pretty-printing HTML" + }, + "type": "library", + "autoload": { + "files": [ + "library/HTMLPurifier.composer.php" + ], + "psr-0": { + "HTMLPurifier": "library/" + }, + "exclude-from-classmap": [ + "/library/HTMLPurifier/Language/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-2.1-or-later" + ], + "authors": [ + { + "name": "Edward Z. Yang", + "email": "admin@htmlpurifier.org", + "homepage": "http://ezyang.com" + } + ], + "description": "Standards compliant HTML filter written in PHP", + "homepage": "http://htmlpurifier.org/", + "keywords": [ + "html" + ], + "support": { + "issues": "https://github.com/ezyang/htmlpurifier/issues", + "source": "https://github.com/ezyang/htmlpurifier/tree/v4.16.0" + }, + "time": "2022-09-18T07:06:19+00:00" + }, + { + "name": "facade/ignition-contracts", + "version": "1.0.2", + "source": { + "type": "git", + "url": "https://github.com/facade/ignition-contracts.git", + "reference": "3c921a1cdba35b68a7f0ccffc6dffc1995b18267" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/facade/ignition-contracts/zipball/3c921a1cdba35b68a7f0ccffc6dffc1995b18267", + "reference": "3c921a1cdba35b68a7f0ccffc6dffc1995b18267", + "shasum": "" + }, + "require": { + "php": "^7.3|^8.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^v2.15.8", + "phpunit/phpunit": "^9.3.11", + "vimeo/psalm": "^3.17.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "Facade\\IgnitionContracts\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "homepage": "https://flareapp.io", + "role": "Developer" + } + ], + "description": "Solution contracts for Ignition", + "homepage": "https://github.com/facade/ignition-contracts", + "keywords": [ + "contracts", + "flare", + "ignition" + ], + "support": { + "issues": "https://github.com/facade/ignition-contracts/issues", + "source": "https://github.com/facade/ignition-contracts/tree/1.0.2" + }, + "time": "2020-10-16T08:27:54+00:00" + }, + { + "name": "fruitcake/php-cors", + "version": "v1.3.0", + "source": { + "type": "git", + "url": "https://github.com/fruitcake/php-cors.git", + "reference": "3d158f36e7875e2f040f37bc0573956240a5a38b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/fruitcake/php-cors/zipball/3d158f36e7875e2f040f37bc0573956240a5a38b", + "reference": "3d158f36e7875e2f040f37bc0573956240a5a38b", + "shasum": "" + }, + "require": { + "php": "^7.4|^8.0", + "symfony/http-foundation": "^4.4|^5.4|^6|^7" + }, + "require-dev": { + "phpstan/phpstan": "^1.4", + "phpunit/phpunit": "^9", + "squizlabs/php_codesniffer": "^3.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.2-dev" + } + }, + "autoload": { + "psr-4": { + "Fruitcake\\Cors\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fruitcake", + "homepage": "https://fruitcake.nl" + }, + { + "name": "Barryvdh", + "email": "barryvdh@gmail.com" + } + ], + "description": "Cross-origin resource sharing library for the Symfony HttpFoundation", + "homepage": "https://github.com/fruitcake/php-cors", + "keywords": [ + "cors", + "laravel", + "symfony" + ], + "support": { + "issues": "https://github.com/fruitcake/php-cors/issues", + "source": "https://github.com/fruitcake/php-cors/tree/v1.3.0" + }, + "funding": [ + { + "url": "https://fruitcake.nl", + "type": "custom" + }, + { + "url": "https://github.com/barryvdh", + "type": "github" + } + ], + "time": "2023-10-12T05:21:21+00:00" + }, + { + "name": "giggsey/libphonenumber-for-php", + "version": "8.13.24", + "source": { + "type": "git", + "url": "https://github.com/giggsey/libphonenumber-for-php.git", + "reference": "746ca6a565b9d4167c94c80824f43fa6fb463fd1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/giggsey/libphonenumber-for-php/zipball/746ca6a565b9d4167c94c80824f43fa6fb463fd1", + "reference": "746ca6a565b9d4167c94c80824f43fa6fb463fd1", + "shasum": "" + }, + "require": { + "giggsey/locale": "^1.7|^2.0", + "php": ">=5.3.2", + "symfony/polyfill-mbstring": "^1.17" + }, + "require-dev": { + "pear/pear-core-minimal": "^1.9", + "pear/pear_exception": "^1.0", + "pear/versioncontrol_git": "^0.5", + "phing/phing": "^2.7", + "php-coveralls/php-coveralls": "^1.0|^2.0", + "symfony/console": "^2.8|^3.0|^v4.4|^v5.2", + "symfony/phpunit-bridge": "^4.2 || ^5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "8.x-dev" + } + }, + "autoload": { + "psr-4": { + "libphonenumber\\": "src/" + }, + "exclude-from-classmap": [ + "/src/data/", + "/src/carrier/data/", + "/src/geocoding/data/", + "/src/timezone/data/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "Joshua Gigg", + "email": "giggsey@gmail.com", + "homepage": "https://giggsey.com/" + } + ], + "description": "PHP Port of Google's libphonenumber", + "homepage": "https://github.com/giggsey/libphonenumber-for-php", + "keywords": [ + "geocoding", + "geolocation", + "libphonenumber", + "mobile", + "phonenumber", + "validation" + ], + "support": { + "issues": "https://github.com/giggsey/libphonenumber-for-php/issues", + "source": "https://github.com/giggsey/libphonenumber-for-php" + }, + "time": "2023-10-31T08:12:54+00:00" + }, + { + "name": "giggsey/locale", + "version": "2.5", + "source": { + "type": "git", + "url": "https://github.com/giggsey/Locale.git", + "reference": "e6d4540109a01dd2bc7334cdc842d6a6a67cf239" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/giggsey/Locale/zipball/e6d4540109a01dd2bc7334cdc842d6a6a67cf239", + "reference": "e6d4540109a01dd2bc7334cdc842d6a6a67cf239", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "require-dev": { + "ext-json": "*", + "pear/pear-core-minimal": "^1.9", + "pear/pear_exception": "^1.0", + "pear/versioncontrol_git": "^0.5", + "phing/phing": "^2.7", + "php-coveralls/php-coveralls": "^2.0", + "phpunit/phpunit": "^8.5|^9.5", + "symfony/console": "^5.0|^6.0", + "symfony/filesystem": "^5.0|^6.0", + "symfony/finder": "^5.0|^6.0", + "symfony/process": "^5.0|^6.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Giggsey\\Locale\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Joshua Gigg", + "email": "giggsey@gmail.com", + "homepage": "https://giggsey.com/" + } + ], + "description": "Locale functions required by libphonenumber-for-php", + "support": { + "issues": "https://github.com/giggsey/Locale/issues", + "source": "https://github.com/giggsey/Locale/tree/2.5" + }, + "time": "2023-11-01T17:19:48+00:00" + }, + { + "name": "graham-campbell/result-type", + "version": "v1.1.1", + "source": { + "type": "git", + "url": "https://github.com/GrahamCampbell/Result-Type.git", + "reference": "672eff8cf1d6fe1ef09ca0f89c4b287d6a3eb831" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/672eff8cf1d6fe1ef09ca0f89c4b287d6a3eb831", + "reference": "672eff8cf1d6fe1ef09ca0f89c4b287d6a3eb831", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0", + "phpoption/phpoption": "^1.9.1" + }, + "require-dev": { + "phpunit/phpunit": "^8.5.32 || ^9.6.3 || ^10.0.12" + }, + "type": "library", + "autoload": { + "psr-4": { + "GrahamCampbell\\ResultType\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + } + ], + "description": "An Implementation Of The Result Type", + "keywords": [ + "Graham Campbell", + "GrahamCampbell", + "Result Type", + "Result-Type", + "result" + ], + "support": { + "issues": "https://github.com/GrahamCampbell/Result-Type/issues", + "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.1.1" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/graham-campbell/result-type", + "type": "tidelift" + } + ], + "time": "2023-02-25T20:23:15+00:00" + }, + { + "name": "guzzlehttp/guzzle", + "version": "7.8.0", + "source": { + "type": "git", + "url": "https://github.com/guzzle/guzzle.git", + "reference": "1110f66a6530a40fe7aea0378fe608ee2b2248f9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/1110f66a6530a40fe7aea0378fe608ee2b2248f9", + "reference": "1110f66a6530a40fe7aea0378fe608ee2b2248f9", + "shasum": "" + }, + "require": { + "ext-json": "*", + "guzzlehttp/promises": "^1.5.3 || ^2.0.1", + "guzzlehttp/psr7": "^1.9.1 || ^2.5.1", + "php": "^7.2.5 || ^8.0", + "psr/http-client": "^1.0", + "symfony/deprecation-contracts": "^2.2 || ^3.0" + }, + "provide": { + "psr/http-client-implementation": "1.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.1", + "ext-curl": "*", + "php-http/client-integration-tests": "dev-master#2c025848417c1135031fdf9c728ee53d0a7ceaee as 3.0.999", + "php-http/message-factory": "^1.1", + "phpunit/phpunit": "^8.5.29 || ^9.5.23", + "psr/log": "^1.1 || ^2.0 || ^3.0" + }, + "suggest": { + "ext-curl": "Required for CURL handler support", + "ext-intl": "Required for Internationalized Domain Name (IDN) support", + "psr/log": "Required for using the Log middleware" + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + } + }, + "autoload": { + "files": [ + "src/functions_include.php" + ], + "psr-4": { + "GuzzleHttp\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Jeremy Lindblom", + "email": "jeremeamia@gmail.com", + "homepage": "https://github.com/jeremeamia" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://github.com/sagikazarmark" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + } + ], + "description": "Guzzle is a PHP HTTP client library", + "keywords": [ + "client", + "curl", + "framework", + "http", + "http client", + "psr-18", + "psr-7", + "rest", + "web service" + ], + "support": { + "issues": "https://github.com/guzzle/guzzle/issues", + "source": "https://github.com/guzzle/guzzle/tree/7.8.0" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/guzzle", + "type": "tidelift" + } + ], + "time": "2023-08-27T10:20:53+00:00" + }, + { + "name": "guzzlehttp/promises", + "version": "2.0.1", + "source": { + "type": "git", + "url": "https://github.com/guzzle/promises.git", + "reference": "111166291a0f8130081195ac4556a5587d7f1b5d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/promises/zipball/111166291a0f8130081195ac4556a5587d7f1b5d", + "reference": "111166291a0f8130081195ac4556a5587d7f1b5d", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.1", + "phpunit/phpunit": "^8.5.29 || ^9.5.23" + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + } + }, + "autoload": { + "psr-4": { + "GuzzleHttp\\Promise\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + } + ], + "description": "Guzzle promises library", + "keywords": [ + "promise" + ], + "support": { + "issues": "https://github.com/guzzle/promises/issues", + "source": "https://github.com/guzzle/promises/tree/2.0.1" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/promises", + "type": "tidelift" + } + ], + "time": "2023-08-03T15:11:55+00:00" + }, + { + "name": "guzzlehttp/psr7", + "version": "2.6.1", + "source": { + "type": "git", + "url": "https://github.com/guzzle/psr7.git", + "reference": "be45764272e8873c72dbe3d2edcfdfcc3bc9f727" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/be45764272e8873c72dbe3d2edcfdfcc3bc9f727", + "reference": "be45764272e8873c72dbe3d2edcfdfcc3bc9f727", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0", + "psr/http-factory": "^1.0", + "psr/http-message": "^1.1 || ^2.0", + "ralouphie/getallheaders": "^3.0" + }, + "provide": { + "psr/http-factory-implementation": "1.0", + "psr/http-message-implementation": "1.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.1", + "http-interop/http-factory-tests": "^0.9", + "phpunit/phpunit": "^8.5.29 || ^9.5.23" + }, + "suggest": { + "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + } + }, + "autoload": { + "psr-4": { + "GuzzleHttp\\Psr7\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://github.com/sagikazarmark" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://sagikazarmark.hu" + } + ], + "description": "PSR-7 message implementation that also provides common utility methods", + "keywords": [ + "http", + "message", + "psr-7", + "request", + "response", + "stream", + "uri", + "url" + ], + "support": { + "issues": "https://github.com/guzzle/psr7/issues", + "source": "https://github.com/guzzle/psr7/tree/2.6.1" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/psr7", + "type": "tidelift" + } + ], + "time": "2023-08-27T10:13:57+00:00" + }, + { + "name": "guzzlehttp/uri-template", + "version": "v1.0.2", + "source": { + "type": "git", + "url": "https://github.com/guzzle/uri-template.git", + "reference": "61bf437fc2197f587f6857d3ff903a24f1731b5d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/uri-template/zipball/61bf437fc2197f587f6857d3ff903a24f1731b5d", + "reference": "61bf437fc2197f587f6857d3ff903a24f1731b5d", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0", + "symfony/polyfill-php80": "^1.17" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.1", + "phpunit/phpunit": "^8.5.19 || ^9.5.8", + "uri-template/tests": "1.0.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "GuzzleHttp\\UriTemplate\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + } + ], + "description": "A polyfill class for uri_template of PHP", + "keywords": [ + "guzzlehttp", + "uri-template" + ], + "support": { + "issues": "https://github.com/guzzle/uri-template/issues", + "source": "https://github.com/guzzle/uri-template/tree/v1.0.2" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/uri-template", + "type": "tidelift" + } + ], + "time": "2023-08-27T10:19:19+00:00" + }, + { + "name": "http-interop/http-factory-guzzle", + "version": "1.2.0", + "source": { + "type": "git", + "url": "https://github.com/http-interop/http-factory-guzzle.git", + "reference": "8f06e92b95405216b237521cc64c804dd44c4a81" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/http-interop/http-factory-guzzle/zipball/8f06e92b95405216b237521cc64c804dd44c4a81", + "reference": "8f06e92b95405216b237521cc64c804dd44c4a81", + "shasum": "" + }, + "require": { + "guzzlehttp/psr7": "^1.7||^2.0", + "php": ">=7.3", + "psr/http-factory": "^1.0" + }, + "provide": { + "psr/http-factory-implementation": "^1.0" + }, + "require-dev": { + "http-interop/http-factory-tests": "^0.9", + "phpunit/phpunit": "^9.5" + }, + "suggest": { + "guzzlehttp/psr7": "Includes an HTTP factory starting in version 2.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Http\\Factory\\Guzzle\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "An HTTP Factory using Guzzle PSR7", + "keywords": [ + "factory", + "http", + "psr-17", + "psr-7" + ], + "support": { + "issues": "https://github.com/http-interop/http-factory-guzzle/issues", + "source": "https://github.com/http-interop/http-factory-guzzle/tree/1.2.0" + }, + "time": "2021-07-21T13:50:14+00:00" + }, + { + "name": "jaybizzle/crawler-detect", + "version": "v1.2.116", + "source": { + "type": "git", + "url": "https://github.com/JayBizzle/Crawler-Detect.git", + "reference": "97e9fe30219e60092e107651abb379a38b342921" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/JayBizzle/Crawler-Detect/zipball/97e9fe30219e60092e107651abb379a38b342921", + "reference": "97e9fe30219e60092e107651abb379a38b342921", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.8|^5.5|^6.5|^9.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "Jaybizzle\\CrawlerDetect\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mark Beech", + "email": "m@rkbee.ch", + "role": "Developer" + } + ], + "description": "CrawlerDetect is a PHP class for detecting bots/crawlers/spiders via the user agent", + "homepage": "https://github.com/JayBizzle/Crawler-Detect/", + "keywords": [ + "crawler", + "crawler detect", + "crawler detector", + "crawlerdetect", + "php crawler detect" + ], + "support": { + "issues": "https://github.com/JayBizzle/Crawler-Detect/issues", + "source": "https://github.com/JayBizzle/Crawler-Detect/tree/v1.2.116" + }, + "time": "2023-07-21T15:49:49+00:00" + }, + { + "name": "jean85/pretty-package-versions", + "version": "2.0.5", + "source": { + "type": "git", + "url": "https://github.com/Jean85/pretty-package-versions.git", + "reference": "ae547e455a3d8babd07b96966b17d7fd21d9c6af" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Jean85/pretty-package-versions/zipball/ae547e455a3d8babd07b96966b17d7fd21d9c6af", + "reference": "ae547e455a3d8babd07b96966b17d7fd21d9c6af", + "shasum": "" + }, + "require": { + "composer-runtime-api": "^2.0.0", + "php": "^7.1|^8.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^2.17", + "jean85/composer-provided-replaced-stub-package": "^1.0", + "phpstan/phpstan": "^0.12.66", + "phpunit/phpunit": "^7.5|^8.5|^9.4", + "vimeo/psalm": "^4.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Jean85\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Alessandro Lai", + "email": "alessandro.lai85@gmail.com" + } + ], + "description": "A library to get pretty versions strings of installed dependencies", + "keywords": [ + "composer", + "package", + "release", + "versions" + ], + "support": { + "issues": "https://github.com/Jean85/pretty-package-versions/issues", + "source": "https://github.com/Jean85/pretty-package-versions/tree/2.0.5" + }, + "time": "2021-10-08T21:21:46+00:00" + }, + { + "name": "jenssegers/agent", + "version": "v2.6.4", + "source": { + "type": "git", + "url": "https://github.com/jenssegers/agent.git", + "reference": "daa11c43729510b3700bc34d414664966b03bffe" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/jenssegers/agent/zipball/daa11c43729510b3700bc34d414664966b03bffe", + "reference": "daa11c43729510b3700bc34d414664966b03bffe", + "shasum": "" + }, + "require": { + "jaybizzle/crawler-detect": "^1.2", + "mobiledetect/mobiledetectlib": "^2.7.6", + "php": ">=5.6" + }, + "require-dev": { + "php-coveralls/php-coveralls": "^2.1", + "phpunit/phpunit": "^5.0|^6.0|^7.0" + }, + "suggest": { + "illuminate/support": "Required for laravel service providers" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + }, + "laravel": { + "providers": [ + "Jenssegers\\Agent\\AgentServiceProvider" + ], + "aliases": { + "Agent": "Jenssegers\\Agent\\Facades\\Agent" + } + } + }, + "autoload": { + "psr-4": { + "Jenssegers\\Agent\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jens Segers", + "homepage": "https://jenssegers.com" + } + ], + "description": "Desktop/mobile user agent parser with support for Laravel, based on Mobiledetect", + "homepage": "https://github.com/jenssegers/agent", + "keywords": [ + "Agent", + "browser", + "desktop", + "laravel", + "mobile", + "platform", + "user agent", + "useragent" + ], + "support": { + "issues": "https://github.com/jenssegers/agent/issues", + "source": "https://github.com/jenssegers/agent/tree/v2.6.4" + }, + "funding": [ + { + "url": "https://github.com/jenssegers", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/jenssegers/agent", + "type": "tidelift" + } + ], + "time": "2020-06-13T08:05:20+00:00" + }, + { + "name": "kwaadpepper/enum", + "version": "2.1.3", + "source": { + "type": "git", + "url": "https://github.com/Kwaadpepper/enum.git", + "reference": "cc695e6a07ee57a1220942581c303842e186b22f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Kwaadpepper/enum/zipball/cc695e6a07ee57a1220942581c303842e186b22f", + "reference": "cc695e6a07ee57a1220942581c303842e186b22f", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "orchestra/testbench": "^6", + "phpunit/php-code-coverage": "^9", + "phpunit/phpunit": "~9", + "slevomat/coding-standard": "^7", + "squizlabs/php_codesniffer": "^3" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Kwaadpepper\\Enum\\EnumServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Kwaadpepper\\Enum\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jérémy Munsch", + "email": "github@jeremydev.ovh", + "homepage": "https://jeremydev.ovh" + } + ], + "description": "Enums to use for any project", + "homepage": "https://github.com/kwaadpepper/enum", + "keywords": [ + "enum", + "laravel" + ], + "support": { + "issues": "https://github.com/Kwaadpepper/enum/issues", + "source": "https://github.com/Kwaadpepper/enum/tree/2.1.3" + }, + "time": "2022-07-28T15:18:54+00:00" + }, + { + "name": "laravel/framework", + "version": "v10.30.1", + "source": { + "type": "git", + "url": "https://github.com/laravel/framework.git", + "reference": "7a2da50258c4d0f693b738d3f3c69b2693aea6c1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/framework/zipball/7a2da50258c4d0f693b738d3f3c69b2693aea6c1", + "reference": "7a2da50258c4d0f693b738d3f3c69b2693aea6c1", + "shasum": "" + }, + "require": { + "brick/math": "^0.9.3|^0.10.2|^0.11", + "composer-runtime-api": "^2.2", + "doctrine/inflector": "^2.0.5", + "dragonmantank/cron-expression": "^3.3.2", + "egulias/email-validator": "^3.2.1|^4.0", + "ext-ctype": "*", + "ext-filter": "*", + "ext-hash": "*", + "ext-mbstring": "*", + "ext-openssl": "*", + "ext-session": "*", + "ext-tokenizer": "*", + "fruitcake/php-cors": "^1.2", + "guzzlehttp/uri-template": "^1.0", + "laravel/prompts": "^0.1.9", + "laravel/serializable-closure": "^1.3", + "league/commonmark": "^2.2.1", + "league/flysystem": "^3.8.0", + "monolog/monolog": "^3.0", + "nesbot/carbon": "^2.67", + "nunomaduro/termwind": "^1.13", + "php": "^8.1", + "psr/container": "^1.1.1|^2.0.1", + "psr/log": "^1.0|^2.0|^3.0", + "psr/simple-cache": "^1.0|^2.0|^3.0", + "ramsey/uuid": "^4.7", + "symfony/console": "^6.2", + "symfony/error-handler": "^6.2", + "symfony/finder": "^6.2", + "symfony/http-foundation": "^6.3", + "symfony/http-kernel": "^6.2", + "symfony/mailer": "^6.2", + "symfony/mime": "^6.2", + "symfony/process": "^6.2", + "symfony/routing": "^6.2", + "symfony/uid": "^6.2", + "symfony/var-dumper": "^6.2", + "tijsverkoyen/css-to-inline-styles": "^2.2.5", + "vlucas/phpdotenv": "^5.4.1", + "voku/portable-ascii": "^2.0" + }, + "conflict": { + "tightenco/collect": "<5.5.33" + }, + "provide": { + "psr/container-implementation": "1.1|2.0", + "psr/simple-cache-implementation": "1.0|2.0|3.0" + }, + "replace": { + "illuminate/auth": "self.version", + "illuminate/broadcasting": "self.version", + "illuminate/bus": "self.version", + "illuminate/cache": "self.version", + "illuminate/collections": "self.version", + "illuminate/conditionable": "self.version", + "illuminate/config": "self.version", + "illuminate/console": "self.version", + "illuminate/container": "self.version", + "illuminate/contracts": "self.version", + "illuminate/cookie": "self.version", + "illuminate/database": "self.version", + "illuminate/encryption": "self.version", + "illuminate/events": "self.version", + "illuminate/filesystem": "self.version", + "illuminate/hashing": "self.version", + "illuminate/http": "self.version", + "illuminate/log": "self.version", + "illuminate/macroable": "self.version", + "illuminate/mail": "self.version", + "illuminate/notifications": "self.version", + "illuminate/pagination": "self.version", + "illuminate/pipeline": "self.version", + "illuminate/process": "self.version", + "illuminate/queue": "self.version", + "illuminate/redis": "self.version", + "illuminate/routing": "self.version", + "illuminate/session": "self.version", + "illuminate/support": "self.version", + "illuminate/testing": "self.version", + "illuminate/translation": "self.version", + "illuminate/validation": "self.version", + "illuminate/view": "self.version" + }, + "require-dev": { + "ably/ably-php": "^1.0", + "aws/aws-sdk-php": "^3.235.5", + "doctrine/dbal": "^3.5.1", + "ext-gmp": "*", + "fakerphp/faker": "^1.21", + "guzzlehttp/guzzle": "^7.5", + "league/flysystem-aws-s3-v3": "^3.0", + "league/flysystem-ftp": "^3.0", + "league/flysystem-path-prefixing": "^3.3", + "league/flysystem-read-only": "^3.3", + "league/flysystem-sftp-v3": "^3.0", + "mockery/mockery": "^1.5.1", + "nyholm/psr7": "^1.2", + "orchestra/testbench-core": "^8.12", + "pda/pheanstalk": "^4.0", + "phpstan/phpstan": "^1.4.7", + "phpunit/phpunit": "^10.0.7", + "predis/predis": "^2.0.2", + "symfony/cache": "^6.2", + "symfony/http-client": "^6.2.4", + "symfony/psr-http-message-bridge": "^2.0" + }, + "suggest": { + "ably/ably-php": "Required to use the Ably broadcast driver (^1.0).", + "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage, and SES mail driver (^3.235.5).", + "brianium/paratest": "Required to run tests in parallel (^6.0).", + "doctrine/dbal": "Required to rename columns and drop SQLite columns (^3.5.1).", + "ext-apcu": "Required to use the APC cache driver.", + "ext-fileinfo": "Required to use the Filesystem class.", + "ext-ftp": "Required to use the Flysystem FTP driver.", + "ext-gd": "Required to use Illuminate\\Http\\Testing\\FileFactory::image().", + "ext-memcached": "Required to use the memcache cache driver.", + "ext-pcntl": "Required to use all features of the queue worker and console signal trapping.", + "ext-pdo": "Required to use all database features.", + "ext-posix": "Required to use all features of the queue worker.", + "ext-redis": "Required to use the Redis cache and queue drivers (^4.0|^5.0).", + "fakerphp/faker": "Required to use the eloquent factory builder (^1.9.1).", + "filp/whoops": "Required for friendly error pages in development (^2.14.3).", + "guzzlehttp/guzzle": "Required to use the HTTP Client and the ping methods on schedules (^7.5).", + "laravel/tinker": "Required to use the tinker console command (^2.0).", + "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^3.0).", + "league/flysystem-ftp": "Required to use the Flysystem FTP driver (^3.0).", + "league/flysystem-path-prefixing": "Required to use the scoped driver (^3.3).", + "league/flysystem-read-only": "Required to use read-only disks (^3.3)", + "league/flysystem-sftp-v3": "Required to use the Flysystem SFTP driver (^3.0).", + "mockery/mockery": "Required to use mocking (^1.5.1).", + "nyholm/psr7": "Required to use PSR-7 bridging features (^1.2).", + "pda/pheanstalk": "Required to use the beanstalk queue driver (^4.0).", + "phpunit/phpunit": "Required to use assertions and run tests (^9.5.8|^10.0.7).", + "predis/predis": "Required to use the predis connector (^2.0.2).", + "psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).", + "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^6.0|^7.0).", + "symfony/cache": "Required to PSR-6 cache bridge (^6.2).", + "symfony/filesystem": "Required to enable support for relative symbolic links (^6.2).", + "symfony/http-client": "Required to enable support for the Symfony API mail transports (^6.2).", + "symfony/mailgun-mailer": "Required to enable support for the Mailgun mail transport (^6.2).", + "symfony/postmark-mailer": "Required to enable support for the Postmark mail transport (^6.2).", + "symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^2.0)." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "10.x-dev" + } + }, + "autoload": { + "files": [ + "src/Illuminate/Collections/helpers.php", + "src/Illuminate/Events/functions.php", + "src/Illuminate/Foundation/helpers.php", + "src/Illuminate/Support/helpers.php" + ], + "psr-4": { + "Illuminate\\": "src/Illuminate/", + "Illuminate\\Support\\": [ + "src/Illuminate/Macroable/", + "src/Illuminate/Collections/", + "src/Illuminate/Conditionable/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Laravel Framework.", + "homepage": "https://laravel.com", + "keywords": [ + "framework", + "laravel" + ], + "support": { + "issues": "https://github.com/laravel/framework/issues", + "source": "https://github.com/laravel/framework" + }, + "time": "2023-11-01T13:52:17+00:00" + }, + { + "name": "laravel/prompts", + "version": "v0.1.13", + "source": { + "type": "git", + "url": "https://github.com/laravel/prompts.git", + "reference": "e1379d8ead15edd6cc4369c22274345982edc95a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/prompts/zipball/e1379d8ead15edd6cc4369c22274345982edc95a", + "reference": "e1379d8ead15edd6cc4369c22274345982edc95a", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "illuminate/collections": "^10.0|^11.0", + "php": "^8.1", + "symfony/console": "^6.2|^7.0" + }, + "conflict": { + "illuminate/console": ">=10.17.0 <10.25.0", + "laravel/framework": ">=10.17.0 <10.25.0" + }, + "require-dev": { + "mockery/mockery": "^1.5", + "pestphp/pest": "^2.3", + "phpstan/phpstan": "^1.10", + "phpstan/phpstan-mockery": "^1.1" + }, + "suggest": { + "ext-pcntl": "Required for the spinner to be animated." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "0.1.x-dev" + } + }, + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Laravel\\Prompts\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "support": { + "issues": "https://github.com/laravel/prompts/issues", + "source": "https://github.com/laravel/prompts/tree/v0.1.13" + }, + "time": "2023-10-27T13:53:59+00:00" + }, + { + "name": "laravel/serializable-closure", + "version": "v1.3.2", + "source": { + "type": "git", + "url": "https://github.com/laravel/serializable-closure.git", + "reference": "076fe2cf128bd54b4341cdc6d49b95b34e101e4c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/076fe2cf128bd54b4341cdc6d49b95b34e101e4c", + "reference": "076fe2cf128bd54b4341cdc6d49b95b34e101e4c", + "shasum": "" + }, + "require": { + "php": "^7.3|^8.0" + }, + "require-dev": { + "nesbot/carbon": "^2.61", + "pestphp/pest": "^1.21.3", + "phpstan/phpstan": "^1.8.2", + "symfony/var-dumper": "^5.4.11" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Laravel\\SerializableClosure\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + }, + { + "name": "Nuno Maduro", + "email": "nuno@laravel.com" + } + ], + "description": "Laravel Serializable Closure provides an easy and secure way to serialize closures in PHP.", + "keywords": [ + "closure", + "laravel", + "serializable" + ], + "support": { + "issues": "https://github.com/laravel/serializable-closure/issues", + "source": "https://github.com/laravel/serializable-closure" + }, + "time": "2023-10-17T13:38:16+00:00" + }, + { + "name": "laravel/tinker", + "version": "v2.8.2", + "source": { + "type": "git", + "url": "https://github.com/laravel/tinker.git", + "reference": "b936d415b252b499e8c3b1f795cd4fc20f57e1f3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/tinker/zipball/b936d415b252b499e8c3b1f795cd4fc20f57e1f3", + "reference": "b936d415b252b499e8c3b1f795cd4fc20f57e1f3", + "shasum": "" + }, + "require": { + "illuminate/console": "^6.0|^7.0|^8.0|^9.0|^10.0", + "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0", + "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0", + "php": "^7.2.5|^8.0", + "psy/psysh": "^0.10.4|^0.11.1", + "symfony/var-dumper": "^4.3.4|^5.0|^6.0" + }, + "require-dev": { + "mockery/mockery": "~1.3.3|^1.4.2", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^8.5.8|^9.3.3" + }, + "suggest": { + "illuminate/database": "The Illuminate Database package (^6.0|^7.0|^8.0|^9.0|^10.0)." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.x-dev" + }, + "laravel": { + "providers": [ + "Laravel\\Tinker\\TinkerServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Laravel\\Tinker\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "Powerful REPL for the Laravel framework.", + "keywords": [ + "REPL", + "Tinker", + "laravel", + "psysh" + ], + "support": { + "issues": "https://github.com/laravel/tinker/issues", + "source": "https://github.com/laravel/tinker/tree/v2.8.2" + }, + "time": "2023-08-15T14:27:00+00:00" + }, + { + "name": "laravel/ui", + "version": "v4.2.2", + "source": { + "type": "git", + "url": "https://github.com/laravel/ui.git", + "reference": "a58ec468db4a340b33f3426c778784717a2c144b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/ui/zipball/a58ec468db4a340b33f3426c778784717a2c144b", + "reference": "a58ec468db4a340b33f3426c778784717a2c144b", + "shasum": "" + }, + "require": { + "illuminate/console": "^9.21|^10.0", + "illuminate/filesystem": "^9.21|^10.0", + "illuminate/support": "^9.21|^10.0", + "illuminate/validation": "^9.21|^10.0", + "php": "^8.0" + }, + "require-dev": { + "orchestra/testbench": "^7.0|^8.0", + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.x-dev" + }, + "laravel": { + "providers": [ + "Laravel\\Ui\\UiServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Laravel\\Ui\\": "src/", + "Illuminate\\Foundation\\Auth\\": "auth-backend/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "Laravel UI utilities and presets.", + "keywords": [ + "laravel", + "ui" + ], + "support": { + "source": "https://github.com/laravel/ui/tree/v4.2.2" + }, + "time": "2023-05-09T19:47:28+00:00" + }, + { + "name": "ldc/ldccrmv2client", + "version": "3.0.6", + "dist": { + "type": "path", + "url": "./app/Lib/vendor/crm-client-3.0.6", + "reference": "04d061dd7559bd6b7e45a4dd17d0c38486db23da" + }, + "require": { + "guzzlehttp/guzzle": "^7.4", + "kwaadpepper/enum": "^2.1", + "respect/validation": "^2.2" + }, + "require-dev": { + "orchestra/testbench": "^6.13", + "phpunit/phpunit": "~9.0", + "slevomat/coding-standard": "^7.0", + "squizlabs/php_codesniffer": "^3.5" + }, + "type": "library", + "autoload": { + "psr-4": { + "LDC\\LDCCRM\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { + "LDC\\LDCCRM\\Tests\\": "tests" + } + }, + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jérémy Munsch", + "email": "jeremy.munsch@ldc.fr", + "homepage": "https://jeremydev.ovh" + } + ], + "description": "LDC CRM Client V2", + "homepage": "https://github.com/kwaadpepper", + "keywords": [ + "CRM", + "Client", + "LDC", + "Laravel" + ], + "transport-options": { + "relative": true + } + }, + { + "name": "ldc/web-admin-secure-laravel", + "version": "2.0.2", + "source": { + "type": "git", + "url": "https://lab.s-web.fr/ldc-web/projets/ldc-web-admin-secure-laravel.git", + "reference": "79ac4f4261ad814cf62c75524534158167d02eb3" + }, + "dist": { + "type": "zip", + "url": "https://lab.s-web.fr/api/v4/projects/20/packages/composer/archives/ldc/web-admin-secure-laravel.zip?sha=79ac4f4261ad814cf62c75524534158167d02eb3", + "reference": "79ac4f4261ad814cf62c75524534158167d02eb3", + "shasum": "" + }, + "require": { + "dxw/cidr": "^3.1", + "illuminate/support": "~10", + "laravel/framework": "~10", + "php": ">=8.2", + "symfony/options-resolver": "^3.4.43|^4.4.30|^5.0.11|^6.0" + }, + "require-dev": { + "orchestra/testbench": "^8", + "phpunit/php-code-coverage": "^9", + "phpunit/phpunit": "^9", + "slevomat/coding-standard": "^7", + "squizlabs/php_codesniffer": "^3" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "LDC\\WebAdminSecureLaravel\\AdminSecureServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "LDC\\WebAdminSecureLaravel\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { + "LDC\\WebAdminSecureLaravel\\Tests\\": "tests" + } + }, + "scripts": { + "test": [ + "vendor/bin/phpunit" + ], + "post-autoload-dump": [ + "@php ./vendor/bin/testbench package:discover --ansi" + ] + }, + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Vincent BRIDIER", + "email": "vincent.bridier@ldc.fr", + "homepage": "https://www.ldc.fr" + } + ], + "description": "Restrict access to LDC Network" + }, + { + "name": "league/commonmark", + "version": "2.4.1", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/commonmark.git", + "reference": "3669d6d5f7a47a93c08ddff335e6d945481a1dd5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/3669d6d5f7a47a93c08ddff335e6d945481a1dd5", + "reference": "3669d6d5f7a47a93c08ddff335e6d945481a1dd5", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "league/config": "^1.1.1", + "php": "^7.4 || ^8.0", + "psr/event-dispatcher": "^1.0", + "symfony/deprecation-contracts": "^2.1 || ^3.0", + "symfony/polyfill-php80": "^1.16" + }, + "require-dev": { + "cebe/markdown": "^1.0", + "commonmark/cmark": "0.30.0", + "commonmark/commonmark.js": "0.30.0", + "composer/package-versions-deprecated": "^1.8", + "embed/embed": "^4.4", + "erusev/parsedown": "^1.0", + "ext-json": "*", + "github/gfm": "0.29.0", + "michelf/php-markdown": "^1.4 || ^2.0", + "nyholm/psr7": "^1.5", + "phpstan/phpstan": "^1.8.2", + "phpunit/phpunit": "^9.5.21", + "scrutinizer/ocular": "^1.8.1", + "symfony/finder": "^5.3 | ^6.0", + "symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0", + "unleashedtech/php-coding-standard": "^3.1.1", + "vimeo/psalm": "^4.24.0 || ^5.0.0" + }, + "suggest": { + "symfony/yaml": "v2.3+ required if using the Front Matter extension" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.5-dev" + } + }, + "autoload": { + "psr-4": { + "League\\CommonMark\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Colin O'Dell", + "email": "colinodell@gmail.com", + "homepage": "https://www.colinodell.com", + "role": "Lead Developer" + } + ], + "description": "Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and GitHub-Flavored Markdown (GFM)", + "homepage": "https://commonmark.thephpleague.com", + "keywords": [ + "commonmark", + "flavored", + "gfm", + "github", + "github-flavored", + "markdown", + "md", + "parser" + ], + "support": { + "docs": "https://commonmark.thephpleague.com/", + "forum": "https://github.com/thephpleague/commonmark/discussions", + "issues": "https://github.com/thephpleague/commonmark/issues", + "rss": "https://github.com/thephpleague/commonmark/releases.atom", + "source": "https://github.com/thephpleague/commonmark" + }, + "funding": [ + { + "url": "https://www.colinodell.com/sponsor", + "type": "custom" + }, + { + "url": "https://www.paypal.me/colinpodell/10.00", + "type": "custom" + }, + { + "url": "https://github.com/colinodell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/league/commonmark", + "type": "tidelift" + } + ], + "time": "2023-08-30T16:55:00+00:00" + }, + { + "name": "league/config", + "version": "v1.2.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/config.git", + "reference": "754b3604fb2984c71f4af4a9cbe7b57f346ec1f3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/config/zipball/754b3604fb2984c71f4af4a9cbe7b57f346ec1f3", + "reference": "754b3604fb2984c71f4af4a9cbe7b57f346ec1f3", + "shasum": "" + }, + "require": { + "dflydev/dot-access-data": "^3.0.1", + "nette/schema": "^1.2", + "php": "^7.4 || ^8.0" + }, + "require-dev": { + "phpstan/phpstan": "^1.8.2", + "phpunit/phpunit": "^9.5.5", + "scrutinizer/ocular": "^1.8.1", + "unleashedtech/php-coding-standard": "^3.1", + "vimeo/psalm": "^4.7.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.2-dev" + } + }, + "autoload": { + "psr-4": { + "League\\Config\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Colin O'Dell", + "email": "colinodell@gmail.com", + "homepage": "https://www.colinodell.com", + "role": "Lead Developer" + } + ], + "description": "Define configuration arrays with strict schemas and access values with dot notation", + "homepage": "https://config.thephpleague.com", + "keywords": [ + "array", + "config", + "configuration", + "dot", + "dot-access", + "nested", + "schema" + ], + "support": { + "docs": "https://config.thephpleague.com/", + "issues": "https://github.com/thephpleague/config/issues", + "rss": "https://github.com/thephpleague/config/releases.atom", + "source": "https://github.com/thephpleague/config" + }, + "funding": [ + { + "url": "https://www.colinodell.com/sponsor", + "type": "custom" + }, + { + "url": "https://www.paypal.me/colinpodell/10.00", + "type": "custom" + }, + { + "url": "https://github.com/colinodell", + "type": "github" + } + ], + "time": "2022-12-11T20:36:23+00:00" + }, + { + "name": "league/flysystem", + "version": "3.18.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/flysystem.git", + "reference": "015633a05aee22490495159237a5944091d8281e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/015633a05aee22490495159237a5944091d8281e", + "reference": "015633a05aee22490495159237a5944091d8281e", + "shasum": "" + }, + "require": { + "league/flysystem-local": "^3.0.0", + "league/mime-type-detection": "^1.0.0", + "php": "^8.0.2" + }, + "conflict": { + "async-aws/core": "<1.19.0", + "async-aws/s3": "<1.14.0", + "aws/aws-sdk-php": "3.209.31 || 3.210.0", + "guzzlehttp/guzzle": "<7.0", + "guzzlehttp/ringphp": "<1.1.1", + "phpseclib/phpseclib": "3.0.15", + "symfony/http-client": "<5.2" + }, + "require-dev": { + "async-aws/s3": "^1.5 || ^2.0", + "async-aws/simple-s3": "^1.1 || ^2.0", + "aws/aws-sdk-php": "^3.220.0", + "composer/semver": "^3.0", + "ext-fileinfo": "*", + "ext-ftp": "*", + "ext-zip": "*", + "friendsofphp/php-cs-fixer": "^3.5", + "google/cloud-storage": "^1.23", + "microsoft/azure-storage-blob": "^1.1", + "phpseclib/phpseclib": "^3.0.14", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^9.5.11|^10.0", + "sabre/dav": "^4.3.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "League\\Flysystem\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Frank de Jonge", + "email": "info@frankdejonge.nl" + } + ], + "description": "File storage abstraction for PHP", + "keywords": [ + "WebDAV", + "aws", + "cloud", + "file", + "files", + "filesystem", + "filesystems", + "ftp", + "s3", + "sftp", + "storage" + ], + "support": { + "issues": "https://github.com/thephpleague/flysystem/issues", + "source": "https://github.com/thephpleague/flysystem/tree/3.18.0" + }, + "funding": [ + { + "url": "https://ecologi.com/frankdejonge", + "type": "custom" + }, + { + "url": "https://github.com/frankdejonge", + "type": "github" + } + ], + "time": "2023-10-20T17:59:40+00:00" + }, + { + "name": "league/flysystem-local", + "version": "3.18.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/flysystem-local.git", + "reference": "e7381ef7643f658b87efb7dbe98fe538fb1bbf32" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/e7381ef7643f658b87efb7dbe98fe538fb1bbf32", + "reference": "e7381ef7643f658b87efb7dbe98fe538fb1bbf32", + "shasum": "" + }, + "require": { + "ext-fileinfo": "*", + "league/flysystem": "^3.0.0", + "league/mime-type-detection": "^1.0.0", + "php": "^8.0.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "League\\Flysystem\\Local\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Frank de Jonge", + "email": "info@frankdejonge.nl" + } + ], + "description": "Local filesystem adapter for Flysystem.", + "keywords": [ + "Flysystem", + "file", + "files", + "filesystem", + "local" + ], + "support": { + "issues": "https://github.com/thephpleague/flysystem-local/issues", + "source": "https://github.com/thephpleague/flysystem-local/tree/3.18.0" + }, + "funding": [ + { + "url": "https://ecologi.com/frankdejonge", + "type": "custom" + }, + { + "url": "https://github.com/frankdejonge", + "type": "github" + } + ], + "time": "2023-10-19T20:07:13+00:00" + }, + { + "name": "league/mime-type-detection", + "version": "1.14.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/mime-type-detection.git", + "reference": "b6a5854368533df0295c5761a0253656a2e52d9e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/b6a5854368533df0295c5761a0253656a2e52d9e", + "reference": "b6a5854368533df0295c5761a0253656a2e52d9e", + "shasum": "" + }, + "require": { + "ext-fileinfo": "*", + "php": "^7.4 || ^8.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.2", + "phpstan/phpstan": "^0.12.68", + "phpunit/phpunit": "^8.5.8 || ^9.3 || ^10.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "League\\MimeTypeDetection\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Frank de Jonge", + "email": "info@frankdejonge.nl" + } + ], + "description": "Mime-type detection for Flysystem", + "support": { + "issues": "https://github.com/thephpleague/mime-type-detection/issues", + "source": "https://github.com/thephpleague/mime-type-detection/tree/1.14.0" + }, + "funding": [ + { + "url": "https://github.com/frankdejonge", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/league/flysystem", + "type": "tidelift" + } + ], + "time": "2023-10-17T14:13:20+00:00" + }, + { + "name": "mews/purifier", + "version": "3.4.1", + "source": { + "type": "git", + "url": "https://github.com/mewebstudio/Purifier.git", + "reference": "48e7bddc18140412d7cd815b6eea2fc7a141c432" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/mewebstudio/Purifier/zipball/48e7bddc18140412d7cd815b6eea2fc7a141c432", + "reference": "48e7bddc18140412d7cd815b6eea2fc7a141c432", + "shasum": "" + }, + "require": { + "ezyang/htmlpurifier": "^4.16.0", + "illuminate/config": "^5.8|^6.0|^7.0|^8.0|^9.0|^10.0", + "illuminate/filesystem": "^5.8|^6.0|^7.0|^8.0|^9.0|^10.0", + "illuminate/support": "^5.8|^6.0|^7.0|^8.0|^9.0|^10.0", + "php": "^7.2|^8.0" + }, + "require-dev": { + "graham-campbell/testbench": "^3.2|^5.5.1", + "mockery/mockery": "^1.3.3", + "phpunit/phpunit": "^8.0|^9.0|^10.0" + }, + "suggest": { + "laravel/framework": "To test the Laravel bindings", + "laravel/lumen-framework": "To test the Lumen bindings" + }, + "type": "package", + "extra": { + "laravel": { + "providers": [ + "Mews\\Purifier\\PurifierServiceProvider" + ], + "aliases": { + "Purifier": "Mews\\Purifier\\Facades\\Purifier" + } + } + }, + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Mews\\Purifier\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Muharrem ERİN", + "email": "me@mewebstudio.com", + "homepage": "https://github.com/mewebstudio", + "role": "Developer" + } + ], + "description": "Laravel 5/6/7/8/9/10 HtmlPurifier Package", + "homepage": "https://github.com/mewebstudio/purifier", + "keywords": [ + "Laravel Purifier", + "Laravel Security", + "Purifier", + "htmlpurifier", + "laravel HtmlPurifier", + "security", + "xss" + ], + "support": { + "issues": "https://github.com/mewebstudio/Purifier/issues", + "source": "https://github.com/mewebstudio/Purifier/tree/3.4.1" + }, + "time": "2023-03-14T08:28:28+00:00" + }, + { + "name": "mobiledetect/mobiledetectlib", + "version": "2.8.43", + "source": { + "type": "git", + "url": "https://github.com/serbanghita/Mobile-Detect.git", + "reference": "fa96dd52859f03ee2dea002ddd75f8e4e7e9c9da" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/serbanghita/Mobile-Detect/zipball/fa96dd52859f03ee2dea002ddd75f8e4e7e9c9da", + "reference": "fa96dd52859f03ee2dea002ddd75f8e4e7e9c9da", + "shasum": "" + }, + "require": { + "php": ">=5.0.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.8.36" + }, + "type": "library", + "autoload": { + "psr-0": { + "Detection": "namespaced/" + }, + "classmap": [ + "Mobile_Detect.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Serban Ghita", + "email": "serbanghita@gmail.com", + "homepage": "http://mobiledetect.net", + "role": "Developer" + } + ], + "description": "Mobile_Detect is a lightweight PHP class for detecting mobile devices. It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.", + "homepage": "https://github.com/serbanghita/Mobile-Detect", + "keywords": [ + "detect mobile devices", + "mobile", + "mobile detect", + "mobile detector", + "php mobile detect" + ], + "support": { + "issues": "https://github.com/serbanghita/Mobile-Detect/issues", + "source": "https://github.com/serbanghita/Mobile-Detect/tree/2.8.43" + }, + "funding": [ + { + "url": "https://github.com/serbanghita", + "type": "github" + } + ], + "time": "2023-11-01T13:40:08+00:00" + }, + { + "name": "monolog/monolog", + "version": "3.5.0", + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "c915e2634718dbc8a4a15c61b0e62e7a44e14448" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/c915e2634718dbc8a4a15c61b0e62e7a44e14448", + "reference": "c915e2634718dbc8a4a15c61b0e62e7a44e14448", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "psr/log": "^2.0 || ^3.0" + }, + "provide": { + "psr/log-implementation": "3.0.0" + }, + "require-dev": { + "aws/aws-sdk-php": "^3.0", + "doctrine/couchdb": "~1.0@dev", + "elasticsearch/elasticsearch": "^7 || ^8", + "ext-json": "*", + "graylog2/gelf-php": "^1.4.2 || ^2.0", + "guzzlehttp/guzzle": "^7.4.5", + "guzzlehttp/psr7": "^2.2", + "mongodb/mongodb": "^1.8", + "php-amqplib/php-amqplib": "~2.4 || ^3", + "phpstan/phpstan": "^1.9", + "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-strict-rules": "^1.4", + "phpunit/phpunit": "^10.1", + "predis/predis": "^1.1 || ^2", + "ruflin/elastica": "^7", + "symfony/mailer": "^5.4 || ^6", + "symfony/mime": "^5.4 || ^6" + }, + "suggest": { + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "elasticsearch/elasticsearch": "Allow sending log messages to an Elasticsearch server via official client", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-curl": "Required to send log messages using the IFTTTHandler, the LogglyHandler, the SendGridHandler, the SlackWebhookHandler or the TelegramBotHandler", + "ext-mbstring": "Allow to work properly with unicode symbols", + "ext-mongodb": "Allow sending log messages to a MongoDB server (via driver)", + "ext-openssl": "Required to send log messages using SSL", + "ext-sockets": "Allow sending log messages to a Syslog server (via UDP driver)", + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "mongodb/mongodb": "Allow sending log messages to a MongoDB server (via library)", + "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "https://seld.be" + } + ], + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "homepage": "https://github.com/Seldaek/monolog", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "support": { + "issues": "https://github.com/Seldaek/monolog/issues", + "source": "https://github.com/Seldaek/monolog/tree/3.5.0" + }, + "funding": [ + { + "url": "https://github.com/Seldaek", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/monolog/monolog", + "type": "tidelift" + } + ], + "time": "2023-10-27T15:32:31+00:00" + }, + { + "name": "nesbot/carbon", + "version": "2.71.0", + "source": { + "type": "git", + "url": "https://github.com/briannesbitt/Carbon.git", + "reference": "98276233188583f2ff845a0f992a235472d9466a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/98276233188583f2ff845a0f992a235472d9466a", + "reference": "98276233188583f2ff845a0f992a235472d9466a", + "shasum": "" + }, + "require": { + "ext-json": "*", + "php": "^7.1.8 || ^8.0", + "psr/clock": "^1.0", + "symfony/polyfill-mbstring": "^1.0", + "symfony/polyfill-php80": "^1.16", + "symfony/translation": "^3.4 || ^4.0 || ^5.0 || ^6.0" + }, + "provide": { + "psr/clock-implementation": "1.0" + }, + "require-dev": { + "doctrine/dbal": "^2.0 || ^3.1.4", + "doctrine/orm": "^2.7", + "friendsofphp/php-cs-fixer": "^3.0", + "kylekatarnls/multi-tester": "^2.0", + "ondrejmirtes/better-reflection": "*", + "phpmd/phpmd": "^2.9", + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^0.12.99 || ^1.7.14", + "phpunit/php-file-iterator": "^2.0.5 || ^3.0.6", + "phpunit/phpunit": "^7.5.20 || ^8.5.26 || ^9.5.20", + "squizlabs/php_codesniffer": "^3.4" + }, + "bin": [ + "bin/carbon" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-3.x": "3.x-dev", + "dev-master": "2.x-dev" + }, + "laravel": { + "providers": [ + "Carbon\\Laravel\\ServiceProvider" + ] + }, + "phpstan": { + "includes": [ + "extension.neon" + ] + } + }, + "autoload": { + "psr-4": { + "Carbon\\": "src/Carbon/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Brian Nesbitt", + "email": "brian@nesbot.com", + "homepage": "https://markido.com" + }, + { + "name": "kylekatarnls", + "homepage": "https://github.com/kylekatarnls" + } + ], + "description": "An API extension for DateTime that supports 281 different languages.", + "homepage": "https://carbon.nesbot.com", + "keywords": [ + "date", + "datetime", + "time" + ], + "support": { + "docs": "https://carbon.nesbot.com/docs", + "issues": "https://github.com/briannesbitt/Carbon/issues", + "source": "https://github.com/briannesbitt/Carbon" + }, + "funding": [ + { + "url": "https://github.com/sponsors/kylekatarnls", + "type": "github" + }, + { + "url": "https://opencollective.com/Carbon#sponsor", + "type": "opencollective" + }, + { + "url": "https://tidelift.com/subscription/pkg/packagist-nesbot-carbon?utm_source=packagist-nesbot-carbon&utm_medium=referral&utm_campaign=readme", + "type": "tidelift" + } + ], + "time": "2023-09-25T11:31:05+00:00" + }, + { + "name": "nette/schema", + "version": "v1.2.5", + "source": { + "type": "git", + "url": "https://github.com/nette/schema.git", + "reference": "0462f0166e823aad657c9224d0f849ecac1ba10a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nette/schema/zipball/0462f0166e823aad657c9224d0f849ecac1ba10a", + "reference": "0462f0166e823aad657c9224d0f849ecac1ba10a", + "shasum": "" + }, + "require": { + "nette/utils": "^2.5.7 || ^3.1.5 || ^4.0", + "php": "7.1 - 8.3" + }, + "require-dev": { + "nette/tester": "^2.3 || ^2.4", + "phpstan/phpstan-nette": "^1.0", + "tracy/tracy": "^2.7" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.2-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause", + "GPL-2.0-only", + "GPL-3.0-only" + ], + "authors": [ + { + "name": "David Grudl", + "homepage": "https://davidgrudl.com" + }, + { + "name": "Nette Community", + "homepage": "https://nette.org/contributors" + } + ], + "description": "📐 Nette Schema: validating data structures against a given Schema.", + "homepage": "https://nette.org", + "keywords": [ + "config", + "nette" + ], + "support": { + "issues": "https://github.com/nette/schema/issues", + "source": "https://github.com/nette/schema/tree/v1.2.5" + }, + "time": "2023-10-05T20:37:59+00:00" + }, + { + "name": "nette/utils", + "version": "v4.0.3", + "source": { + "type": "git", + "url": "https://github.com/nette/utils.git", + "reference": "a9d127dd6a203ce6d255b2e2db49759f7506e015" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nette/utils/zipball/a9d127dd6a203ce6d255b2e2db49759f7506e015", + "reference": "a9d127dd6a203ce6d255b2e2db49759f7506e015", + "shasum": "" + }, + "require": { + "php": ">=8.0 <8.4" + }, + "conflict": { + "nette/finder": "<3", + "nette/schema": "<1.2.2" + }, + "require-dev": { + "jetbrains/phpstorm-attributes": "dev-master", + "nette/tester": "^2.5", + "phpstan/phpstan": "^1.0", + "tracy/tracy": "^2.9" + }, + "suggest": { + "ext-gd": "to use Image", + "ext-iconv": "to use Strings::webalize(), toAscii(), chr() and reverse()", + "ext-intl": "to use Strings::webalize(), toAscii(), normalize() and compare()", + "ext-json": "to use Nette\\Utils\\Json", + "ext-mbstring": "to use Strings::lower() etc...", + "ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause", + "GPL-2.0-only", + "GPL-3.0-only" + ], + "authors": [ + { + "name": "David Grudl", + "homepage": "https://davidgrudl.com" + }, + { + "name": "Nette Community", + "homepage": "https://nette.org/contributors" + } + ], + "description": "🛠 Nette Utils: lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.", + "homepage": "https://nette.org", + "keywords": [ + "array", + "core", + "datetime", + "images", + "json", + "nette", + "paginator", + "password", + "slugify", + "string", + "unicode", + "utf-8", + "utility", + "validation" + ], + "support": { + "issues": "https://github.com/nette/utils/issues", + "source": "https://github.com/nette/utils/tree/v4.0.3" + }, + "time": "2023-10-29T21:02:13+00:00" + }, + { + "name": "nikic/php-parser", + "version": "v4.17.1", + "source": { + "type": "git", + "url": "https://github.com/nikic/PHP-Parser.git", + "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", + "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", + "shasum": "" + }, + "require": { + "ext-tokenizer": "*", + "php": ">=7.0" + }, + "require-dev": { + "ircmaxell/php-yacc": "^0.0.7", + "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" + }, + "bin": [ + "bin/php-parse" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.9-dev" + } + }, + "autoload": { + "psr-4": { + "PhpParser\\": "lib/PhpParser" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Nikita Popov" + } + ], + "description": "A PHP parser written in PHP", + "keywords": [ + "parser", + "php" + ], + "support": { + "issues": "https://github.com/nikic/PHP-Parser/issues", + "source": "https://github.com/nikic/PHP-Parser/tree/v4.17.1" + }, + "time": "2023-08-13T19:53:39+00:00" + }, + { + "name": "nunomaduro/termwind", + "version": "v1.15.1", + "source": { + "type": "git", + "url": "https://github.com/nunomaduro/termwind.git", + "reference": "8ab0b32c8caa4a2e09700ea32925441385e4a5dc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nunomaduro/termwind/zipball/8ab0b32c8caa4a2e09700ea32925441385e4a5dc", + "reference": "8ab0b32c8caa4a2e09700ea32925441385e4a5dc", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "php": "^8.0", + "symfony/console": "^5.3.0|^6.0.0" + }, + "require-dev": { + "ergebnis/phpstan-rules": "^1.0.", + "illuminate/console": "^8.0|^9.0", + "illuminate/support": "^8.0|^9.0", + "laravel/pint": "^1.0.0", + "pestphp/pest": "^1.21.0", + "pestphp/pest-plugin-mock": "^1.0", + "phpstan/phpstan": "^1.4.6", + "phpstan/phpstan-strict-rules": "^1.1.0", + "symfony/var-dumper": "^5.2.7|^6.0.0", + "thecodingmachine/phpstan-strict-rules": "^1.0.0" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Termwind\\Laravel\\TermwindServiceProvider" + ] + } + }, + "autoload": { + "files": [ + "src/Functions.php" + ], + "psr-4": { + "Termwind\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nuno Maduro", + "email": "enunomaduro@gmail.com" + } + ], + "description": "Its like Tailwind CSS, but for the console.", + "keywords": [ + "cli", + "console", + "css", + "package", + "php", + "style" + ], + "support": { + "issues": "https://github.com/nunomaduro/termwind/issues", + "source": "https://github.com/nunomaduro/termwind/tree/v1.15.1" + }, + "funding": [ + { + "url": "https://www.paypal.com/paypalme/enunomaduro", + "type": "custom" + }, + { + "url": "https://github.com/nunomaduro", + "type": "github" + }, + { + "url": "https://github.com/xiCO2k", + "type": "github" + } + ], + "time": "2023-02-08T01:06:31+00:00" + }, + { + "name": "nyholm/psr7", + "version": "1.8.0", + "source": { + "type": "git", + "url": "https://github.com/Nyholm/psr7.git", + "reference": "3cb4d163b58589e47b35103e8e5e6a6a475b47be" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Nyholm/psr7/zipball/3cb4d163b58589e47b35103e8e5e6a6a475b47be", + "reference": "3cb4d163b58589e47b35103e8e5e6a6a475b47be", + "shasum": "" + }, + "require": { + "php": ">=7.2", + "psr/http-factory": "^1.0", + "psr/http-message": "^1.1 || ^2.0" + }, + "provide": { + "php-http/message-factory-implementation": "1.0", + "psr/http-factory-implementation": "1.0", + "psr/http-message-implementation": "1.0" + }, + "require-dev": { + "http-interop/http-factory-tests": "^0.9", + "php-http/message-factory": "^1.0", + "php-http/psr7-integration-tests": "^1.0", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.4", + "symfony/error-handler": "^4.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.8-dev" + } + }, + "autoload": { + "psr-4": { + "Nyholm\\Psr7\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com" + }, + { + "name": "Martijn van der Ven", + "email": "martijn@vanderven.se" + } + ], + "description": "A fast PHP7 implementation of PSR-7", + "homepage": "https://tnyholm.se", + "keywords": [ + "psr-17", + "psr-7" + ], + "support": { + "issues": "https://github.com/Nyholm/psr7/issues", + "source": "https://github.com/Nyholm/psr7/tree/1.8.0" + }, + "funding": [ + { + "url": "https://github.com/Zegnat", + "type": "github" + }, + { + "url": "https://github.com/nyholm", + "type": "github" + } + ], + "time": "2023-05-02T11:26:24+00:00" + }, + { + "name": "php-http/client-common", + "version": "2.7.0", + "source": { + "type": "git", + "url": "https://github.com/php-http/client-common.git", + "reference": "880509727a447474d2a71b7d7fa5d268ddd3db4b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-http/client-common/zipball/880509727a447474d2a71b7d7fa5d268ddd3db4b", + "reference": "880509727a447474d2a71b7d7fa5d268ddd3db4b", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0", + "php-http/httplug": "^2.0", + "php-http/message": "^1.6", + "psr/http-client": "^1.0", + "psr/http-factory": "^1.0", + "psr/http-message": "^1.0 || ^2.0", + "symfony/options-resolver": "~4.0.15 || ~4.1.9 || ^4.2.1 || ^5.0 || ^6.0", + "symfony/polyfill-php80": "^1.17" + }, + "require-dev": { + "doctrine/instantiator": "^1.1", + "guzzlehttp/psr7": "^1.4", + "nyholm/psr7": "^1.2", + "phpspec/phpspec": "^5.1 || ^6.3 || ^7.1", + "phpspec/prophecy": "^1.10.2", + "phpunit/phpunit": "^7.5.20 || ^8.5.33 || ^9.6.7" + }, + "suggest": { + "ext-json": "To detect JSON responses with the ContentTypePlugin", + "ext-libxml": "To detect XML responses with the ContentTypePlugin", + "php-http/cache-plugin": "PSR-6 Cache plugin", + "php-http/logger-plugin": "PSR-3 Logger plugin", + "php-http/stopwatch-plugin": "Symfony Stopwatch plugin" + }, + "type": "library", + "autoload": { + "psr-4": { + "Http\\Client\\Common\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com" + } + ], + "description": "Common HTTP Client implementations and tools for HTTPlug", + "homepage": "http://httplug.io", + "keywords": [ + "client", + "common", + "http", + "httplug" + ], + "support": { + "issues": "https://github.com/php-http/client-common/issues", + "source": "https://github.com/php-http/client-common/tree/2.7.0" + }, + "time": "2023-05-17T06:46:59+00:00" + }, + { + "name": "php-http/discovery", + "version": "1.19.1", + "source": { + "type": "git", + "url": "https://github.com/php-http/discovery.git", + "reference": "57f3de01d32085fea20865f9b16fb0e69347c39e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-http/discovery/zipball/57f3de01d32085fea20865f9b16fb0e69347c39e", + "reference": "57f3de01d32085fea20865f9b16fb0e69347c39e", + "shasum": "" + }, + "require": { + "composer-plugin-api": "^1.0|^2.0", + "php": "^7.1 || ^8.0" + }, + "conflict": { + "nyholm/psr7": "<1.0", + "zendframework/zend-diactoros": "*" + }, + "provide": { + "php-http/async-client-implementation": "*", + "php-http/client-implementation": "*", + "psr/http-client-implementation": "*", + "psr/http-factory-implementation": "*", + "psr/http-message-implementation": "*" + }, + "require-dev": { + "composer/composer": "^1.0.2|^2.0", + "graham-campbell/phpspec-skip-example-extension": "^5.0", + "php-http/httplug": "^1.0 || ^2.0", + "php-http/message-factory": "^1.0", + "phpspec/phpspec": "^5.1 || ^6.1 || ^7.3", + "symfony/phpunit-bridge": "^6.2" + }, + "type": "composer-plugin", + "extra": { + "class": "Http\\Discovery\\Composer\\Plugin", + "plugin-optional": true + }, + "autoload": { + "psr-4": { + "Http\\Discovery\\": "src/" + }, + "exclude-from-classmap": [ + "src/Composer/Plugin.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com" + } + ], + "description": "Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations", + "homepage": "http://php-http.org", + "keywords": [ + "adapter", + "client", + "discovery", + "factory", + "http", + "message", + "psr17", + "psr7" + ], + "support": { + "issues": "https://github.com/php-http/discovery/issues", + "source": "https://github.com/php-http/discovery/tree/1.19.1" + }, + "time": "2023-07-11T07:02:26+00:00" + }, + { + "name": "php-http/httplug", + "version": "2.4.0", + "source": { + "type": "git", + "url": "https://github.com/php-http/httplug.git", + "reference": "625ad742c360c8ac580fcc647a1541d29e257f67" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-http/httplug/zipball/625ad742c360c8ac580fcc647a1541d29e257f67", + "reference": "625ad742c360c8ac580fcc647a1541d29e257f67", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0", + "php-http/promise": "^1.1", + "psr/http-client": "^1.0", + "psr/http-message": "^1.0 || ^2.0" + }, + "require-dev": { + "friends-of-phpspec/phpspec-code-coverage": "^4.1 || ^5.0 || ^6.0", + "phpspec/phpspec": "^5.1 || ^6.0 || ^7.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Http\\Client\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Eric GELOEN", + "email": "geloen.eric@gmail.com" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://sagikazarmark.hu" + } + ], + "description": "HTTPlug, the HTTP client abstraction for PHP", + "homepage": "http://httplug.io", + "keywords": [ + "client", + "http" + ], + "support": { + "issues": "https://github.com/php-http/httplug/issues", + "source": "https://github.com/php-http/httplug/tree/2.4.0" + }, + "time": "2023-04-14T15:10:03+00:00" + }, + { + "name": "php-http/message", + "version": "1.16.0", + "source": { + "type": "git", + "url": "https://github.com/php-http/message.git", + "reference": "47a14338bf4ebd67d317bf1144253d7db4ab55fd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-http/message/zipball/47a14338bf4ebd67d317bf1144253d7db4ab55fd", + "reference": "47a14338bf4ebd67d317bf1144253d7db4ab55fd", + "shasum": "" + }, + "require": { + "clue/stream-filter": "^1.5", + "php": "^7.2 || ^8.0", + "psr/http-message": "^1.1 || ^2.0" + }, + "provide": { + "php-http/message-factory-implementation": "1.0" + }, + "require-dev": { + "ergebnis/composer-normalize": "^2.6", + "ext-zlib": "*", + "guzzlehttp/psr7": "^1.0 || ^2.0", + "laminas/laminas-diactoros": "^2.0 || ^3.0", + "php-http/message-factory": "^1.0.2", + "phpspec/phpspec": "^5.1 || ^6.3 || ^7.1", + "slim/slim": "^3.0" + }, + "suggest": { + "ext-zlib": "Used with compressor/decompressor streams", + "guzzlehttp/psr7": "Used with Guzzle PSR-7 Factories", + "laminas/laminas-diactoros": "Used with Diactoros Factories", + "slim/slim": "Used with Slim Framework PSR-7 implementation" + }, + "type": "library", + "autoload": { + "files": [ + "src/filters.php" + ], + "psr-4": { + "Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com" + } + ], + "description": "HTTP Message related tools", + "homepage": "http://php-http.org", + "keywords": [ + "http", + "message", + "psr-7" + ], + "support": { + "issues": "https://github.com/php-http/message/issues", + "source": "https://github.com/php-http/message/tree/1.16.0" + }, + "time": "2023-05-17T06:43:38+00:00" + }, + { + "name": "php-http/message-factory", + "version": "1.1.0", + "source": { + "type": "git", + "url": "https://github.com/php-http/message-factory.git", + "reference": "4d8778e1c7d405cbb471574821c1ff5b68cc8f57" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-http/message-factory/zipball/4d8778e1c7d405cbb471574821c1ff5b68cc8f57", + "reference": "4d8778e1c7d405cbb471574821c1ff5b68cc8f57", + "shasum": "" + }, + "require": { + "php": ">=5.4", + "psr/http-message": "^1.0 || ^2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com" + } + ], + "description": "Factory interfaces for PSR-7 HTTP Message", + "homepage": "http://php-http.org", + "keywords": [ + "factory", + "http", + "message", + "stream", + "uri" + ], + "support": { + "issues": "https://github.com/php-http/message-factory/issues", + "source": "https://github.com/php-http/message-factory/tree/1.1.0" + }, + "abandoned": "psr/http-factory", + "time": "2023-04-14T14:16:17+00:00" + }, + { + "name": "php-http/promise", + "version": "1.2.0", + "source": { + "type": "git", + "url": "https://github.com/php-http/promise.git", + "reference": "ef4905bfb492ff389eb7f12e26925a0f20073050" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-http/promise/zipball/ef4905bfb492ff389eb7f12e26925a0f20073050", + "reference": "ef4905bfb492ff389eb7f12e26925a0f20073050", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "friends-of-phpspec/phpspec-code-coverage": "^4.3.2 || ^6.3", + "phpspec/phpspec": "^5.1.2 || ^6.2 || ^7.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "Http\\Promise\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Joel Wurtz", + "email": "joel.wurtz@gmail.com" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com" + } + ], + "description": "Promise used for asynchronous HTTP requests", + "homepage": "http://httplug.io", + "keywords": [ + "promise" + ], + "support": { + "issues": "https://github.com/php-http/promise/issues", + "source": "https://github.com/php-http/promise/tree/1.2.0" + }, + "time": "2023-10-24T09:20:26+00:00" + }, + { + "name": "phpoption/phpoption", + "version": "1.9.1", + "source": { + "type": "git", + "url": "https://github.com/schmittjoh/php-option.git", + "reference": "dd3a383e599f49777d8b628dadbb90cae435b87e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/dd3a383e599f49777d8b628dadbb90cae435b87e", + "reference": "dd3a383e599f49777d8b628dadbb90cae435b87e", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.2", + "phpunit/phpunit": "^8.5.32 || ^9.6.3 || ^10.0.12" + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": true + }, + "branch-alias": { + "dev-master": "1.9-dev" + } + }, + "autoload": { + "psr-4": { + "PhpOption\\": "src/PhpOption/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "Johannes M. Schmitt", + "email": "schmittjoh@gmail.com", + "homepage": "https://github.com/schmittjoh" + }, + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + } + ], + "description": "Option Type for PHP", + "keywords": [ + "language", + "option", + "php", + "type" + ], + "support": { + "issues": "https://github.com/schmittjoh/php-option/issues", + "source": "https://github.com/schmittjoh/php-option/tree/1.9.1" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpoption/phpoption", + "type": "tidelift" + } + ], + "time": "2023-02-25T19:38:58+00:00" + }, + { + "name": "phpseclib/phpseclib", + "version": "2.0.45", + "source": { + "type": "git", + "url": "https://github.com/phpseclib/phpseclib.git", + "reference": "28d8f438a0064c9de80857e3270d071495544640" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/28d8f438a0064c9de80857e3270d071495544640", + "reference": "28d8f438a0064c9de80857e3270d071495544640", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "phing/phing": "~2.7", + "phpunit/phpunit": "^4.8.35|^5.7|^6.0|^9.4", + "squizlabs/php_codesniffer": "~2.0" + }, + "suggest": { + "ext-gmp": "Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations.", + "ext-libsodium": "SSH2/SFTP can make use of some algorithms provided by the libsodium-php extension.", + "ext-mcrypt": "Install the Mcrypt extension in order to speed up a few other cryptographic operations.", + "ext-openssl": "Install the OpenSSL extension in order to speed up a wide variety of cryptographic operations.", + "ext-xml": "Install the XML extension to load XML formatted public keys." + }, + "type": "library", + "autoload": { + "files": [ + "phpseclib/bootstrap.php" + ], + "psr-4": { + "phpseclib\\": "phpseclib/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jim Wigginton", + "email": "terrafrost@php.net", + "role": "Lead Developer" + }, + { + "name": "Patrick Monnerat", + "email": "pm@datasphere.ch", + "role": "Developer" + }, + { + "name": "Andreas Fischer", + "email": "bantu@phpbb.com", + "role": "Developer" + }, + { + "name": "Hans-Jürgen Petrich", + "email": "petrich@tronic-media.com", + "role": "Developer" + }, + { + "name": "Graham Campbell", + "email": "graham@alt-three.com", + "role": "Developer" + } + ], + "description": "PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.", + "homepage": "http://phpseclib.sourceforge.net", + "keywords": [ + "BigInteger", + "aes", + "asn.1", + "asn1", + "blowfish", + "crypto", + "cryptography", + "encryption", + "rsa", + "security", + "sftp", + "signature", + "signing", + "ssh", + "twofish", + "x.509", + "x509" + ], + "support": { + "issues": "https://github.com/phpseclib/phpseclib/issues", + "source": "https://github.com/phpseclib/phpseclib/tree/2.0.45" + }, + "funding": [ + { + "url": "https://github.com/terrafrost", + "type": "github" + }, + { + "url": "https://www.patreon.com/phpseclib", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpseclib/phpseclib", + "type": "tidelift" + } + ], + "time": "2023-09-15T20:55:47+00:00" + }, + { + "name": "propaganistas/laravel-phone", + "version": "5.0.3", + "source": { + "type": "git", + "url": "https://github.com/Propaganistas/Laravel-Phone.git", + "reference": "32aa5ed857a9a6c1a80a0ebdbff4676f2f8e37cc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Propaganistas/Laravel-Phone/zipball/32aa5ed857a9a6c1a80a0ebdbff4676f2f8e37cc", + "reference": "32aa5ed857a9a6c1a80a0ebdbff4676f2f8e37cc", + "shasum": "" + }, + "require": { + "giggsey/libphonenumber-for-php": "^7.0|^8.0", + "illuminate/contracts": "^9.0|^10.0", + "illuminate/support": "^9.0|^10.0", + "illuminate/validation": "^9.0|^10.0", + "php": "^8.0" + }, + "require-dev": { + "laravel/pint": "^1.4", + "nunomaduro/larastan": "^2.4", + "orchestra/testbench": "*", + "phpunit/phpunit": "^9.5.10" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Propaganistas\\LaravelPhone\\PhoneServiceProvider" + ] + } + }, + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Propaganistas\\LaravelPhone\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Propaganistas", + "email": "Propaganistas@users.noreply.github.com" + } + ], + "description": "Adds phone number functionality to Laravel based on Google's libphonenumber API.", + "keywords": [ + "laravel", + "libphonenumber", + "phone", + "validation" + ], + "support": { + "issues": "https://github.com/Propaganistas/Laravel-Phone/issues", + "source": "https://github.com/Propaganistas/Laravel-Phone/tree/5.0.3" + }, + "funding": [ + { + "url": "https://github.com/Propaganistas", + "type": "github" + } + ], + "time": "2023-02-04T16:13:42+00:00" + }, + { + "name": "psr/clock", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/clock.git", + "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", + "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", + "shasum": "" + }, + "require": { + "php": "^7.0 || ^8.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Psr\\Clock\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for reading the clock.", + "homepage": "https://github.com/php-fig/clock", + "keywords": [ + "clock", + "now", + "psr", + "psr-20", + "time" + ], + "support": { + "issues": "https://github.com/php-fig/clock/issues", + "source": "https://github.com/php-fig/clock/tree/1.0.0" + }, + "time": "2022-11-25T14:36:26+00:00" + }, + { + "name": "psr/container", + "version": "2.0.2", + "source": { + "type": "git", + "url": "https://github.com/php-fig/container.git", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "shasum": "" + }, + "require": { + "php": ">=7.4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Container\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", + "keywords": [ + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" + ], + "support": { + "issues": "https://github.com/php-fig/container/issues", + "source": "https://github.com/php-fig/container/tree/2.0.2" + }, + "time": "2021-11-05T16:47:00+00:00" + }, + { + "name": "psr/event-dispatcher", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/event-dispatcher.git", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0", + "shasum": "" + }, + "require": { + "php": ">=7.2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\EventDispatcher\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Standard interfaces for event handling.", + "keywords": [ + "events", + "psr", + "psr-14" + ], + "support": { + "issues": "https://github.com/php-fig/event-dispatcher/issues", + "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0" + }, + "time": "2019-01-08T18:20:26+00:00" + }, + { + "name": "psr/http-client", + "version": "1.0.3", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-client.git", + "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-client/zipball/bb5906edc1c324c9a05aa0873d40117941e5fa90", + "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90", + "shasum": "" + }, + "require": { + "php": "^7.0 || ^8.0", + "psr/http-message": "^1.0 || ^2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Client\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP clients", + "homepage": "https://github.com/php-fig/http-client", + "keywords": [ + "http", + "http-client", + "psr", + "psr-18" + ], + "support": { + "source": "https://github.com/php-fig/http-client" + }, + "time": "2023-09-23T14:17:50+00:00" + }, + { + "name": "psr/http-factory", + "version": "1.0.2", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-factory.git", + "reference": "e616d01114759c4c489f93b099585439f795fe35" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-factory/zipball/e616d01114759c4c489f93b099585439f795fe35", + "reference": "e616d01114759c4c489f93b099585439f795fe35", + "shasum": "" + }, + "require": { + "php": ">=7.0.0", + "psr/http-message": "^1.0 || ^2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interfaces for PSR-7 HTTP message factories", + "keywords": [ + "factory", + "http", + "message", + "psr", + "psr-17", + "psr-7", + "request", + "response" + ], + "support": { + "source": "https://github.com/php-fig/http-factory/tree/1.0.2" + }, + "time": "2023-04-10T20:10:41+00:00" + }, + { + "name": "psr/http-message", + "version": "2.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-message.git", + "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/402d35bcb92c70c026d1a6a9883f06b2ead23d71", + "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP messages", + "homepage": "https://github.com/php-fig/http-message", + "keywords": [ + "http", + "http-message", + "psr", + "psr-7", + "request", + "response" + ], + "support": { + "source": "https://github.com/php-fig/http-message/tree/2.0" + }, + "time": "2023-04-04T09:54:51+00:00" + }, + { + "name": "psr/log", + "version": "3.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/log.git", + "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001", + "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001", + "shasum": "" + }, + "require": { + "php": ">=8.0.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Log\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", + "keywords": [ + "log", + "psr", + "psr-3" + ], + "support": { + "source": "https://github.com/php-fig/log/tree/3.0.0" + }, + "time": "2021-07-14T16:46:02+00:00" + }, + { + "name": "psr/simple-cache", + "version": "3.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/simple-cache.git", + "reference": "764e0b3939f5ca87cb904f570ef9be2d78a07865" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/764e0b3939f5ca87cb904f570ef9be2d78a07865", + "reference": "764e0b3939f5ca87cb904f570ef9be2d78a07865", + "shasum": "" + }, + "require": { + "php": ">=8.0.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\SimpleCache\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interfaces for simple caching", + "keywords": [ + "cache", + "caching", + "psr", + "psr-16", + "simple-cache" + ], + "support": { + "source": "https://github.com/php-fig/simple-cache/tree/3.0.0" + }, + "time": "2021-10-29T13:26:27+00:00" + }, + { + "name": "psy/psysh", + "version": "v0.11.22", + "source": { + "type": "git", + "url": "https://github.com/bobthecow/psysh.git", + "reference": "128fa1b608be651999ed9789c95e6e2a31b5802b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/128fa1b608be651999ed9789c95e6e2a31b5802b", + "reference": "128fa1b608be651999ed9789c95e6e2a31b5802b", + "shasum": "" + }, + "require": { + "ext-json": "*", + "ext-tokenizer": "*", + "nikic/php-parser": "^4.0 || ^3.1", + "php": "^8.0 || ^7.0.8", + "symfony/console": "^6.0 || ^5.0 || ^4.0 || ^3.4", + "symfony/var-dumper": "^6.0 || ^5.0 || ^4.0 || ^3.4" + }, + "conflict": { + "symfony/console": "4.4.37 || 5.3.14 || 5.3.15 || 5.4.3 || 5.4.4 || 6.0.3 || 6.0.4" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.2" + }, + "suggest": { + "ext-pcntl": "Enabling the PCNTL extension makes PsySH a lot happier :)", + "ext-pdo-sqlite": "The doc command requires SQLite to work.", + "ext-posix": "If you have PCNTL, you'll want the POSIX extension as well.", + "ext-readline": "Enables support for arrow-key history navigation, and showing and manipulating command history." + }, + "bin": [ + "bin/psysh" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-0.11": "0.11.x-dev" + }, + "bamarni-bin": { + "bin-links": false, + "forward-command": false + } + }, + "autoload": { + "files": [ + "src/functions.php" + ], + "psr-4": { + "Psy\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Justin Hileman", + "email": "justin@justinhileman.info", + "homepage": "http://justinhileman.com" + } + ], + "description": "An interactive shell for modern PHP.", + "homepage": "http://psysh.org", + "keywords": [ + "REPL", + "console", + "interactive", + "shell" + ], + "support": { + "issues": "https://github.com/bobthecow/psysh/issues", + "source": "https://github.com/bobthecow/psysh/tree/v0.11.22" + }, + "time": "2023-10-14T21:56:36+00:00" + }, + { + "name": "ralouphie/getallheaders", + "version": "3.0.3", + "source": { + "type": "git", + "url": "https://github.com/ralouphie/getallheaders.git", + "reference": "120b605dfeb996808c31b6477290a714d356e822" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822", + "reference": "120b605dfeb996808c31b6477290a714d356e822", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "require-dev": { + "php-coveralls/php-coveralls": "^2.1", + "phpunit/phpunit": "^5 || ^6.5" + }, + "type": "library", + "autoload": { + "files": [ + "src/getallheaders.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ralph Khattar", + "email": "ralph.khattar@gmail.com" + } + ], + "description": "A polyfill for getallheaders.", + "support": { + "issues": "https://github.com/ralouphie/getallheaders/issues", + "source": "https://github.com/ralouphie/getallheaders/tree/develop" + }, + "time": "2019-03-08T08:55:37+00:00" + }, + { + "name": "ramsey/collection", + "version": "2.0.0", + "source": { + "type": "git", + "url": "https://github.com/ramsey/collection.git", + "reference": "a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ramsey/collection/zipball/a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5", + "reference": "a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5", + "shasum": "" + }, + "require": { + "php": "^8.1" + }, + "require-dev": { + "captainhook/plugin-composer": "^5.3", + "ergebnis/composer-normalize": "^2.28.3", + "fakerphp/faker": "^1.21", + "hamcrest/hamcrest-php": "^2.0", + "jangregor/phpstan-prophecy": "^1.0", + "mockery/mockery": "^1.5", + "php-parallel-lint/php-console-highlighter": "^1.0", + "php-parallel-lint/php-parallel-lint": "^1.3", + "phpcsstandards/phpcsutils": "^1.0.0-rc1", + "phpspec/prophecy-phpunit": "^2.0", + "phpstan/extension-installer": "^1.2", + "phpstan/phpstan": "^1.9", + "phpstan/phpstan-mockery": "^1.1", + "phpstan/phpstan-phpunit": "^1.3", + "phpunit/phpunit": "^9.5", + "psalm/plugin-mockery": "^1.1", + "psalm/plugin-phpunit": "^0.18.4", + "ramsey/coding-standard": "^2.0.3", + "ramsey/conventional-commits": "^1.3", + "vimeo/psalm": "^5.4" + }, + "type": "library", + "extra": { + "captainhook": { + "force-install": true + }, + "ramsey/conventional-commits": { + "configFile": "conventional-commits.json" + } + }, + "autoload": { + "psr-4": { + "Ramsey\\Collection\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ben Ramsey", + "email": "ben@benramsey.com", + "homepage": "https://benramsey.com" + } + ], + "description": "A PHP library for representing and manipulating collections.", + "keywords": [ + "array", + "collection", + "hash", + "map", + "queue", + "set" + ], + "support": { + "issues": "https://github.com/ramsey/collection/issues", + "source": "https://github.com/ramsey/collection/tree/2.0.0" + }, + "funding": [ + { + "url": "https://github.com/ramsey", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/ramsey/collection", + "type": "tidelift" + } + ], + "time": "2022-12-31T21:50:55+00:00" + }, + { + "name": "ramsey/uuid", + "version": "4.7.4", + "source": { + "type": "git", + "url": "https://github.com/ramsey/uuid.git", + "reference": "60a4c63ab724854332900504274f6150ff26d286" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/60a4c63ab724854332900504274f6150ff26d286", + "reference": "60a4c63ab724854332900504274f6150ff26d286", + "shasum": "" + }, + "require": { + "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11", + "ext-json": "*", + "php": "^8.0", + "ramsey/collection": "^1.2 || ^2.0" + }, + "replace": { + "rhumsaa/uuid": "self.version" + }, + "require-dev": { + "captainhook/captainhook": "^5.10", + "captainhook/plugin-composer": "^5.3", + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", + "doctrine/annotations": "^1.8", + "ergebnis/composer-normalize": "^2.15", + "mockery/mockery": "^1.3", + "paragonie/random-lib": "^2", + "php-mock/php-mock": "^2.2", + "php-mock/php-mock-mockery": "^1.3", + "php-parallel-lint/php-parallel-lint": "^1.1", + "phpbench/phpbench": "^1.0", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan": "^1.8", + "phpstan/phpstan-mockery": "^1.1", + "phpstan/phpstan-phpunit": "^1.1", + "phpunit/phpunit": "^8.5 || ^9", + "ramsey/composer-repl": "^1.4", + "slevomat/coding-standard": "^8.4", + "squizlabs/php_codesniffer": "^3.5", + "vimeo/psalm": "^4.9" + }, + "suggest": { + "ext-bcmath": "Enables faster math with arbitrary-precision integers using BCMath.", + "ext-gmp": "Enables faster math with arbitrary-precision integers using GMP.", + "ext-uuid": "Enables the use of PeclUuidTimeGenerator and PeclUuidRandomGenerator.", + "paragonie/random-lib": "Provides RandomLib for use with the RandomLibAdapter", + "ramsey/uuid-doctrine": "Allows the use of Ramsey\\Uuid\\Uuid as Doctrine field type." + }, + "type": "library", + "extra": { + "captainhook": { + "force-install": true + } + }, + "autoload": { + "files": [ + "src/functions.php" + ], + "psr-4": { + "Ramsey\\Uuid\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "A PHP library for generating and working with universally unique identifiers (UUIDs).", + "keywords": [ + "guid", + "identifier", + "uuid" + ], + "support": { + "issues": "https://github.com/ramsey/uuid/issues", + "source": "https://github.com/ramsey/uuid/tree/4.7.4" + }, + "funding": [ + { + "url": "https://github.com/ramsey", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/ramsey/uuid", + "type": "tidelift" + } + ], + "time": "2023-04-15T23:01:58+00:00" + }, + { + "name": "respect/stringifier", + "version": "0.2.0", + "source": { + "type": "git", + "url": "https://github.com/Respect/Stringifier.git", + "reference": "e55af3c8aeaeaa2abb5fa47a58a8e9688cc23b59" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Respect/Stringifier/zipball/e55af3c8aeaeaa2abb5fa47a58a8e9688cc23b59", + "reference": "e55af3c8aeaeaa2abb5fa47a58a8e9688cc23b59", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^2.8", + "malukenho/docheader": "^0.1.7", + "phpunit/phpunit": "^6.4" + }, + "type": "library", + "autoload": { + "files": [ + "src/stringify.php" + ], + "psr-4": { + "Respect\\Stringifier\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Respect/Stringifier Contributors", + "homepage": "https://github.com/Respect/Stringifier/graphs/contributors" + } + ], + "description": "Converts any value to a string", + "homepage": "http://respect.github.io/Stringifier/", + "keywords": [ + "respect", + "stringifier", + "stringify" + ], + "support": { + "issues": "https://github.com/Respect/Stringifier/issues", + "source": "https://github.com/Respect/Stringifier/tree/0.2.0" + }, + "time": "2017-12-29T19:39:25+00:00" + }, + { + "name": "respect/validation", + "version": "2.2.4", + "source": { + "type": "git", + "url": "https://github.com/Respect/Validation.git", + "reference": "d304ace5325efd7180daffb1f8627bb0affd4e3a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Respect/Validation/zipball/d304ace5325efd7180daffb1f8627bb0affd4e3a", + "reference": "d304ace5325efd7180daffb1f8627bb0affd4e3a", + "shasum": "" + }, + "require": { + "php": "^7.4 || ^8.0 || ^8.1 || ^8.2", + "respect/stringifier": "^0.2.0", + "symfony/polyfill-mbstring": "^1.2" + }, + "require-dev": { + "egulias/email-validator": "^3.0", + "malukenho/docheader": "^0.1", + "mikey179/vfsstream": "^1.6", + "phpstan/phpstan": "^1.9", + "phpstan/phpstan-deprecation-rules": "^1.1", + "phpstan/phpstan-phpunit": "^1.3", + "phpunit/phpunit": "^9.6", + "psr/http-message": "^1.0", + "respect/coding-standard": "^3.0", + "squizlabs/php_codesniffer": "^3.7", + "symfony/validator": "^3.0||^4.0" + }, + "suggest": { + "egulias/email-validator": "Strict (RFC compliant) email validation", + "ext-bcmath": "Arbitrary Precision Mathematics", + "ext-fileinfo": "File Information", + "ext-mbstring": "Multibyte String Functions" + }, + "type": "library", + "autoload": { + "psr-4": { + "Respect\\Validation\\": "library/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Respect/Validation Contributors", + "homepage": "https://github.com/Respect/Validation/graphs/contributors" + } + ], + "description": "The most awesome validation engine ever created for PHP", + "homepage": "http://respect.github.io/Validation/", + "keywords": [ + "respect", + "validation", + "validator" + ], + "support": { + "issues": "https://github.com/Respect/Validation/issues", + "source": "https://github.com/Respect/Validation/tree/2.2.4" + }, + "time": "2023-02-15T01:05:24+00:00" + }, + { + "name": "sentry/sdk", + "version": "3.5.0", + "source": { + "type": "git", + "url": "https://github.com/getsentry/sentry-php-sdk.git", + "reference": "cd91b752f07c4bab9fb3b173f81af68a78a78d6d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/getsentry/sentry-php-sdk/zipball/cd91b752f07c4bab9fb3b173f81af68a78a78d6d", + "reference": "cd91b752f07c4bab9fb3b173f81af68a78a78d6d", + "shasum": "" + }, + "require": { + "http-interop/http-factory-guzzle": "^1.0", + "sentry/sentry": "^3.19", + "symfony/http-client": "^4.3|^5.0|^6.0" + }, + "type": "metapackage", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Sentry", + "email": "accounts@sentry.io" + } + ], + "description": "This is a metapackage shipping sentry/sentry with a recommended HTTP client.", + "homepage": "http://sentry.io", + "keywords": [ + "crash-reporting", + "crash-reports", + "error-handler", + "error-monitoring", + "log", + "logging", + "sentry" + ], + "support": { + "issues": "https://github.com/getsentry/sentry-php-sdk/issues", + "source": "https://github.com/getsentry/sentry-php-sdk/tree/3.5.0" + }, + "funding": [ + { + "url": "https://sentry.io/", + "type": "custom" + }, + { + "url": "https://sentry.io/pricing/", + "type": "custom" + } + ], + "time": "2023-06-12T17:50:36+00:00" + }, + { + "name": "sentry/sentry", + "version": "3.22.0", + "source": { + "type": "git", + "url": "https://github.com/getsentry/sentry-php.git", + "reference": "c0e3df5a5c1d133cd9461e7672568ff07042c19d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/getsentry/sentry-php/zipball/c0e3df5a5c1d133cd9461e7672568ff07042c19d", + "reference": "c0e3df5a5c1d133cd9461e7672568ff07042c19d", + "shasum": "" + }, + "require": { + "ext-json": "*", + "ext-mbstring": "*", + "guzzlehttp/promises": "^1.5.3|^2.0", + "jean85/pretty-package-versions": "^1.5|^2.0.4", + "php": "^7.2|^8.0", + "php-http/async-client-implementation": "^1.0", + "php-http/client-common": "^1.5|^2.0", + "php-http/discovery": "^1.15", + "php-http/httplug": "^1.1|^2.0", + "php-http/message": "^1.5", + "php-http/message-factory": "^1.1", + "psr/http-factory": "^1.0", + "psr/http-factory-implementation": "^1.0", + "psr/log": "^1.0|^2.0|^3.0", + "symfony/options-resolver": "^3.4.43|^4.4.30|^5.0.11|^6.0|^7.0", + "symfony/polyfill-php80": "^1.17" + }, + "conflict": { + "php-http/client-common": "1.8.0", + "raven/raven": "*" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^2.19|3.4.*", + "guzzlehttp/psr7": "^1.8.4|^2.1.1", + "http-interop/http-factory-guzzle": "^1.0", + "monolog/monolog": "^1.6|^2.0|^3.0", + "nikic/php-parser": "^4.10.3", + "php-http/mock-client": "^1.3", + "phpbench/phpbench": "^1.0", + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^1.3", + "phpstan/phpstan-phpunit": "^1.0", + "phpunit/phpunit": "^8.5.14|^9.4", + "symfony/phpunit-bridge": "^5.2|^6.0", + "vimeo/psalm": "^4.17" + }, + "suggest": { + "monolog/monolog": "Allow sending log messages to Sentry by using the included Monolog handler." + }, + "type": "library", + "autoload": { + "files": [ + "src/functions.php" + ], + "psr-4": { + "Sentry\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Sentry", + "email": "accounts@sentry.io" + } + ], + "description": "A PHP SDK for Sentry (http://sentry.io)", + "homepage": "http://sentry.io", + "keywords": [ + "crash-reporting", + "crash-reports", + "error-handler", + "error-monitoring", + "log", + "logging", + "sentry" + ], + "support": { + "issues": "https://github.com/getsentry/sentry-php/issues", + "source": "https://github.com/getsentry/sentry-php/tree/3.22.0" + }, + "funding": [ + { + "url": "https://sentry.io/", + "type": "custom" + }, + { + "url": "https://sentry.io/pricing/", + "type": "custom" + } + ], + "time": "2023-10-23T20:34:53+00:00" + }, + { + "name": "sentry/sentry-laravel", + "version": "3.8.2", + "source": { + "type": "git", + "url": "https://github.com/getsentry/sentry-laravel.git", + "reference": "1293e5732f8405e12f000cdf5dee78c927a18de0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/getsentry/sentry-laravel/zipball/1293e5732f8405e12f000cdf5dee78c927a18de0", + "reference": "1293e5732f8405e12f000cdf5dee78c927a18de0", + "shasum": "" + }, + "require": { + "illuminate/support": "^6.0 | ^7.0 | ^8.0 | ^9.0 | ^10.0", + "nyholm/psr7": "^1.0", + "php": "^7.2 | ^8.0", + "sentry/sdk": "^3.4", + "sentry/sentry": "^3.20.1", + "symfony/psr-http-message-bridge": "^1.0 | ^2.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.11", + "laravel/folio": "^1.0", + "laravel/framework": "^6.0 | ^7.0 | ^8.0 | ^9.0 | ^10.0", + "mockery/mockery": "^1.3", + "orchestra/testbench": "^4.7 | ^5.1 | ^6.0 | ^7.0 | ^8.0", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^8.4 | ^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.x-dev", + "dev-2.x": "2.x-dev", + "dev-1.x": "1.x-dev", + "dev-0.x": "0.x-dev" + }, + "laravel": { + "providers": [ + "Sentry\\Laravel\\ServiceProvider", + "Sentry\\Laravel\\Tracing\\ServiceProvider" + ], + "aliases": { + "Sentry": "Sentry\\Laravel\\Facade" + } + } + }, + "autoload": { + "psr-0": { + "Sentry\\Laravel\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Sentry", + "email": "accounts@sentry.io" + } + ], + "description": "Laravel SDK for Sentry (https://sentry.io)", + "homepage": "https://sentry.io", + "keywords": [ + "crash-reporting", + "crash-reports", + "error-handler", + "error-monitoring", + "laravel", + "log", + "logging", + "sentry" + ], + "support": { + "issues": "https://github.com/getsentry/sentry-laravel/issues", + "source": "https://github.com/getsentry/sentry-laravel/tree/3.8.2" + }, + "funding": [ + { + "url": "https://sentry.io/", + "type": "custom" + }, + { + "url": "https://sentry.io/pricing/", + "type": "custom" + } + ], + "time": "2023-10-12T14:38:46+00:00" + }, + { + "name": "symfony/console", + "version": "v6.3.4", + "source": { + "type": "git", + "url": "https://github.com/symfony/console.git", + "reference": "eca495f2ee845130855ddf1cf18460c38966c8b6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/console/zipball/eca495f2ee845130855ddf1cf18460c38966c8b6", + "reference": "eca495f2ee845130855ddf1cf18460c38966c8b6", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/polyfill-mbstring": "~1.0", + "symfony/service-contracts": "^2.5|^3", + "symfony/string": "^5.4|^6.0" + }, + "conflict": { + "symfony/dependency-injection": "<5.4", + "symfony/dotenv": "<5.4", + "symfony/event-dispatcher": "<5.4", + "symfony/lock": "<5.4", + "symfony/process": "<5.4" + }, + "provide": { + "psr/log-implementation": "1.0|2.0|3.0" + }, + "require-dev": { + "psr/log": "^1|^2|^3", + "symfony/config": "^5.4|^6.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/event-dispatcher": "^5.4|^6.0", + "symfony/lock": "^5.4|^6.0", + "symfony/process": "^5.4|^6.0", + "symfony/var-dumper": "^5.4|^6.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Console\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Eases the creation of beautiful and testable command line interfaces", + "homepage": "https://symfony.com", + "keywords": [ + "cli", + "command-line", + "console", + "terminal" + ], + "support": { + "source": "https://github.com/symfony/console/tree/v6.3.4" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-08-16T10:10:12+00:00" + }, + { + "name": "symfony/css-selector", + "version": "v6.3.2", + "source": { + "type": "git", + "url": "https://github.com/symfony/css-selector.git", + "reference": "883d961421ab1709877c10ac99451632a3d6fa57" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/883d961421ab1709877c10ac99451632a3d6fa57", + "reference": "883d961421ab1709877c10ac99451632a3d6fa57", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\CssSelector\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Jean-François Simon", + "email": "jeanfrancois.simon@sensiolabs.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Converts CSS selectors to XPath expressions", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/css-selector/tree/v6.3.2" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-07-12T16:00:22+00:00" + }, + { + "name": "symfony/deprecation-contracts", + "version": "v3.3.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/deprecation-contracts.git", + "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/7c3aff79d10325257a001fcf92d991f24fc967cf", + "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.4-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "files": [ + "function.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "A generic function and convention to trigger deprecation notices", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.3.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-05-23T14:45:45+00:00" + }, + { + "name": "symfony/error-handler", + "version": "v6.3.5", + "source": { + "type": "git", + "url": "https://github.com/symfony/error-handler.git", + "reference": "1f69476b64fb47105c06beef757766c376b548c4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/1f69476b64fb47105c06beef757766c376b548c4", + "reference": "1f69476b64fb47105c06beef757766c376b548c4", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "psr/log": "^1|^2|^3", + "symfony/var-dumper": "^5.4|^6.0" + }, + "conflict": { + "symfony/deprecation-contracts": "<2.5" + }, + "require-dev": { + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/http-kernel": "^5.4|^6.0", + "symfony/serializer": "^5.4|^6.0" + }, + "bin": [ + "Resources/bin/patch-type-declarations" + ], + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\ErrorHandler\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides tools to manage errors and ease debugging PHP code", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/error-handler/tree/v6.3.5" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-09-12T06:57:20+00:00" + }, + { + "name": "symfony/event-dispatcher", + "version": "v6.3.2", + "source": { + "type": "git", + "url": "https://github.com/symfony/event-dispatcher.git", + "reference": "adb01fe097a4ee930db9258a3cc906b5beb5cf2e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/adb01fe097a4ee930db9258a3cc906b5beb5cf2e", + "reference": "adb01fe097a4ee930db9258a3cc906b5beb5cf2e", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/event-dispatcher-contracts": "^2.5|^3" + }, + "conflict": { + "symfony/dependency-injection": "<5.4", + "symfony/service-contracts": "<2.5" + }, + "provide": { + "psr/event-dispatcher-implementation": "1.0", + "symfony/event-dispatcher-implementation": "2.0|3.0" + }, + "require-dev": { + "psr/log": "^1|^2|^3", + "symfony/config": "^5.4|^6.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/error-handler": "^5.4|^6.0", + "symfony/expression-language": "^5.4|^6.0", + "symfony/http-foundation": "^5.4|^6.0", + "symfony/service-contracts": "^2.5|^3", + "symfony/stopwatch": "^5.4|^6.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\EventDispatcher\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/event-dispatcher/tree/v6.3.2" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-07-06T06:56:43+00:00" + }, + { + "name": "symfony/event-dispatcher-contracts", + "version": "v3.3.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/event-dispatcher-contracts.git", + "reference": "a76aed96a42d2b521153fb382d418e30d18b59df" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/a76aed96a42d2b521153fb382d418e30d18b59df", + "reference": "a76aed96a42d2b521153fb382d418e30d18b59df", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "psr/event-dispatcher": "^1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.4-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\EventDispatcher\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to dispatching event", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.3.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-05-23T14:45:45+00:00" + }, + { + "name": "symfony/finder", + "version": "v6.3.5", + "source": { + "type": "git", + "url": "https://github.com/symfony/finder.git", + "reference": "a1b31d88c0e998168ca7792f222cbecee47428c4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/finder/zipball/a1b31d88c0e998168ca7792f222cbecee47428c4", + "reference": "a1b31d88c0e998168ca7792f222cbecee47428c4", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "symfony/filesystem": "^6.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Finder\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Finds files and directories via an intuitive fluent interface", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/finder/tree/v6.3.5" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-09-26T12:56:25+00:00" + }, + { + "name": "symfony/http-client", + "version": "v6.3.7", + "source": { + "type": "git", + "url": "https://github.com/symfony/http-client.git", + "reference": "cd67fcaf4524ec6ae5d9b2d9497682d7ad3ce57d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/http-client/zipball/cd67fcaf4524ec6ae5d9b2d9497682d7ad3ce57d", + "reference": "cd67fcaf4524ec6ae5d9b2d9497682d7ad3ce57d", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "psr/log": "^1|^2|^3", + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/http-client-contracts": "^3", + "symfony/service-contracts": "^2.5|^3" + }, + "conflict": { + "php-http/discovery": "<1.15", + "symfony/http-foundation": "<6.3" + }, + "provide": { + "php-http/async-client-implementation": "*", + "php-http/client-implementation": "*", + "psr/http-client-implementation": "1.0", + "symfony/http-client-implementation": "3.0" + }, + "require-dev": { + "amphp/amp": "^2.5", + "amphp/http-client": "^4.2.1", + "amphp/http-tunnel": "^1.0", + "amphp/socket": "^1.1", + "guzzlehttp/promises": "^1.4", + "nyholm/psr7": "^1.0", + "php-http/httplug": "^1.0|^2.0", + "psr/http-client": "^1.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/http-kernel": "^5.4|^6.0", + "symfony/process": "^5.4|^6.0", + "symfony/stopwatch": "^5.4|^6.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\HttpClient\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides powerful methods to fetch HTTP resources synchronously or asynchronously", + "homepage": "https://symfony.com", + "keywords": [ + "http" + ], + "support": { + "source": "https://github.com/symfony/http-client/tree/v6.3.7" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-10-29T12:41:36+00:00" + }, + { + "name": "symfony/http-client-contracts", + "version": "v3.3.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/http-client-contracts.git", + "reference": "3b66325d0176b4ec826bffab57c9037d759c31fb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/3b66325d0176b4ec826bffab57c9037d759c31fb", + "reference": "3b66325d0176b4ec826bffab57c9037d759c31fb", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.4-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\HttpClient\\": "" + }, + "exclude-from-classmap": [ + "/Test/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to HTTP clients", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/http-client-contracts/tree/v3.3.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-05-23T14:45:45+00:00" + }, + { + "name": "symfony/http-foundation", + "version": "v6.3.7", + "source": { + "type": "git", + "url": "https://github.com/symfony/http-foundation.git", + "reference": "59d1837d5d992d16c2628cd0d6b76acf8d69b33e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/59d1837d5d992d16c2628cd0d6b76acf8d69b33e", + "reference": "59d1837d5d992d16c2628cd0d6b76acf8d69b33e", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/polyfill-mbstring": "~1.1", + "symfony/polyfill-php83": "^1.27" + }, + "conflict": { + "symfony/cache": "<6.3" + }, + "require-dev": { + "doctrine/dbal": "^2.13.1|^3|^4", + "predis/predis": "^1.1|^2.0", + "symfony/cache": "^6.3", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/expression-language": "^5.4|^6.0", + "symfony/http-kernel": "^5.4.12|^6.0.12|^6.1.4", + "symfony/mime": "^5.4|^6.0", + "symfony/rate-limiter": "^5.2|^6.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\HttpFoundation\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Defines an object-oriented layer for the HTTP specification", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/http-foundation/tree/v6.3.7" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-10-28T23:55:27+00:00" + }, + { + "name": "symfony/http-kernel", + "version": "v6.3.7", + "source": { + "type": "git", + "url": "https://github.com/symfony/http-kernel.git", + "reference": "6d4098095f93279d9536a0e9124439560cc764d0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/6d4098095f93279d9536a0e9124439560cc764d0", + "reference": "6d4098095f93279d9536a0e9124439560cc764d0", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "psr/log": "^1|^2|^3", + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/error-handler": "^6.3", + "symfony/event-dispatcher": "^5.4|^6.0", + "symfony/http-foundation": "^6.3.4", + "symfony/polyfill-ctype": "^1.8" + }, + "conflict": { + "symfony/browser-kit": "<5.4", + "symfony/cache": "<5.4", + "symfony/config": "<6.1", + "symfony/console": "<5.4", + "symfony/dependency-injection": "<6.3.4", + "symfony/doctrine-bridge": "<5.4", + "symfony/form": "<5.4", + "symfony/http-client": "<5.4", + "symfony/http-client-contracts": "<2.5", + "symfony/mailer": "<5.4", + "symfony/messenger": "<5.4", + "symfony/translation": "<5.4", + "symfony/translation-contracts": "<2.5", + "symfony/twig-bridge": "<5.4", + "symfony/validator": "<5.4", + "symfony/var-dumper": "<6.3", + "twig/twig": "<2.13" + }, + "provide": { + "psr/log-implementation": "1.0|2.0|3.0" + }, + "require-dev": { + "psr/cache": "^1.0|^2.0|^3.0", + "symfony/browser-kit": "^5.4|^6.0", + "symfony/clock": "^6.2", + "symfony/config": "^6.1", + "symfony/console": "^5.4|^6.0", + "symfony/css-selector": "^5.4|^6.0", + "symfony/dependency-injection": "^6.3.4", + "symfony/dom-crawler": "^5.4|^6.0", + "symfony/expression-language": "^5.4|^6.0", + "symfony/finder": "^5.4|^6.0", + "symfony/http-client-contracts": "^2.5|^3", + "symfony/process": "^5.4|^6.0", + "symfony/property-access": "^5.4.5|^6.0.5", + "symfony/routing": "^5.4|^6.0", + "symfony/serializer": "^6.3", + "symfony/stopwatch": "^5.4|^6.0", + "symfony/translation": "^5.4|^6.0", + "symfony/translation-contracts": "^2.5|^3", + "symfony/uid": "^5.4|^6.0", + "symfony/validator": "^6.3", + "symfony/var-exporter": "^6.2", + "twig/twig": "^2.13|^3.0.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\HttpKernel\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides a structured process for converting a Request into a Response", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/http-kernel/tree/v6.3.7" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-10-29T14:31:45+00:00" + }, + { + "name": "symfony/mailer", + "version": "v6.3.5", + "source": { + "type": "git", + "url": "https://github.com/symfony/mailer.git", + "reference": "d89611a7830d51b5e118bca38e390dea92f9ea06" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/mailer/zipball/d89611a7830d51b5e118bca38e390dea92f9ea06", + "reference": "d89611a7830d51b5e118bca38e390dea92f9ea06", + "shasum": "" + }, + "require": { + "egulias/email-validator": "^2.1.10|^3|^4", + "php": ">=8.1", + "psr/event-dispatcher": "^1", + "psr/log": "^1|^2|^3", + "symfony/event-dispatcher": "^5.4|^6.0", + "symfony/mime": "^6.2", + "symfony/service-contracts": "^2.5|^3" + }, + "conflict": { + "symfony/http-client-contracts": "<2.5", + "symfony/http-kernel": "<5.4", + "symfony/messenger": "<6.2", + "symfony/mime": "<6.2", + "symfony/twig-bridge": "<6.2.1" + }, + "require-dev": { + "symfony/console": "^5.4|^6.0", + "symfony/http-client": "^5.4|^6.0", + "symfony/messenger": "^6.2", + "symfony/twig-bridge": "^6.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Mailer\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Helps sending emails", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/mailer/tree/v6.3.5" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-09-06T09:47:15+00:00" + }, + { + "name": "symfony/mime", + "version": "v6.3.5", + "source": { + "type": "git", + "url": "https://github.com/symfony/mime.git", + "reference": "d5179eedf1cb2946dbd760475ebf05c251ef6a6e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/mime/zipball/d5179eedf1cb2946dbd760475ebf05c251ef6a6e", + "reference": "d5179eedf1cb2946dbd760475ebf05c251ef6a6e", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/polyfill-intl-idn": "^1.10", + "symfony/polyfill-mbstring": "^1.0" + }, + "conflict": { + "egulias/email-validator": "~3.0.0", + "phpdocumentor/reflection-docblock": "<3.2.2", + "phpdocumentor/type-resolver": "<1.4.0", + "symfony/mailer": "<5.4", + "symfony/serializer": "<6.2.13|>=6.3,<6.3.2" + }, + "require-dev": { + "egulias/email-validator": "^2.1.10|^3.1|^4", + "league/html-to-markdown": "^5.0", + "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/property-access": "^5.4|^6.0", + "symfony/property-info": "^5.4|^6.0", + "symfony/serializer": "~6.2.13|^6.3.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Mime\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Allows manipulating MIME messages", + "homepage": "https://symfony.com", + "keywords": [ + "mime", + "mime-type" + ], + "support": { + "source": "https://github.com/symfony/mime/tree/v6.3.5" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-09-29T06:59:36+00:00" + }, + { + "name": "symfony/options-resolver", + "version": "v6.3.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/options-resolver.git", + "reference": "a10f19f5198d589d5c33333cffe98dc9820332dd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/options-resolver/zipball/a10f19f5198d589d5c33333cffe98dc9820332dd", + "reference": "a10f19f5198d589d5c33333cffe98dc9820332dd", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\OptionsResolver\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides an improved replacement for the array_replace PHP function", + "homepage": "https://symfony.com", + "keywords": [ + "config", + "configuration", + "options" + ], + "support": { + "source": "https://github.com/symfony/options-resolver/tree/v6.3.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-05-12T14:21:09+00:00" + }, + { + "name": "symfony/polyfill-ctype", + "version": "v1.28.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", + "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "provide": { + "ext-ctype": "*" + }, + "suggest": { + "ext-ctype": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.28-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Gert de Pagter", + "email": "BackEndTea@gmail.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for ctype functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "ctype", + "polyfill", + "portable" + ], + "support": { + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.28.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-01-26T09:26:14+00:00" + }, + { + "name": "symfony/polyfill-intl-grapheme", + "version": "v1.28.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-grapheme.git", + "reference": "875e90aeea2777b6f135677f618529449334a612" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/875e90aeea2777b6f135677f618529449334a612", + "reference": "875e90aeea2777b6f135677f618529449334a612", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.28-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Grapheme\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's grapheme_* functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "grapheme", + "intl", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.28.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-01-26T09:26:14+00:00" + }, + { + "name": "symfony/polyfill-intl-idn", + "version": "v1.28.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-idn.git", + "reference": "ecaafce9f77234a6a449d29e49267ba10499116d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/ecaafce9f77234a6a449d29e49267ba10499116d", + "reference": "ecaafce9f77234a6a449d29e49267ba10499116d", + "shasum": "" + }, + "require": { + "php": ">=7.1", + "symfony/polyfill-intl-normalizer": "^1.10", + "symfony/polyfill-php72": "^1.10" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.28-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Idn\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Laurent Bassin", + "email": "laurent@bassin.info" + }, + { + "name": "Trevor Rowbotham", + "email": "trevor.rowbotham@pm.me" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "idn", + "intl", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.28.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-01-26T09:30:37+00:00" + }, + { + "name": "symfony/polyfill-intl-normalizer", + "version": "v1.28.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-normalizer.git", + "reference": "8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92", + "reference": "8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.28-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Normalizer\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's Normalizer class and related functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "intl", + "normalizer", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.28.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-01-26T09:26:14+00:00" + }, + { + "name": "symfony/polyfill-mbstring", + "version": "v1.28.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "42292d99c55abe617799667f454222c54c60e229" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/42292d99c55abe617799667f454222c54c60e229", + "reference": "42292d99c55abe617799667f454222c54c60e229", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "provide": { + "ext-mbstring": "*" + }, + "suggest": { + "ext-mbstring": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.28-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for the Mbstring extension", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "mbstring", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.28.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-07-28T09:04:16+00:00" + }, + { + "name": "symfony/polyfill-php72", + "version": "v1.28.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php72.git", + "reference": "70f4aebd92afca2f865444d30a4d2151c13c3179" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/70f4aebd92afca2f865444d30a4d2151c13c3179", + "reference": "70f4aebd92afca2f865444d30a4d2151c13c3179", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.28-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php72\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php72/tree/v1.28.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-01-26T09:26:14+00:00" + }, + { + "name": "symfony/polyfill-php80", + "version": "v1.28.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php80.git", + "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/6caa57379c4aec19c0a12a38b59b26487dcfe4b5", + "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.28-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php80\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ion Bazan", + "email": "ion.bazan@gmail.com" + }, + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php80/tree/v1.28.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-01-26T09:26:14+00:00" + }, + { + "name": "symfony/polyfill-php83", + "version": "v1.28.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php83.git", + "reference": "b0f46ebbeeeda3e9d2faebdfbf4b4eae9b59fa11" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/b0f46ebbeeeda3e9d2faebdfbf4b4eae9b59fa11", + "reference": "b0f46ebbeeeda3e9d2faebdfbf4b4eae9b59fa11", + "shasum": "" + }, + "require": { + "php": ">=7.1", + "symfony/polyfill-php80": "^1.14" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.28-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php83\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.3+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php83/tree/v1.28.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-08-16T06:22:46+00:00" + }, + { + "name": "symfony/polyfill-uuid", + "version": "v1.28.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-uuid.git", + "reference": "9c44518a5aff8da565c8a55dbe85d2769e6f630e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/9c44518a5aff8da565c8a55dbe85d2769e6f630e", + "reference": "9c44518a5aff8da565c8a55dbe85d2769e6f630e", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "provide": { + "ext-uuid": "*" + }, + "suggest": { + "ext-uuid": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.28-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Uuid\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Grégoire Pineau", + "email": "lyrixx@lyrixx.info" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for uuid functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "uuid" + ], + "support": { + "source": "https://github.com/symfony/polyfill-uuid/tree/v1.28.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-01-26T09:26:14+00:00" + }, + { + "name": "symfony/process", + "version": "v6.3.4", + "source": { + "type": "git", + "url": "https://github.com/symfony/process.git", + "reference": "0b5c29118f2e980d455d2e34a5659f4579847c54" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/process/zipball/0b5c29118f2e980d455d2e34a5659f4579847c54", + "reference": "0b5c29118f2e980d455d2e34a5659f4579847c54", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Process\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Executes commands in sub-processes", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/process/tree/v6.3.4" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-08-07T10:39:22+00:00" + }, + { + "name": "symfony/psr-http-message-bridge", + "version": "v2.3.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/psr-http-message-bridge.git", + "reference": "581ca6067eb62640de5ff08ee1ba6850a0ee472e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/psr-http-message-bridge/zipball/581ca6067eb62640de5ff08ee1ba6850a0ee472e", + "reference": "581ca6067eb62640de5ff08ee1ba6850a0ee472e", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "psr/http-message": "^1.0 || ^2.0", + "symfony/deprecation-contracts": "^2.5 || ^3.0", + "symfony/http-foundation": "^5.4 || ^6.0" + }, + "require-dev": { + "nyholm/psr7": "^1.1", + "psr/log": "^1.1 || ^2 || ^3", + "symfony/browser-kit": "^5.4 || ^6.0", + "symfony/config": "^5.4 || ^6.0", + "symfony/event-dispatcher": "^5.4 || ^6.0", + "symfony/framework-bundle": "^5.4 || ^6.0", + "symfony/http-kernel": "^5.4 || ^6.0", + "symfony/phpunit-bridge": "^6.2" + }, + "suggest": { + "nyholm/psr7": "For a super lightweight PSR-7/17 implementation" + }, + "type": "symfony-bridge", + "extra": { + "branch-alias": { + "dev-main": "2.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Bridge\\PsrHttpMessage\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "http://symfony.com/contributors" + } + ], + "description": "PSR HTTP message bridge", + "homepage": "http://symfony.com", + "keywords": [ + "http", + "http-message", + "psr-17", + "psr-7" + ], + "support": { + "issues": "https://github.com/symfony/psr-http-message-bridge/issues", + "source": "https://github.com/symfony/psr-http-message-bridge/tree/v2.3.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-07-26T11:53:26+00:00" + }, + { + "name": "symfony/routing", + "version": "v6.3.5", + "source": { + "type": "git", + "url": "https://github.com/symfony/routing.git", + "reference": "82616e59acd3e3d9c916bba798326cb7796d7d31" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/routing/zipball/82616e59acd3e3d9c916bba798326cb7796d7d31", + "reference": "82616e59acd3e3d9c916bba798326cb7796d7d31", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3" + }, + "conflict": { + "doctrine/annotations": "<1.12", + "symfony/config": "<6.2", + "symfony/dependency-injection": "<5.4", + "symfony/yaml": "<5.4" + }, + "require-dev": { + "doctrine/annotations": "^1.12|^2", + "psr/log": "^1|^2|^3", + "symfony/config": "^6.2", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/expression-language": "^5.4|^6.0", + "symfony/http-foundation": "^5.4|^6.0", + "symfony/yaml": "^5.4|^6.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Routing\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Maps an HTTP request to a set of configuration variables", + "homepage": "https://symfony.com", + "keywords": [ + "router", + "routing", + "uri", + "url" + ], + "support": { + "source": "https://github.com/symfony/routing/tree/v6.3.5" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-09-20T16:05:51+00:00" + }, + { + "name": "symfony/service-contracts", + "version": "v3.3.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/service-contracts.git", + "reference": "40da9cc13ec349d9e4966ce18b5fbcd724ab10a4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/40da9cc13ec349d9e4966ce18b5fbcd724ab10a4", + "reference": "40da9cc13ec349d9e4966ce18b5fbcd724ab10a4", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "psr/container": "^2.0" + }, + "conflict": { + "ext-psr": "<1.1|>=2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.4-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\Service\\": "" + }, + "exclude-from-classmap": [ + "/Test/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to writing services", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/service-contracts/tree/v3.3.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-05-23T14:45:45+00:00" + }, + { + "name": "symfony/string", + "version": "v6.3.5", + "source": { + "type": "git", + "url": "https://github.com/symfony/string.git", + "reference": "13d76d0fb049051ed12a04bef4f9de8715bea339" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/string/zipball/13d76d0fb049051ed12a04bef4f9de8715bea339", + "reference": "13d76d0fb049051ed12a04bef4f9de8715bea339", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-intl-grapheme": "~1.0", + "symfony/polyfill-intl-normalizer": "~1.0", + "symfony/polyfill-mbstring": "~1.0" + }, + "conflict": { + "symfony/translation-contracts": "<2.5" + }, + "require-dev": { + "symfony/error-handler": "^5.4|^6.0", + "symfony/http-client": "^5.4|^6.0", + "symfony/intl": "^6.2", + "symfony/translation-contracts": "^2.5|^3.0", + "symfony/var-exporter": "^5.4|^6.0" + }, + "type": "library", + "autoload": { + "files": [ + "Resources/functions.php" + ], + "psr-4": { + "Symfony\\Component\\String\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", + "homepage": "https://symfony.com", + "keywords": [ + "grapheme", + "i18n", + "string", + "unicode", + "utf-8", + "utf8" + ], + "support": { + "source": "https://github.com/symfony/string/tree/v6.3.5" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-09-18T10:38:32+00:00" + }, + { + "name": "symfony/translation", + "version": "v6.3.7", + "source": { + "type": "git", + "url": "https://github.com/symfony/translation.git", + "reference": "30212e7c87dcb79c83f6362b00bde0e0b1213499" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/translation/zipball/30212e7c87dcb79c83f6362b00bde0e0b1213499", + "reference": "30212e7c87dcb79c83f6362b00bde0e0b1213499", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/polyfill-mbstring": "~1.0", + "symfony/translation-contracts": "^2.5|^3.0" + }, + "conflict": { + "symfony/config": "<5.4", + "symfony/console": "<5.4", + "symfony/dependency-injection": "<5.4", + "symfony/http-client-contracts": "<2.5", + "symfony/http-kernel": "<5.4", + "symfony/service-contracts": "<2.5", + "symfony/twig-bundle": "<5.4", + "symfony/yaml": "<5.4" + }, + "provide": { + "symfony/translation-implementation": "2.3|3.0" + }, + "require-dev": { + "nikic/php-parser": "^4.13", + "psr/log": "^1|^2|^3", + "symfony/config": "^5.4|^6.0", + "symfony/console": "^5.4|^6.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/finder": "^5.4|^6.0", + "symfony/http-client-contracts": "^2.5|^3.0", + "symfony/http-kernel": "^5.4|^6.0", + "symfony/intl": "^5.4|^6.0", + "symfony/polyfill-intl-icu": "^1.21", + "symfony/routing": "^5.4|^6.0", + "symfony/service-contracts": "^2.5|^3", + "symfony/yaml": "^5.4|^6.0" + }, + "type": "library", + "autoload": { + "files": [ + "Resources/functions.php" + ], + "psr-4": { + "Symfony\\Component\\Translation\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides tools to internationalize your application", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/translation/tree/v6.3.7" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-10-28T23:11:45+00:00" + }, + { + "name": "symfony/translation-contracts", + "version": "v3.3.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/translation-contracts.git", + "reference": "02c24deb352fb0d79db5486c0c79905a85e37e86" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/02c24deb352fb0d79db5486c0c79905a85e37e86", + "reference": "02c24deb352fb0d79db5486c0c79905a85e37e86", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.4-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\Translation\\": "" + }, + "exclude-from-classmap": [ + "/Test/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to translation", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/translation-contracts/tree/v3.3.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-05-30T17:17:10+00:00" + }, + { + "name": "symfony/uid", + "version": "v6.3.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/uid.git", + "reference": "01b0f20b1351d997711c56f1638f7a8c3061e384" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/uid/zipball/01b0f20b1351d997711c56f1638f7a8c3061e384", + "reference": "01b0f20b1351d997711c56f1638f7a8c3061e384", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/polyfill-uuid": "^1.15" + }, + "require-dev": { + "symfony/console": "^5.4|^6.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Uid\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Grégoire Pineau", + "email": "lyrixx@lyrixx.info" + }, + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides an object-oriented API to generate and represent UIDs", + "homepage": "https://symfony.com", + "keywords": [ + "UID", + "ulid", + "uuid" + ], + "support": { + "source": "https://github.com/symfony/uid/tree/v6.3.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-04-08T07:25:02+00:00" + }, + { + "name": "symfony/var-dumper", + "version": "v6.3.6", + "source": { + "type": "git", + "url": "https://github.com/symfony/var-dumper.git", + "reference": "999ede244507c32b8e43aebaa10e9fce20de7c97" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/999ede244507c32b8e43aebaa10e9fce20de7c97", + "reference": "999ede244507c32b8e43aebaa10e9fce20de7c97", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/polyfill-mbstring": "~1.0" + }, + "conflict": { + "symfony/console": "<5.4" + }, + "require-dev": { + "ext-iconv": "*", + "symfony/console": "^5.4|^6.0", + "symfony/http-kernel": "^5.4|^6.0", + "symfony/process": "^5.4|^6.0", + "symfony/uid": "^5.4|^6.0", + "twig/twig": "^2.13|^3.0.4" + }, + "bin": [ + "Resources/bin/var-dump-server" + ], + "type": "library", + "autoload": { + "files": [ + "Resources/functions/dump.php" + ], + "psr-4": { + "Symfony\\Component\\VarDumper\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides mechanisms for walking through any arbitrary PHP variable", + "homepage": "https://symfony.com", + "keywords": [ + "debug", + "dump" + ], + "support": { + "source": "https://github.com/symfony/var-dumper/tree/v6.3.6" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-10-12T18:45:56+00:00" + }, + { + "name": "tijsverkoyen/css-to-inline-styles", + "version": "2.2.6", + "source": { + "type": "git", + "url": "https://github.com/tijsverkoyen/CssToInlineStyles.git", + "reference": "c42125b83a4fa63b187fdf29f9c93cb7733da30c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/c42125b83a4fa63b187fdf29f9c93cb7733da30c", + "reference": "c42125b83a4fa63b187fdf29f9c93cb7733da30c", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-libxml": "*", + "php": "^5.5 || ^7.0 || ^8.0", + "symfony/css-selector": "^2.7 || ^3.0 || ^4.0 || ^5.0 || ^6.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0 || ^7.5 || ^8.5.21 || ^9.5.10" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.2.x-dev" + } + }, + "autoload": { + "psr-4": { + "TijsVerkoyen\\CssToInlineStyles\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Tijs Verkoyen", + "email": "css_to_inline_styles@verkoyen.eu", + "role": "Developer" + } + ], + "description": "CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.", + "homepage": "https://github.com/tijsverkoyen/CssToInlineStyles", + "support": { + "issues": "https://github.com/tijsverkoyen/CssToInlineStyles/issues", + "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/2.2.6" + }, + "time": "2023-01-03T09:29:04+00:00" + }, + { + "name": "uwil/k8s-laravel", + "version": "1.2.0", + "source": { + "type": "git", + "url": "https://lab.s-web.fr/ldc-web/projets/k8s-laravel.git", + "reference": "a0103f8f4443fbc07f01dd4a91f74b2ae5350a8c" + }, + "dist": { + "type": "zip", + "url": "https://lab.s-web.fr/api/v4/projects/90/packages/composer/archives/uwil/k8s-laravel.zip?sha=a0103f8f4443fbc07f01dd4a91f74b2ae5350a8c", + "reference": "a0103f8f4443fbc07f01dd4a91f74b2ae5350a8c", + "shasum": "" + }, + "require": { + "illuminate/support": "~8|~9|~10", + "laravel/framework": "~8|~9|~10", + "php": "~7.3|~7.4|~8" + }, + "require-dev": { + "orchestra/testbench": "^8.5", + "phpunit/php-code-coverage": "^9.2", + "phpunit/phpunit": "^9.6", + "slevomat/coding-standard": "^8.3", + "squizlabs/php_codesniffer": "^3.7" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Uwil\\K8S\\Laravel\\K8SServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Uwil\\K8S\\Laravel\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { + "Uwil\\K8S\\Laravel\\Tests\\": "tests" + } + }, + "scripts": { + "test": [ + "vendor/bin/phpunit" + ], + "post-autoload-dump": [ + "@php ./vendor/bin/testbench package:discover --ansi" + ] + }, + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Vincent BRIDIER", + "email": "vincent.bridier@ldc.fr", + "homepage": "https://www.ldc.fr" + } + ], + "description": "Laravel requirements for k8s" + }, + { + "name": "vlucas/phpdotenv", + "version": "v5.5.0", + "source": { + "type": "git", + "url": "https://github.com/vlucas/phpdotenv.git", + "reference": "1a7ea2afc49c3ee6d87061f5a233e3a035d0eae7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/1a7ea2afc49c3ee6d87061f5a233e3a035d0eae7", + "reference": "1a7ea2afc49c3ee6d87061f5a233e3a035d0eae7", + "shasum": "" + }, + "require": { + "ext-pcre": "*", + "graham-campbell/result-type": "^1.0.2", + "php": "^7.1.3 || ^8.0", + "phpoption/phpoption": "^1.8", + "symfony/polyfill-ctype": "^1.23", + "symfony/polyfill-mbstring": "^1.23.1", + "symfony/polyfill-php80": "^1.23.1" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.4.1", + "ext-filter": "*", + "phpunit/phpunit": "^7.5.20 || ^8.5.30 || ^9.5.25" + }, + "suggest": { + "ext-filter": "Required to use the boolean validator." + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": true + }, + "branch-alias": { + "dev-master": "5.5-dev" + } + }, + "autoload": { + "psr-4": { + "Dotenv\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Vance Lucas", + "email": "vance@vancelucas.com", + "homepage": "https://github.com/vlucas" + } + ], + "description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.", + "keywords": [ + "dotenv", + "env", + "environment" + ], + "support": { + "issues": "https://github.com/vlucas/phpdotenv/issues", + "source": "https://github.com/vlucas/phpdotenv/tree/v5.5.0" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/vlucas/phpdotenv", + "type": "tidelift" + } + ], + "time": "2022-10-16T01:01:54+00:00" + }, + { + "name": "voku/portable-ascii", + "version": "2.0.1", + "source": { + "type": "git", + "url": "https://github.com/voku/portable-ascii.git", + "reference": "b56450eed252f6801410d810c8e1727224ae0743" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/voku/portable-ascii/zipball/b56450eed252f6801410d810c8e1727224ae0743", + "reference": "b56450eed252f6801410d810c8e1727224ae0743", + "shasum": "" + }, + "require": { + "php": ">=7.0.0" + }, + "require-dev": { + "phpunit/phpunit": "~6.0 || ~7.0 || ~9.0" + }, + "suggest": { + "ext-intl": "Use Intl for transliterator_transliterate() support" + }, + "type": "library", + "autoload": { + "psr-4": { + "voku\\": "src/voku/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Lars Moelleken", + "homepage": "http://www.moelleken.org/" + } + ], + "description": "Portable ASCII library - performance optimized (ascii) string functions for php.", + "homepage": "https://github.com/voku/portable-ascii", + "keywords": [ + "ascii", + "clean", + "php" + ], + "support": { + "issues": "https://github.com/voku/portable-ascii/issues", + "source": "https://github.com/voku/portable-ascii/tree/2.0.1" + }, + "funding": [ + { + "url": "https://www.paypal.me/moelleken", + "type": "custom" + }, + { + "url": "https://github.com/voku", + "type": "github" + }, + { + "url": "https://opencollective.com/portable-ascii", + "type": "open_collective" + }, + { + "url": "https://www.patreon.com/voku", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/voku/portable-ascii", + "type": "tidelift" + } + ], + "time": "2022-03-08T17:03:00+00:00" + }, + { + "name": "webmozart/assert", + "version": "1.11.0", + "source": { + "type": "git", + "url": "https://github.com/webmozarts/assert.git", + "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/webmozarts/assert/zipball/11cb2199493b2f8a3b53e7f19068fc6aac760991", + "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991", + "shasum": "" + }, + "require": { + "ext-ctype": "*", + "php": "^7.2 || ^8.0" + }, + "conflict": { + "phpstan/phpstan": "<0.12.20", + "vimeo/psalm": "<4.6.1 || 4.6.2" + }, + "require-dev": { + "phpunit/phpunit": "^8.5.13" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.10-dev" + } + }, + "autoload": { + "psr-4": { + "Webmozart\\Assert\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Assertions to validate method input/output with nice error messages.", + "keywords": [ + "assert", + "check", + "validate" + ], + "support": { + "issues": "https://github.com/webmozarts/assert/issues", + "source": "https://github.com/webmozarts/assert/tree/1.11.0" + }, + "time": "2022-06-03T18:03:27+00:00" + } + ], + "packages-dev": [ + { + "name": "archtechx/enums", + "version": "v0.3.2", + "source": { + "type": "git", + "url": "https://github.com/archtechx/enums.git", + "reference": "475f45e682b0771253707f9403b704759a08da5f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/archtechx/enums/zipball/475f45e682b0771253707f9403b704759a08da5f", + "reference": "475f45e682b0771253707f9403b704759a08da5f", + "shasum": "" + }, + "require": { + "php": "^8.1" + }, + "require-dev": { + "nunomaduro/larastan": "^1.0|^2.4", + "orchestra/testbench": "^6.9|^7.0|^8.0", + "pestphp/pest": "^1.2|^2.0", + "pestphp/pest-plugin-laravel": "^1.0|^2.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "ArchTech\\Enums\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Samuel Štancl", + "email": "samuel@archte.ch" + } + ], + "description": "Helpers for making PHP enums more lovable.", + "support": { + "issues": "https://github.com/archtechx/enums/issues", + "source": "https://github.com/archtechx/enums/tree/v0.3.2" + }, + "time": "2023-02-15T13:05:41+00:00" + }, + { + "name": "composer/semver", + "version": "3.4.0", + "source": { + "type": "git", + "url": "https://github.com/composer/semver.git", + "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/semver/zipball/35e8d0af4486141bc745f23a29cc2091eb624a32", + "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32", + "shasum": "" + }, + "require": { + "php": "^5.3.2 || ^7.0 || ^8.0" + }, + "require-dev": { + "phpstan/phpstan": "^1.4", + "symfony/phpunit-bridge": "^4.2 || ^5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Composer\\Semver\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nils Adermann", + "email": "naderman@naderman.de", + "homepage": "http://www.naderman.de" + }, + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + }, + { + "name": "Rob Bast", + "email": "rob.bast@gmail.com", + "homepage": "http://robbast.nl" + } + ], + "description": "Semver library that offers utilities, version constraint parsing and validation.", + "keywords": [ + "semantic", + "semver", + "validation", + "versioning" + ], + "support": { + "irc": "ircs://irc.libera.chat:6697/composer", + "issues": "https://github.com/composer/semver/issues", + "source": "https://github.com/composer/semver/tree/3.4.0" + }, + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" + } + ], + "time": "2023-08-31T09:50:34+00:00" + }, + { + "name": "dealerdirect/phpcodesniffer-composer-installer", + "version": "v1.0.0", + "source": { + "type": "git", + "url": "https://github.com/PHPCSStandards/composer-installer.git", + "reference": "4be43904336affa5c2f70744a348312336afd0da" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/PHPCSStandards/composer-installer/zipball/4be43904336affa5c2f70744a348312336afd0da", + "reference": "4be43904336affa5c2f70744a348312336afd0da", + "shasum": "" + }, + "require": { + "composer-plugin-api": "^1.0 || ^2.0", + "php": ">=5.4", + "squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0" + }, + "require-dev": { + "composer/composer": "*", + "ext-json": "*", + "ext-zip": "*", + "php-parallel-lint/php-parallel-lint": "^1.3.1", + "phpcompatibility/php-compatibility": "^9.0", + "yoast/phpunit-polyfills": "^1.0" + }, + "type": "composer-plugin", + "extra": { + "class": "PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin" + }, + "autoload": { + "psr-4": { + "PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Franck Nijhof", + "email": "franck.nijhof@dealerdirect.com", + "homepage": "http://www.frenck.nl", + "role": "Developer / IT Manager" + }, + { + "name": "Contributors", + "homepage": "https://github.com/PHPCSStandards/composer-installer/graphs/contributors" + } + ], + "description": "PHP_CodeSniffer Standards Composer Installer Plugin", + "homepage": "http://www.dealerdirect.com", + "keywords": [ + "PHPCodeSniffer", + "PHP_CodeSniffer", + "code quality", + "codesniffer", + "composer", + "installer", + "phpcbf", + "phpcs", + "plugin", + "qa", + "quality", + "standard", + "standards", + "style guide", + "stylecheck", + "tests" + ], + "support": { + "issues": "https://github.com/PHPCSStandards/composer-installer/issues", + "source": "https://github.com/PHPCSStandards/composer-installer" + }, + "time": "2023-01-05T11:28:13+00:00" + }, + { + "name": "doctrine/cache", + "version": "2.2.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/cache.git", + "reference": "1ca8f21980e770095a31456042471a57bc4c68fb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/cache/zipball/1ca8f21980e770095a31456042471a57bc4c68fb", + "reference": "1ca8f21980e770095a31456042471a57bc4c68fb", + "shasum": "" + }, + "require": { + "php": "~7.1 || ^8.0" + }, + "conflict": { + "doctrine/common": ">2.2,<2.4" + }, + "require-dev": { + "cache/integration-tests": "dev-master", + "doctrine/coding-standard": "^9", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "psr/cache": "^1.0 || ^2.0 || ^3.0", + "symfony/cache": "^4.4 || ^5.4 || ^6", + "symfony/var-exporter": "^4.4 || ^5.4 || ^6" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Common\\Cache\\": "lib/Doctrine/Common/Cache" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + }, + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" + } + ], + "description": "PHP Doctrine Cache library is a popular cache implementation that supports many different drivers such as redis, memcache, apc, mongodb and others.", + "homepage": "https://www.doctrine-project.org/projects/cache.html", + "keywords": [ + "abstraction", + "apcu", + "cache", + "caching", + "couchdb", + "memcached", + "php", + "redis", + "xcache" + ], + "support": { + "issues": "https://github.com/doctrine/cache/issues", + "source": "https://github.com/doctrine/cache/tree/2.2.0" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fcache", + "type": "tidelift" + } + ], + "time": "2022-05-20T20:07:39+00:00" + }, + { + "name": "doctrine/dbal", + "version": "3.7.1", + "source": { + "type": "git", + "url": "https://github.com/doctrine/dbal.git", + "reference": "5b7bd66c9ff58c04c5474ab85edce442f8081cb2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/5b7bd66c9ff58c04c5474ab85edce442f8081cb2", + "reference": "5b7bd66c9ff58c04c5474ab85edce442f8081cb2", + "shasum": "" + }, + "require": { + "composer-runtime-api": "^2", + "doctrine/cache": "^1.11|^2.0", + "doctrine/deprecations": "^0.5.3|^1", + "doctrine/event-manager": "^1|^2", + "php": "^7.4 || ^8.0", + "psr/cache": "^1|^2|^3", + "psr/log": "^1|^2|^3" + }, + "require-dev": { + "doctrine/coding-standard": "12.0.0", + "fig/log-test": "^1", + "jetbrains/phpstorm-stubs": "2023.1", + "phpstan/phpstan": "1.10.35", + "phpstan/phpstan-strict-rules": "^1.5", + "phpunit/phpunit": "9.6.13", + "psalm/plugin-phpunit": "0.18.4", + "slevomat/coding-standard": "8.13.1", + "squizlabs/php_codesniffer": "3.7.2", + "symfony/cache": "^5.4|^6.0", + "symfony/console": "^4.4|^5.4|^6.0", + "vimeo/psalm": "4.30.0" + }, + "suggest": { + "symfony/console": "For helpful console commands such as SQL execution and import of files." + }, + "bin": [ + "bin/doctrine-dbal" + ], + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\DBAL\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + }, + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com" + } + ], + "description": "Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.", + "homepage": "https://www.doctrine-project.org/projects/dbal.html", + "keywords": [ + "abstraction", + "database", + "db2", + "dbal", + "mariadb", + "mssql", + "mysql", + "oci8", + "oracle", + "pdo", + "pgsql", + "postgresql", + "queryobject", + "sasql", + "sql", + "sqlite", + "sqlserver", + "sqlsrv" + ], + "support": { + "issues": "https://github.com/doctrine/dbal/issues", + "source": "https://github.com/doctrine/dbal/tree/3.7.1" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fdbal", + "type": "tidelift" + } + ], + "time": "2023-10-06T05:06:20+00:00" + }, + { + "name": "doctrine/deprecations", + "version": "1.1.2", + "source": { + "type": "git", + "url": "https://github.com/doctrine/deprecations.git", + "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/deprecations/zipball/4f2d4f2836e7ec4e7a8625e75c6aa916004db931", + "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^9", + "phpstan/phpstan": "1.4.10 || 1.10.15", + "phpstan/phpstan-phpunit": "^1.0", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "psalm/plugin-phpunit": "0.18.4", + "psr/log": "^1 || ^2 || ^3", + "vimeo/psalm": "4.30.0 || 5.12.0" + }, + "suggest": { + "psr/log": "Allows logging deprecations via PSR-3 logger implementation" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Deprecations\\": "lib/Doctrine/Deprecations" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 logging with options to disable all deprecations or selectively for packages.", + "homepage": "https://www.doctrine-project.org/", + "support": { + "issues": "https://github.com/doctrine/deprecations/issues", + "source": "https://github.com/doctrine/deprecations/tree/1.1.2" + }, + "time": "2023-09-27T20:04:15+00:00" + }, + { + "name": "doctrine/event-manager", + "version": "2.0.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/event-manager.git", + "reference": "750671534e0241a7c50ea5b43f67e23eb5c96f32" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/event-manager/zipball/750671534e0241a7c50ea5b43f67e23eb5c96f32", + "reference": "750671534e0241a7c50ea5b43f67e23eb5c96f32", + "shasum": "" + }, + "require": { + "php": "^8.1" + }, + "conflict": { + "doctrine/common": "<2.9" + }, + "require-dev": { + "doctrine/coding-standard": "^10", + "phpstan/phpstan": "^1.8.8", + "phpunit/phpunit": "^9.5", + "vimeo/psalm": "^4.28" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Common\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + }, + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" + }, + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com" + } + ], + "description": "The Doctrine Event Manager is a simple PHP event system that was built to be used with the various Doctrine projects.", + "homepage": "https://www.doctrine-project.org/projects/event-manager.html", + "keywords": [ + "event", + "event dispatcher", + "event manager", + "event system", + "events" + ], + "support": { + "issues": "https://github.com/doctrine/event-manager/issues", + "source": "https://github.com/doctrine/event-manager/tree/2.0.0" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fevent-manager", + "type": "tidelift" + } + ], + "time": "2022-10-12T20:59:15+00:00" + }, + { + "name": "dragon-code/contracts", + "version": "v2.20.0", + "source": { + "type": "git", + "url": "https://github.com/TheDragonCode/contracts.git", + "reference": "410d35bec404f465a126bb1e672f3abe1150f5d7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/TheDragonCode/contracts/zipball/410d35bec404f465a126bb1e672f3abe1150f5d7", + "reference": "410d35bec404f465a126bb1e672f3abe1150f5d7", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0", + "psr/http-message": "^1.0.1 || ^2.0", + "symfony/http-kernel": "^4.0 || ^5.0 || ^6.0", + "symfony/polyfill-php80": "^1.23" + }, + "conflict": { + "andrey-helldar/contracts": "*" + }, + "require-dev": { + "illuminate/database": "^10.0", + "phpdocumentor/reflection-docblock": "^5.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "DragonCode\\Contracts\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Andrey Helldar", + "email": "helldar@dragon-code.pro", + "homepage": "https://github.com/andrey-helldar" + } + ], + "description": "A set of contracts for any project", + "keywords": [ + "contracts", + "interfaces" + ], + "support": { + "source": "https://github.com/TheDragonCode/contracts" + }, + "funding": [ + { + "url": "https://boosty.to/dragon-code", + "type": "boosty" + }, + { + "url": "https://github.com/sponsors/TheDragonCode", + "type": "github" + }, + { + "url": "https://opencollective.com/dragon-code", + "type": "open_collective" + }, + { + "url": "https://yoomoney.ru/to/410012608840929", + "type": "yoomoney" + } + ], + "time": "2023-06-02T11:06:31+00:00" + }, + { + "name": "dragon-code/pretty-array", + "version": "v4.1.0", + "source": { + "type": "git", + "url": "https://github.com/TheDragonCode/pretty-array.git", + "reference": "6c84e2454491b414efbd37985c322712cdf9012f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/TheDragonCode/pretty-array/zipball/6c84e2454491b414efbd37985c322712cdf9012f", + "reference": "6c84e2454491b414efbd37985c322712cdf9012f", + "shasum": "" + }, + "require": { + "dragon-code/contracts": "^2.20", + "dragon-code/support": "^6.11.2", + "ext-dom": "*", + "ext-mbstring": "*", + "php": "^8.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.6 || ^10.2" + }, + "suggest": { + "symfony/thanks": "Give thanks (in the form of a GitHub) to your fellow PHP package maintainers" + }, + "type": "library", + "autoload": { + "psr-4": { + "DragonCode\\PrettyArray\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Andrey Helldar", + "email": "helldar@dragon-code.pro", + "homepage": "https://github.com/andrey-helldar" + } + ], + "description": "Simple conversion of an array to a pretty view", + "keywords": [ + "andrey helldar", + "array", + "dragon", + "dragon code", + "pretty", + "pretty array" + ], + "support": { + "issues": "https://github.com/TheDragonCode/pretty-array/issues", + "source": "https://github.com/TheDragonCode/pretty-array" + }, + "funding": [ + { + "url": "https://boosty.to/dragon-code", + "type": "boosty" + }, + { + "url": "https://github.com/sponsors/TheDragonCode", + "type": "github" + }, + { + "url": "https://opencollective.com/dragon-code", + "type": "open_collective" + }, + { + "url": "https://yoomoney.ru/to/410012608840929", + "type": "yoomoney" + } + ], + "time": "2023-06-02T11:37:44+00:00" + }, + { + "name": "dragon-code/support", + "version": "v6.11.3", + "source": { + "type": "git", + "url": "https://github.com/TheDragonCode/support.git", + "reference": "3dbf1715e83e216ae1fea31eecc022829dc864df" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/TheDragonCode/support/zipball/3dbf1715e83e216ae1fea31eecc022829dc864df", + "reference": "3dbf1715e83e216ae1fea31eecc022829dc864df", + "shasum": "" + }, + "require": { + "dragon-code/contracts": "^2.19.1", + "ext-bcmath": "*", + "ext-ctype": "*", + "ext-dom": "*", + "ext-json": "*", + "ext-mbstring": "*", + "php": "^8.0", + "psr/http-message": "^1.0.1 || ^2.0", + "symfony/polyfill-php81": "^1.25", + "voku/portable-ascii": "^1.4.8 || ^2.0.1" + }, + "conflict": { + "andrey-helldar/support": "*" + }, + "require-dev": { + "illuminate/contracts": "^9.0 || ^10.0", + "phpunit/phpunit": "^9.6", + "symfony/var-dumper": "^6.0" + }, + "suggest": { + "dragon-code/laravel-support": "Various helper files for the Laravel and Lumen frameworks", + "symfony/thanks": "Give thanks (in the form of a GitHub) to your fellow PHP package maintainers" + }, + "type": "library", + "extra": { + "dragon-code": { + "docs-generator": { + "preview": { + "brand": "php", + "vendor": "The Dragon Code" + } + } + } + }, + "autoload": { + "psr-4": { + "DragonCode\\Support\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Andrey Helldar", + "email": "helldar@dragon-code.pro", + "homepage": "https://github.com/andrey-helldar" + } + ], + "description": "Support package is a collection of helpers and tools for any project.", + "keywords": [ + "dragon", + "dragon-code", + "framework", + "helper", + "helpers", + "laravel", + "php", + "support", + "symfony", + "yii", + "yii2" + ], + "support": { + "issues": "https://github.com/TheDragonCode/support/issues", + "source": "https://github.com/TheDragonCode/support" + }, + "funding": [ + { + "url": "https://boosty.to/dragon-code", + "type": "boosty" + }, + { + "url": "https://www.donationalerts.com/r/dragon_code", + "type": "donationalerts" + }, + { + "url": "https://github.com/sponsors/TheDragonCode", + "type": "github" + }, + { + "url": "https://opencollective.com/dragon-code", + "type": "open_collective" + }, + { + "url": "https://yoomoney.ru/to/410012608840929", + "type": "yoomoney" + } + ], + "time": "2023-08-03T09:43:52+00:00" + }, + { + "name": "fakerphp/faker", + "version": "v1.23.0", + "source": { + "type": "git", + "url": "https://github.com/FakerPHP/Faker.git", + "reference": "e3daa170d00fde61ea7719ef47bb09bb8f1d9b01" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/e3daa170d00fde61ea7719ef47bb09bb8f1d9b01", + "reference": "e3daa170d00fde61ea7719ef47bb09bb8f1d9b01", + "shasum": "" + }, + "require": { + "php": "^7.4 || ^8.0", + "psr/container": "^1.0 || ^2.0", + "symfony/deprecation-contracts": "^2.2 || ^3.0" + }, + "conflict": { + "fzaninotto/faker": "*" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.4.1", + "doctrine/persistence": "^1.3 || ^2.0", + "ext-intl": "*", + "phpunit/phpunit": "^9.5.26", + "symfony/phpunit-bridge": "^5.4.16" + }, + "suggest": { + "doctrine/orm": "Required to use Faker\\ORM\\Doctrine", + "ext-curl": "Required by Faker\\Provider\\Image to download images.", + "ext-dom": "Required by Faker\\Provider\\HtmlLorem for generating random HTML.", + "ext-iconv": "Required by Faker\\Provider\\ru_RU\\Text::realText() for generating real Russian text.", + "ext-mbstring": "Required for multibyte Unicode string functionality." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "v1.21-dev" + } + }, + "autoload": { + "psr-4": { + "Faker\\": "src/Faker/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "François Zaninotto" + } + ], + "description": "Faker is a PHP library that generates fake data for you.", + "keywords": [ + "data", + "faker", + "fixtures" + ], + "support": { + "issues": "https://github.com/FakerPHP/Faker/issues", + "source": "https://github.com/FakerPHP/Faker/tree/v1.23.0" + }, + "time": "2023-06-12T08:44:38+00:00" + }, + { + "name": "filp/whoops", + "version": "2.15.3", + "source": { + "type": "git", + "url": "https://github.com/filp/whoops.git", + "reference": "c83e88a30524f9360b11f585f71e6b17313b7187" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/filp/whoops/zipball/c83e88a30524f9360b11f585f71e6b17313b7187", + "reference": "c83e88a30524f9360b11f585f71e6b17313b7187", + "shasum": "" + }, + "require": { + "php": "^5.5.9 || ^7.0 || ^8.0", + "psr/log": "^1.0.1 || ^2.0 || ^3.0" + }, + "require-dev": { + "mockery/mockery": "^0.9 || ^1.0", + "phpunit/phpunit": "^4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.3", + "symfony/var-dumper": "^2.6 || ^3.0 || ^4.0 || ^5.0" + }, + "suggest": { + "symfony/var-dumper": "Pretty print complex values better with var-dumper available", + "whoops/soap": "Formats errors as SOAP responses" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.7-dev" + } + }, + "autoload": { + "psr-4": { + "Whoops\\": "src/Whoops/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Filipe Dobreira", + "homepage": "https://github.com/filp", + "role": "Developer" + } + ], + "description": "php error handling for cool kids", + "homepage": "https://filp.github.io/whoops/", + "keywords": [ + "error", + "exception", + "handling", + "library", + "throwable", + "whoops" + ], + "support": { + "issues": "https://github.com/filp/whoops/issues", + "source": "https://github.com/filp/whoops/tree/2.15.3" + }, + "funding": [ + { + "url": "https://github.com/denis-sokolov", + "type": "github" + } + ], + "time": "2023-07-13T12:00:00+00:00" + }, + { + "name": "hamcrest/hamcrest-php", + "version": "v2.0.1", + "source": { + "type": "git", + "url": "https://github.com/hamcrest/hamcrest-php.git", + "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", + "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", + "shasum": "" + }, + "require": { + "php": "^5.3|^7.0|^8.0" + }, + "replace": { + "cordoval/hamcrest-php": "*", + "davedevelopment/hamcrest-php": "*", + "kodova/hamcrest-php": "*" + }, + "require-dev": { + "phpunit/php-file-iterator": "^1.4 || ^2.0", + "phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.1-dev" + } + }, + "autoload": { + "classmap": [ + "hamcrest" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "This is the PHP port of Hamcrest Matchers", + "keywords": [ + "test" + ], + "support": { + "issues": "https://github.com/hamcrest/hamcrest-php/issues", + "source": "https://github.com/hamcrest/hamcrest-php/tree/v2.0.1" + }, + "time": "2020-07-09T08:09:16+00:00" + }, + { + "name": "laravel-lang/attributes", + "version": "2.5.0", + "source": { + "type": "git", + "url": "https://github.com/Laravel-Lang/attributes.git", + "reference": "c2a1611dd716e9c6bf7646a866a45e0087aa9cdf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Laravel-Lang/attributes/zipball/c2a1611dd716e9c6bf7646a866a45e0087aa9cdf", + "reference": "c2a1611dd716e9c6bf7646a866a45e0087aa9cdf", + "shasum": "" + }, + "require": { + "ext-json": "*", + "laravel-lang/publisher": "^14.0 || ^15.0", + "php": "^8.1" + }, + "require-dev": { + "laravel-lang/status-generator": "^1.19 || ^2.0", + "phpunit/phpunit": "^10.0", + "symfony/var-dumper": "^6.0" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "LaravelLang\\Attributes\\ServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "LaravelLang\\Attributes\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Andrey Helldar", + "email": "helldar@dragon-code.pro" + }, + { + "name": "Laravel-Lang Team", + "homepage": "https://github.com/Laravel-Lang" + } + ], + "description": "List of 78 languages for form field names", + "keywords": [ + "attributes", + "fields", + "form", + "lang", + "languages", + "laravel", + "messages", + "translations", + "validation" + ], + "support": { + "issues": "https://github.com/Laravel-Lang/attributes/issues", + "source": "https://github.com/Laravel-Lang/attributes/tree/2.5.0" + }, + "funding": [ + { + "url": "https://opencollective.com/laravel-lang", + "type": "open_collective" + } + ], + "time": "2023-10-30T12:07:10+00:00" + }, + { + "name": "laravel-lang/common", + "version": "4.1.1", + "source": { + "type": "git", + "url": "https://github.com/Laravel-Lang/common.git", + "reference": "0da7d05913b66a7f9edd712016d737059c74ae00" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Laravel-Lang/common/zipball/0da7d05913b66a7f9edd712016d737059c74ae00", + "reference": "0da7d05913b66a7f9edd712016d737059c74ae00", + "shasum": "" + }, + "require": { + "laravel-lang/attributes": "^2.4.1", + "laravel-lang/http-statuses": "^3.4.5", + "laravel-lang/lang": "^13.2.8", + "laravel-lang/locales": "^1.4", + "laravel-lang/publisher": "^14.7.1", + "php": "^8.1" + }, + "require-dev": { + "orchestra/testbench": "^8.14", + "phpunit/phpunit": "^10.4.2", + "symfony/var-dumper": "^6.3.6" + }, + "type": "library", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Laravel-Lang Team", + "homepage": "https://github.com/Laravel-Lang" + }, + { + "name": "Andrey Helldar", + "email": "helldar@dragon-code.pro", + "homepage": "https://github.com/andrey-helldar" + } + ], + "description": "Easily connect the necessary language packs to the application", + "keywords": [ + "Laravel-lang", + "attribute", + "attributes", + "breeze", + "cashier", + "fortify", + "framework", + "http", + "http-status", + "http-status-code", + "i18n", + "jetstream", + "lang", + "language", + "languages", + "laravel", + "locale", + "locales", + "localization", + "localizations", + "nova", + "publisher", + "spark", + "translation", + "translations", + "ui" + ], + "support": { + "issues": "https://github.com/Laravel-Lang/common/issues", + "source": "https://github.com/Laravel-Lang/common" + }, + "funding": [ + { + "url": "https://opencollective.com/laravel-lang", + "type": "open_collective" + } + ], + "time": "2023-10-30T08:56:35+00:00" + }, + { + "name": "laravel-lang/http-statuses", + "version": "3.5.0", + "source": { + "type": "git", + "url": "https://github.com/Laravel-Lang/http-statuses.git", + "reference": "66ccd21ec0f364d94ed7dad9bc1e47a6ab21ce3d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Laravel-Lang/http-statuses/zipball/66ccd21ec0f364d94ed7dad9bc1e47a6ab21ce3d", + "reference": "66ccd21ec0f364d94ed7dad9bc1e47a6ab21ce3d", + "shasum": "" + }, + "require": { + "ext-json": "*", + "laravel-lang/publisher": "^14.1 || ^15.0", + "php": "^8.1" + }, + "conflict": { + "laravel-lang/publisher": "<14.0" + }, + "require-dev": { + "laravel-lang/status-generator": "^1.19 || ^2.0", + "phpunit/phpunit": "^10.0", + "symfony/var-dumper": "^6.0" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "LaravelLang\\HttpStatuses\\ServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "LaravelLang\\HttpStatuses\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Andrey Helldar", + "email": "helldar@dragon-code.pro" + }, + { + "name": "Laravel-Lang Team", + "homepage": "https://github.com/Laravel-Lang" + } + ], + "description": "List of 78 languages for HTTP statuses", + "keywords": [ + "http", + "lang", + "languages", + "laravel", + "messages", + "status", + "translations" + ], + "support": { + "issues": "https://github.com/Laravel-Lang/http-statuses/issues", + "source": "https://github.com/Laravel-Lang/http-statuses/tree/3.5.0" + }, + "funding": [ + { + "url": "https://opencollective.com/laravel-lang", + "type": "open_collective" + } + ], + "time": "2023-10-30T11:58:07+00:00" + }, + { + "name": "laravel-lang/lang", + "version": "13.3.0", + "source": { + "type": "git", + "url": "https://github.com/Laravel-Lang/lang.git", + "reference": "15776be325aafc14d2914b9073740a6a7b737019" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Laravel-Lang/lang/zipball/15776be325aafc14d2914b9073740a6a7b737019", + "reference": "15776be325aafc14d2914b9073740a6a7b737019", + "shasum": "" + }, + "require": { + "ext-json": "*", + "laravel-lang/publisher": "^14.0 || ^15.0", + "php": "^8.1" + }, + "require-dev": { + "laravel-lang/status-generator": "^1.19 || ^2.0", + "phpunit/phpunit": "^10.0", + "symfony/var-dumper": "^6.0" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "LaravelLang\\Lang\\ServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "LaravelLang\\Lang\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Laravel-Lang Team", + "homepage": "https://github.com/Laravel-Lang" + } + ], + "description": "List of 78 languages for Laravel Framework, Laravel Jetstream, Laravel Fortify, Laravel Breeze, Laravel Cashier, Laravel Nova, Laravel Spark and Laravel UI", + "keywords": [ + "lang", + "languages", + "laravel", + "lpm" + ], + "support": { + "issues": "https://github.com/Laravel-Lang/lang/issues", + "source": "https://github.com/Laravel-Lang/lang" + }, + "funding": [ + { + "url": "https://opencollective.com/laravel-lang", + "type": "open_collective" + } + ], + "time": "2023-10-30T12:14:48+00:00" + }, + { + "name": "laravel-lang/locales", + "version": "1.5.0", + "source": { + "type": "git", + "url": "https://github.com/Laravel-Lang/locales.git", + "reference": "ddb08a2f0c33e77a6e8c49c0140150df835e7371" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Laravel-Lang/locales/zipball/ddb08a2f0c33e77a6e8c49c0140150df835e7371", + "reference": "ddb08a2f0c33e77a6e8c49c0140150df835e7371", + "shasum": "" + }, + "require": { + "archtechx/enums": "^0.3.2", + "dragon-code/support": "^6.11.3", + "ext-json": "*", + "illuminate/collections": "^10.0", + "php": "^8.1" + }, + "require-dev": { + "orchestra/testbench": "^8.0", + "pestphp/pest": "^2.24.1", + "symfony/var-dumper": "^6.0" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "LaravelLang\\Locales\\ServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "LaravelLang\\Locales\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Andrey Helldar", + "email": "helldar@dragon-code.pro" + }, + { + "name": "Laravel-Lang Team", + "homepage": "https://laravel-lang.com" + } + ], + "description": "Basic functionality for working with localizations", + "keywords": [ + "laravel", + "locale", + "locales", + "localization", + "translation", + "translations" + ], + "support": { + "issues": "https://github.com/Laravel-Lang/locales/issues", + "source": "https://github.com/Laravel-Lang/locales" + }, + "funding": [ + { + "url": "https://opencollective.com/laravel-lang", + "type": "open_collective" + } + ], + "time": "2023-10-30T10:40:51+00:00" + }, + { + "name": "laravel-lang/publisher", + "version": "14.7.1", + "source": { + "type": "git", + "url": "https://github.com/Laravel-Lang/publisher.git", + "reference": "946405e3d8c7105b0ae8cf8de34a3e6e98a70a84" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Laravel-Lang/publisher/zipball/946405e3d8c7105b0ae8cf8de34a3e6e98a70a84", + "reference": "946405e3d8c7105b0ae8cf8de34a3e6e98a70a84", + "shasum": "" + }, + "require": { + "archtechx/enums": "^0.3", + "composer/semver": "^3.3", + "dragon-code/pretty-array": "^4.0", + "dragon-code/support": "^6.3", + "ext-json": "*", + "illuminate/console": "^8.79 || ^9.18 || ^10.0 || ^11.0", + "illuminate/support": "^8.79 || ^9.18 || ^10.0 || ^11.0", + "league/commonmark": "^2.3", + "league/config": "^1.2", + "php": "^8.1" + }, + "conflict": { + "laravel-lang/attributes": "<2.0", + "laravel-lang/http-statuses": "<3.0", + "laravel-lang/lang": "<11.0" + }, + "require-dev": { + "laravel-lang/json-fallback-hotfix": "^1.0", + "orchestra/testbench": "^6.25 || ^7.22 || ^8.0 || ^9.0", + "phpunit/phpunit": "^9.6 || ^10.0", + "symfony/var-dumper": "^5.0 || ^6.0" + }, + "suggest": { + "laravel-lang/attributes": "List of 78 languages for form field names", + "laravel-lang/http-statuses": "List of 78 languages for HTTP statuses", + "laravel-lang/lang": "List of 78 languages for Laravel Framework, Jetstream, Fortify, Breeze, Cashier, Nova, Spark and UI." + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "LaravelLang\\Publisher\\ServiceProvider" + ] + } + }, + "autoload": { + "files": [ + "helper.php" + ], + "psr-4": { + "LaravelLang\\Publisher\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Andrey Helldar", + "email": "helldar@dragon-code.pro" + }, + { + "name": "Laravel-Lang Team", + "homepage": "https://github.com/Laravel-Lang" + } + ], + "description": "Publisher lang files for the Laravel and Lumen Frameworks, Jetstream, Fortify, Cashier, Spark and Nova from Laravel-Lang/lang", + "keywords": [ + "breeze", + "cashier", + "fortify", + "framework", + "i18n", + "jetstream", + "lang", + "languages", + "laravel", + "locale", + "locales", + "localization", + "lpm", + "lumen", + "nova", + "publisher", + "spark", + "trans", + "translations", + "validations" + ], + "support": { + "issues": "https://github.com/Laravel-Lang/publisher/issues", + "source": "https://github.com/Laravel-Lang/publisher" + }, + "funding": [ + { + "url": "https://opencollective.com/laravel-lang", + "type": "open_collective" + } + ], + "time": "2023-10-29T21:03:27+00:00" + }, + { + "name": "laravel/pint", + "version": "v1.13.5", + "source": { + "type": "git", + "url": "https://github.com/laravel/pint.git", + "reference": "df105cf8ce7a8f0b8a9425ff45cd281a5448e423" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/pint/zipball/df105cf8ce7a8f0b8a9425ff45cd281a5448e423", + "reference": "df105cf8ce7a8f0b8a9425ff45cd281a5448e423", + "shasum": "" + }, + "require": { + "ext-json": "*", + "ext-mbstring": "*", + "ext-tokenizer": "*", + "ext-xml": "*", + "php": "^8.1.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.34.1", + "illuminate/view": "^10.26.2", + "laravel-zero/framework": "^10.1.2", + "mockery/mockery": "^1.6.6", + "nunomaduro/larastan": "^2.6.4", + "nunomaduro/termwind": "^1.15.1", + "pestphp/pest": "^2.20.0" + }, + "bin": [ + "builds/pint" + ], + "type": "project", + "autoload": { + "psr-4": { + "App\\": "app/", + "Database\\Seeders\\": "database/seeders/", + "Database\\Factories\\": "database/factories/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nuno Maduro", + "email": "enunomaduro@gmail.com" + } + ], + "description": "An opinionated code formatter for PHP.", + "homepage": "https://laravel.com", + "keywords": [ + "format", + "formatter", + "lint", + "linter", + "php" + ], + "support": { + "issues": "https://github.com/laravel/pint/issues", + "source": "https://github.com/laravel/pint" + }, + "time": "2023-10-26T09:26:10+00:00" + }, + { + "name": "laravel/sail", + "version": "v1.26.0", + "source": { + "type": "git", + "url": "https://github.com/laravel/sail.git", + "reference": "c60fe037004e272efd0d81f416ed2bfc623d70b4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/sail/zipball/c60fe037004e272efd0d81f416ed2bfc623d70b4", + "reference": "c60fe037004e272efd0d81f416ed2bfc623d70b4", + "shasum": "" + }, + "require": { + "illuminate/console": "^9.0|^10.0|^11.0", + "illuminate/contracts": "^9.0|^10.0|^11.0", + "illuminate/support": "^9.0|^10.0|^11.0", + "php": "^8.0", + "symfony/yaml": "^6.0|^7.0" + }, + "require-dev": { + "orchestra/testbench": "^7.0|^8.0|^9.0", + "phpstan/phpstan": "^1.10" + }, + "bin": [ + "bin/sail" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + }, + "laravel": { + "providers": [ + "Laravel\\Sail\\SailServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Laravel\\Sail\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "Docker files for running a basic Laravel application.", + "keywords": [ + "docker", + "laravel" + ], + "support": { + "issues": "https://github.com/laravel/sail/issues", + "source": "https://github.com/laravel/sail" + }, + "time": "2023-10-18T13:57:15+00:00" + }, + { + "name": "mockery/mockery", + "version": "1.6.6", + "source": { + "type": "git", + "url": "https://github.com/mockery/mockery.git", + "reference": "b8e0bb7d8c604046539c1115994632c74dcb361e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/mockery/mockery/zipball/b8e0bb7d8c604046539c1115994632c74dcb361e", + "reference": "b8e0bb7d8c604046539c1115994632c74dcb361e", + "shasum": "" + }, + "require": { + "hamcrest/hamcrest-php": "^2.0.1", + "lib-pcre": ">=7.0", + "php": ">=7.3" + }, + "conflict": { + "phpunit/phpunit": "<8.0" + }, + "require-dev": { + "phpunit/phpunit": "^8.5 || ^9.6.10", + "psalm/plugin-phpunit": "^0.18.4", + "symplify/easy-coding-standard": "^11.5.0", + "vimeo/psalm": "^4.30" + }, + "type": "library", + "autoload": { + "files": [ + "library/helpers.php", + "library/Mockery.php" + ], + "psr-4": { + "Mockery\\": "library/Mockery" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Pádraic Brady", + "email": "padraic.brady@gmail.com", + "homepage": "https://github.com/padraic", + "role": "Author" + }, + { + "name": "Dave Marshall", + "email": "dave.marshall@atstsolutions.co.uk", + "homepage": "https://davedevelopment.co.uk", + "role": "Developer" + }, + { + "name": "Nathanael Esayeas", + "email": "nathanael.esayeas@protonmail.com", + "homepage": "https://github.com/ghostwriter", + "role": "Lead Developer" + } + ], + "description": "Mockery is a simple yet flexible PHP mock object framework", + "homepage": "https://github.com/mockery/mockery", + "keywords": [ + "BDD", + "TDD", + "library", + "mock", + "mock objects", + "mockery", + "stub", + "test", + "test double", + "testing" + ], + "support": { + "docs": "https://docs.mockery.io/", + "issues": "https://github.com/mockery/mockery/issues", + "rss": "https://github.com/mockery/mockery/releases.atom", + "security": "https://github.com/mockery/mockery/security/advisories", + "source": "https://github.com/mockery/mockery" + }, + "time": "2023-08-09T00:03:52+00:00" + }, + { + "name": "myclabs/deep-copy", + "version": "1.11.1", + "source": { + "type": "git", + "url": "https://github.com/myclabs/DeepCopy.git", + "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", + "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "conflict": { + "doctrine/collections": "<1.6.8", + "doctrine/common": "<2.13.3 || >=3,<3.2.2" + }, + "require-dev": { + "doctrine/collections": "^1.6.8", + "doctrine/common": "^2.13.3 || ^3.2.2", + "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" + }, + "type": "library", + "autoload": { + "files": [ + "src/DeepCopy/deep_copy.php" + ], + "psr-4": { + "DeepCopy\\": "src/DeepCopy/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Create deep copies (clones) of your objects", + "keywords": [ + "clone", + "copy", + "duplicate", + "object", + "object graph" + ], + "support": { + "issues": "https://github.com/myclabs/DeepCopy/issues", + "source": "https://github.com/myclabs/DeepCopy/tree/1.11.1" + }, + "funding": [ + { + "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", + "type": "tidelift" + } + ], + "time": "2023-03-08T13:26:56+00:00" + }, + { + "name": "nunomaduro/collision", + "version": "v7.10.0", + "source": { + "type": "git", + "url": "https://github.com/nunomaduro/collision.git", + "reference": "49ec67fa7b002712da8526678abd651c09f375b2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nunomaduro/collision/zipball/49ec67fa7b002712da8526678abd651c09f375b2", + "reference": "49ec67fa7b002712da8526678abd651c09f375b2", + "shasum": "" + }, + "require": { + "filp/whoops": "^2.15.3", + "nunomaduro/termwind": "^1.15.1", + "php": "^8.1.0", + "symfony/console": "^6.3.4" + }, + "conflict": { + "laravel/framework": ">=11.0.0" + }, + "require-dev": { + "brianium/paratest": "^7.3.0", + "laravel/framework": "^10.28.0", + "laravel/pint": "^1.13.3", + "laravel/sail": "^1.25.0", + "laravel/sanctum": "^3.3.1", + "laravel/tinker": "^2.8.2", + "nunomaduro/larastan": "^2.6.4", + "orchestra/testbench-core": "^8.13.0", + "pestphp/pest": "^2.23.2", + "phpunit/phpunit": "^10.4.1", + "sebastian/environment": "^6.0.1", + "spatie/laravel-ignition": "^2.3.1" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider" + ] + } + }, + "autoload": { + "files": [ + "./src/Adapters/Phpunit/Autoload.php" + ], + "psr-4": { + "NunoMaduro\\Collision\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nuno Maduro", + "email": "enunomaduro@gmail.com" + } + ], + "description": "Cli error handling for console/command-line PHP applications.", + "keywords": [ + "artisan", + "cli", + "command-line", + "console", + "error", + "handling", + "laravel", + "laravel-zero", + "php", + "symfony" + ], + "support": { + "issues": "https://github.com/nunomaduro/collision/issues", + "source": "https://github.com/nunomaduro/collision" + }, + "funding": [ + { + "url": "https://www.paypal.com/paypalme/enunomaduro", + "type": "custom" + }, + { + "url": "https://github.com/nunomaduro", + "type": "github" + }, + { + "url": "https://www.patreon.com/nunomaduro", + "type": "patreon" + } + ], + "time": "2023-10-11T15:45:01+00:00" + }, + { + "name": "phar-io/manifest", + "version": "2.0.3", + "source": { + "type": "git", + "url": "https://github.com/phar-io/manifest.git", + "reference": "97803eca37d319dfa7826cc2437fc020857acb53" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53", + "reference": "97803eca37d319dfa7826cc2437fc020857acb53", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-phar": "*", + "ext-xmlwriter": "*", + "phar-io/version": "^3.0.1", + "php": "^7.2 || ^8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", + "support": { + "issues": "https://github.com/phar-io/manifest/issues", + "source": "https://github.com/phar-io/manifest/tree/2.0.3" + }, + "time": "2021-07-20T11:28:43+00:00" + }, + { + "name": "phar-io/version", + "version": "3.2.1", + "source": { + "type": "git", + "url": "https://github.com/phar-io/version.git", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "description": "Library for handling version information and constraints", + "support": { + "issues": "https://github.com/phar-io/version/issues", + "source": "https://github.com/phar-io/version/tree/3.2.1" + }, + "time": "2022-02-21T01:04:05+00:00" + }, + { + "name": "phpstan/phpdoc-parser", + "version": "1.24.2", + "source": { + "type": "git", + "url": "https://github.com/phpstan/phpdoc-parser.git", + "reference": "bcad8d995980440892759db0c32acae7c8e79442" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/bcad8d995980440892759db0c32acae7c8e79442", + "reference": "bcad8d995980440892759db0c32acae7c8e79442", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "doctrine/annotations": "^2.0", + "nikic/php-parser": "^4.15", + "php-parallel-lint/php-parallel-lint": "^1.2", + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^1.5", + "phpstan/phpstan-phpunit": "^1.1", + "phpstan/phpstan-strict-rules": "^1.0", + "phpunit/phpunit": "^9.5", + "symfony/process": "^5.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "PHPStan\\PhpDocParser\\": [ + "src/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "PHPDoc parser with support for nullable, intersection and generic types", + "support": { + "issues": "https://github.com/phpstan/phpdoc-parser/issues", + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.24.2" + }, + "time": "2023-09-26T12:28:12+00:00" + }, + { + "name": "phpunit/php-code-coverage", + "version": "10.1.7", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-code-coverage.git", + "reference": "355324ca4980b8916c18b9db29f3ef484078f26e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/355324ca4980b8916c18b9db29f3ef484078f26e", + "reference": "355324ca4980b8916c18b9db29f3ef484078f26e", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-libxml": "*", + "ext-xmlwriter": "*", + "nikic/php-parser": "^4.15", + "php": ">=8.1", + "phpunit/php-file-iterator": "^4.0", + "phpunit/php-text-template": "^3.0", + "sebastian/code-unit-reverse-lookup": "^3.0", + "sebastian/complexity": "^3.0", + "sebastian/environment": "^6.0", + "sebastian/lines-of-code": "^2.0", + "sebastian/version": "^4.0", + "theseer/tokenizer": "^1.2.0" + }, + "require-dev": { + "phpunit/phpunit": "^10.1" + }, + "suggest": { + "ext-pcov": "PHP extension that provides line coverage", + "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "10.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", + "homepage": "https://github.com/sebastianbergmann/php-code-coverage", + "keywords": [ + "coverage", + "testing", + "xunit" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", + "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.7" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-10-04T15:34:17+00:00" + }, + { + "name": "phpunit/php-file-iterator", + "version": "4.1.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-file-iterator.git", + "reference": "a95037b6d9e608ba092da1b23931e537cadc3c3c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/a95037b6d9e608ba092da1b23931e537cadc3c3c", + "reference": "a95037b6d9e608ba092da1b23931e537cadc3c3c", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "FilterIterator implementation that filters files based on a list of suffixes.", + "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", + "keywords": [ + "filesystem", + "iterator" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", + "security": "https://github.com/sebastianbergmann/php-file-iterator/security/policy", + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/4.1.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-08-31T06:24:48+00:00" + }, + { + "name": "phpunit/php-invoker", + "version": "4.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-invoker.git", + "reference": "f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7", + "reference": "f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "ext-pcntl": "*", + "phpunit/phpunit": "^10.0" + }, + "suggest": { + "ext-pcntl": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Invoke callables with a timeout", + "homepage": "https://github.com/sebastianbergmann/php-invoker/", + "keywords": [ + "process" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-invoker/issues", + "source": "https://github.com/sebastianbergmann/php-invoker/tree/4.0.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T06:56:09+00:00" + }, + { + "name": "phpunit/php-text-template", + "version": "3.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-text-template.git", + "reference": "0c7b06ff49e3d5072f057eb1fa59258bf287a748" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/0c7b06ff49e3d5072f057eb1fa59258bf287a748", + "reference": "0c7b06ff49e3d5072f057eb1fa59258bf287a748", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Simple template engine.", + "homepage": "https://github.com/sebastianbergmann/php-text-template/", + "keywords": [ + "template" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-text-template/issues", + "security": "https://github.com/sebastianbergmann/php-text-template/security/policy", + "source": "https://github.com/sebastianbergmann/php-text-template/tree/3.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-08-31T14:07:24+00:00" + }, + { + "name": "phpunit/php-timer", + "version": "6.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-timer.git", + "reference": "e2a2d67966e740530f4a3343fe2e030ffdc1161d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/e2a2d67966e740530f4a3343fe2e030ffdc1161d", + "reference": "e2a2d67966e740530f4a3343fe2e030ffdc1161d", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "6.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Utility class for timing", + "homepage": "https://github.com/sebastianbergmann/php-timer/", + "keywords": [ + "timer" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-timer/issues", + "source": "https://github.com/sebastianbergmann/php-timer/tree/6.0.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T06:57:52+00:00" + }, + { + "name": "phpunit/phpunit", + "version": "10.4.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/phpunit.git", + "reference": "cacd8b9dd224efa8eb28beb69004126c7ca1a1a1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/cacd8b9dd224efa8eb28beb69004126c7ca1a1a1", + "reference": "cacd8b9dd224efa8eb28beb69004126c7ca1a1a1", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-json": "*", + "ext-libxml": "*", + "ext-mbstring": "*", + "ext-xml": "*", + "ext-xmlwriter": "*", + "myclabs/deep-copy": "^1.10.1", + "phar-io/manifest": "^2.0.3", + "phar-io/version": "^3.0.2", + "php": ">=8.1", + "phpunit/php-code-coverage": "^10.1.5", + "phpunit/php-file-iterator": "^4.0", + "phpunit/php-invoker": "^4.0", + "phpunit/php-text-template": "^3.0", + "phpunit/php-timer": "^6.0", + "sebastian/cli-parser": "^2.0", + "sebastian/code-unit": "^2.0", + "sebastian/comparator": "^5.0", + "sebastian/diff": "^5.0", + "sebastian/environment": "^6.0", + "sebastian/exporter": "^5.1", + "sebastian/global-state": "^6.0.1", + "sebastian/object-enumerator": "^5.0", + "sebastian/recursion-context": "^5.0", + "sebastian/type": "^4.0", + "sebastian/version": "^4.0" + }, + "suggest": { + "ext-soap": "To be able to generate mocks based on WSDL files" + }, + "bin": [ + "phpunit" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "10.4-dev" + } + }, + "autoload": { + "files": [ + "src/Framework/Assert/Functions.php" + ], + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "The PHP Unit Testing framework.", + "homepage": "https://phpunit.de/", + "keywords": [ + "phpunit", + "testing", + "xunit" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/phpunit/issues", + "security": "https://github.com/sebastianbergmann/phpunit/security/policy", + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.4.2" + }, + "funding": [ + { + "url": "https://phpunit.de/sponsors.html", + "type": "custom" + }, + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit", + "type": "tidelift" + } + ], + "time": "2023-10-26T07:21:45+00:00" + }, + { + "name": "psr/cache", + "version": "3.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/cache.git", + "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/cache/zipball/aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", + "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", + "shasum": "" + }, + "require": { + "php": ">=8.0.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Cache\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for caching libraries", + "keywords": [ + "cache", + "psr", + "psr-6" + ], + "support": { + "source": "https://github.com/php-fig/cache/tree/3.0.0" + }, + "time": "2021-02-03T23:26:27+00:00" + }, + { + "name": "sebastian/cli-parser", + "version": "2.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/cli-parser.git", + "reference": "efdc130dbbbb8ef0b545a994fd811725c5282cae" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/efdc130dbbbb8ef0b545a994fd811725c5282cae", + "reference": "efdc130dbbbb8ef0b545a994fd811725c5282cae", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for parsing CLI options", + "homepage": "https://github.com/sebastianbergmann/cli-parser", + "support": { + "issues": "https://github.com/sebastianbergmann/cli-parser/issues", + "source": "https://github.com/sebastianbergmann/cli-parser/tree/2.0.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T06:58:15+00:00" + }, + { + "name": "sebastian/code-unit", + "version": "2.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/code-unit.git", + "reference": "a81fee9eef0b7a76af11d121767abc44c104e503" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/a81fee9eef0b7a76af11d121767abc44c104e503", + "reference": "a81fee9eef0b7a76af11d121767abc44c104e503", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Collection of value objects that represent the PHP code units", + "homepage": "https://github.com/sebastianbergmann/code-unit", + "support": { + "issues": "https://github.com/sebastianbergmann/code-unit/issues", + "source": "https://github.com/sebastianbergmann/code-unit/tree/2.0.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T06:58:43+00:00" + }, + { + "name": "sebastian/code-unit-reverse-lookup", + "version": "3.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", + "reference": "5e3a687f7d8ae33fb362c5c0743794bbb2420a1d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/5e3a687f7d8ae33fb362c5c0743794bbb2420a1d", + "reference": "5e3a687f7d8ae33fb362c5c0743794bbb2420a1d", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Looks up which function or method a line of code belongs to", + "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", + "support": { + "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/3.0.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T06:59:15+00:00" + }, + { + "name": "sebastian/comparator", + "version": "5.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/comparator.git", + "reference": "2db5010a484d53ebf536087a70b4a5423c102372" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2db5010a484d53ebf536087a70b4a5423c102372", + "reference": "2db5010a484d53ebf536087a70b4a5423c102372", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-mbstring": "*", + "php": ">=8.1", + "sebastian/diff": "^5.0", + "sebastian/exporter": "^5.0" + }, + "require-dev": { + "phpunit/phpunit": "^10.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "5.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@2bepublished.at" + } + ], + "description": "Provides the functionality to compare PHP values for equality", + "homepage": "https://github.com/sebastianbergmann/comparator", + "keywords": [ + "comparator", + "compare", + "equality" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/comparator/issues", + "security": "https://github.com/sebastianbergmann/comparator/security/policy", + "source": "https://github.com/sebastianbergmann/comparator/tree/5.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-08-14T13:18:12+00:00" + }, + { + "name": "sebastian/complexity", + "version": "3.1.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/complexity.git", + "reference": "68cfb347a44871f01e33ab0ef8215966432f6957" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/68cfb347a44871f01e33ab0ef8215966432f6957", + "reference": "68cfb347a44871f01e33ab0ef8215966432f6957", + "shasum": "" + }, + "require": { + "nikic/php-parser": "^4.10", + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for calculating the complexity of PHP code units", + "homepage": "https://github.com/sebastianbergmann/complexity", + "support": { + "issues": "https://github.com/sebastianbergmann/complexity/issues", + "security": "https://github.com/sebastianbergmann/complexity/security/policy", + "source": "https://github.com/sebastianbergmann/complexity/tree/3.1.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-09-28T11:50:59+00:00" + }, + { + "name": "sebastian/diff", + "version": "5.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/diff.git", + "reference": "912dc2fbe3e3c1e7873313cc801b100b6c68c87b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/912dc2fbe3e3c1e7873313cc801b100b6c68c87b", + "reference": "912dc2fbe3e3c1e7873313cc801b100b6c68c87b", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0", + "symfony/process": "^4.2 || ^5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "5.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Kore Nordmann", + "email": "mail@kore-nordmann.de" + } + ], + "description": "Diff implementation", + "homepage": "https://github.com/sebastianbergmann/diff", + "keywords": [ + "diff", + "udiff", + "unidiff", + "unified diff" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/diff/issues", + "security": "https://github.com/sebastianbergmann/diff/security/policy", + "source": "https://github.com/sebastianbergmann/diff/tree/5.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-05-01T07:48:21+00:00" + }, + { + "name": "sebastian/environment", + "version": "6.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/environment.git", + "reference": "43c751b41d74f96cbbd4e07b7aec9675651e2951" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/43c751b41d74f96cbbd4e07b7aec9675651e2951", + "reference": "43c751b41d74f96cbbd4e07b7aec9675651e2951", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "suggest": { + "ext-posix": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "6.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides functionality to handle HHVM/PHP environments", + "homepage": "https://github.com/sebastianbergmann/environment", + "keywords": [ + "Xdebug", + "environment", + "hhvm" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/environment/issues", + "security": "https://github.com/sebastianbergmann/environment/security/policy", + "source": "https://github.com/sebastianbergmann/environment/tree/6.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-04-11T05:39:26+00:00" + }, + { + "name": "sebastian/exporter", + "version": "5.1.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/exporter.git", + "reference": "64f51654862e0f5e318db7e9dcc2292c63cdbddc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/64f51654862e0f5e318db7e9dcc2292c63cdbddc", + "reference": "64f51654862e0f5e318db7e9dcc2292c63cdbddc", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "php": ">=8.1", + "sebastian/recursion-context": "^5.0" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "5.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Provides the functionality to export PHP variables for visualization", + "homepage": "https://www.github.com/sebastianbergmann/exporter", + "keywords": [ + "export", + "exporter" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/exporter/issues", + "security": "https://github.com/sebastianbergmann/exporter/security/policy", + "source": "https://github.com/sebastianbergmann/exporter/tree/5.1.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-09-24T13:22:09+00:00" + }, + { + "name": "sebastian/global-state", + "version": "6.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/global-state.git", + "reference": "7ea9ead78f6d380d2a667864c132c2f7b83055e4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/7ea9ead78f6d380d2a667864c132c2f7b83055e4", + "reference": "7ea9ead78f6d380d2a667864c132c2f7b83055e4", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "sebastian/object-reflector": "^3.0", + "sebastian/recursion-context": "^5.0" + }, + "require-dev": { + "ext-dom": "*", + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "6.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Snapshotting of global state", + "homepage": "http://www.github.com/sebastianbergmann/global-state", + "keywords": [ + "global state" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/global-state/issues", + "security": "https://github.com/sebastianbergmann/global-state/security/policy", + "source": "https://github.com/sebastianbergmann/global-state/tree/6.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-07-19T07:19:23+00:00" + }, + { + "name": "sebastian/lines-of-code", + "version": "2.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/lines-of-code.git", + "reference": "649e40d279e243d985aa8fb6e74dd5bb28dc185d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/649e40d279e243d985aa8fb6e74dd5bb28dc185d", + "reference": "649e40d279e243d985aa8fb6e74dd5bb28dc185d", + "shasum": "" + }, + "require": { + "nikic/php-parser": "^4.10", + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for counting the lines of code in PHP source code", + "homepage": "https://github.com/sebastianbergmann/lines-of-code", + "support": { + "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", + "security": "https://github.com/sebastianbergmann/lines-of-code/security/policy", + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/2.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-08-31T09:25:50+00:00" + }, + { + "name": "sebastian/object-enumerator", + "version": "5.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/object-enumerator.git", + "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/202d0e344a580d7f7d04b3fafce6933e59dae906", + "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "sebastian/object-reflector": "^3.0", + "sebastian/recursion-context": "^5.0" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "5.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Traverses array structures and object graphs to enumerate all referenced objects", + "homepage": "https://github.com/sebastianbergmann/object-enumerator/", + "support": { + "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/5.0.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T07:08:32+00:00" + }, + { + "name": "sebastian/object-reflector", + "version": "3.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/object-reflector.git", + "reference": "24ed13d98130f0e7122df55d06c5c4942a577957" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/24ed13d98130f0e7122df55d06c5c4942a577957", + "reference": "24ed13d98130f0e7122df55d06c5c4942a577957", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Allows reflection of object attributes, including inherited and non-public ones", + "homepage": "https://github.com/sebastianbergmann/object-reflector/", + "support": { + "issues": "https://github.com/sebastianbergmann/object-reflector/issues", + "source": "https://github.com/sebastianbergmann/object-reflector/tree/3.0.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T07:06:18+00:00" + }, + { + "name": "sebastian/recursion-context", + "version": "5.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/recursion-context.git", + "reference": "05909fb5bc7df4c52992396d0116aed689f93712" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/05909fb5bc7df4c52992396d0116aed689f93712", + "reference": "05909fb5bc7df4c52992396d0116aed689f93712", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "5.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + } + ], + "description": "Provides functionality to recursively process PHP variables", + "homepage": "https://github.com/sebastianbergmann/recursion-context", + "support": { + "issues": "https://github.com/sebastianbergmann/recursion-context/issues", + "source": "https://github.com/sebastianbergmann/recursion-context/tree/5.0.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T07:05:40+00:00" + }, + { + "name": "sebastian/type", + "version": "4.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/type.git", + "reference": "462699a16464c3944eefc02ebdd77882bd3925bf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/462699a16464c3944eefc02ebdd77882bd3925bf", + "reference": "462699a16464c3944eefc02ebdd77882bd3925bf", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Collection of value objects that represent the types of the PHP type system", + "homepage": "https://github.com/sebastianbergmann/type", + "support": { + "issues": "https://github.com/sebastianbergmann/type/issues", + "source": "https://github.com/sebastianbergmann/type/tree/4.0.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T07:10:45+00:00" + }, + { + "name": "sebastian/version", + "version": "4.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/version.git", + "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c51fa83a5d8f43f1402e3f32a005e6262244ef17", + "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library that helps with managing the version number of Git-hosted PHP projects", + "homepage": "https://github.com/sebastianbergmann/version", + "support": { + "issues": "https://github.com/sebastianbergmann/version/issues", + "source": "https://github.com/sebastianbergmann/version/tree/4.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-07T11:34:05+00:00" + }, + { + "name": "slevomat/coding-standard", + "version": "8.14.1", + "source": { + "type": "git", + "url": "https://github.com/slevomat/coding-standard.git", + "reference": "fea1fd6f137cc84f9cba0ae30d549615dbc6a926" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/fea1fd6f137cc84f9cba0ae30d549615dbc6a926", + "reference": "fea1fd6f137cc84f9cba0ae30d549615dbc6a926", + "shasum": "" + }, + "require": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7 || ^1.0", + "php": "^7.2 || ^8.0", + "phpstan/phpdoc-parser": "^1.23.1", + "squizlabs/php_codesniffer": "^3.7.1" + }, + "require-dev": { + "phing/phing": "2.17.4", + "php-parallel-lint/php-parallel-lint": "1.3.2", + "phpstan/phpstan": "1.10.37", + "phpstan/phpstan-deprecation-rules": "1.1.4", + "phpstan/phpstan-phpunit": "1.3.14", + "phpstan/phpstan-strict-rules": "1.5.1", + "phpunit/phpunit": "8.5.21|9.6.8|10.3.5" + }, + "type": "phpcodesniffer-standard", + "extra": { + "branch-alias": { + "dev-master": "8.x-dev" + } + }, + "autoload": { + "psr-4": { + "SlevomatCodingStandard\\": "SlevomatCodingStandard/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Slevomat Coding Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.", + "keywords": [ + "dev", + "phpcs" + ], + "support": { + "issues": "https://github.com/slevomat/coding-standard/issues", + "source": "https://github.com/slevomat/coding-standard/tree/8.14.1" + }, + "funding": [ + { + "url": "https://github.com/kukulich", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/slevomat/coding-standard", + "type": "tidelift" + } + ], + "time": "2023-10-08T07:28:08+00:00" + }, + { + "name": "spatie/backtrace", + "version": "1.5.3", + "source": { + "type": "git", + "url": "https://github.com/spatie/backtrace.git", + "reference": "483f76a82964a0431aa836b6ed0edde0c248e3ab" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/backtrace/zipball/483f76a82964a0431aa836b6ed0edde0c248e3ab", + "reference": "483f76a82964a0431aa836b6ed0edde0c248e3ab", + "shasum": "" + }, + "require": { + "php": "^7.3|^8.0" + }, + "require-dev": { + "ext-json": "*", + "phpunit/phpunit": "^9.3", + "spatie/phpunit-snapshot-assertions": "^4.2", + "symfony/var-dumper": "^5.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "Spatie\\Backtrace\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van de Herten", + "email": "freek@spatie.be", + "homepage": "https://spatie.be", + "role": "Developer" + } + ], + "description": "A better backtrace", + "homepage": "https://github.com/spatie/backtrace", + "keywords": [ + "Backtrace", + "spatie" + ], + "support": { + "source": "https://github.com/spatie/backtrace/tree/1.5.3" + }, + "funding": [ + { + "url": "https://github.com/sponsors/spatie", + "type": "github" + }, + { + "url": "https://spatie.be/open-source/support-us", + "type": "other" + } + ], + "time": "2023-06-28T12:59:17+00:00" + }, + { + "name": "spatie/flare-client-php", + "version": "1.4.3", + "source": { + "type": "git", + "url": "https://github.com/spatie/flare-client-php.git", + "reference": "5db2fdd743c3ede33f2a5367d89ec1a7c9c1d1ec" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/flare-client-php/zipball/5db2fdd743c3ede33f2a5367d89ec1a7c9c1d1ec", + "reference": "5db2fdd743c3ede33f2a5367d89ec1a7c9c1d1ec", + "shasum": "" + }, + "require": { + "illuminate/pipeline": "^8.0|^9.0|^10.0|^11.0", + "nesbot/carbon": "^2.62.1", + "php": "^8.0", + "spatie/backtrace": "^1.5.2", + "symfony/http-foundation": "^5.2|^6.0|^7.0", + "symfony/mime": "^5.2|^6.0|^7.0", + "symfony/process": "^5.2|^6.0|^7.0", + "symfony/var-dumper": "^5.2|^6.0|^7.0" + }, + "require-dev": { + "dms/phpunit-arraysubset-asserts": "^0.5.0", + "pestphp/pest": "^1.20|^2.0", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-phpunit": "^1.0", + "spatie/phpunit-snapshot-assertions": "^4.0|^5.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.3.x-dev" + } + }, + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Spatie\\FlareClient\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Send PHP errors to Flare", + "homepage": "https://github.com/spatie/flare-client-php", + "keywords": [ + "exception", + "flare", + "reporting", + "spatie" + ], + "support": { + "issues": "https://github.com/spatie/flare-client-php/issues", + "source": "https://github.com/spatie/flare-client-php/tree/1.4.3" + }, + "funding": [ + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2023-10-17T15:54:07+00:00" + }, + { + "name": "spatie/ignition", + "version": "1.11.3", + "source": { + "type": "git", + "url": "https://github.com/spatie/ignition.git", + "reference": "3d886de644ff7a5b42e4d27c1e1f67c8b5f00044" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/ignition/zipball/3d886de644ff7a5b42e4d27c1e1f67c8b5f00044", + "reference": "3d886de644ff7a5b42e4d27c1e1f67c8b5f00044", + "shasum": "" + }, + "require": { + "ext-json": "*", + "ext-mbstring": "*", + "php": "^8.0", + "spatie/backtrace": "^1.5.3", + "spatie/flare-client-php": "^1.4.0", + "symfony/console": "^5.4|^6.0|^7.0", + "symfony/var-dumper": "^5.4|^6.0|^7.0" + }, + "require-dev": { + "illuminate/cache": "^9.52|^10.0|^11.0", + "mockery/mockery": "^1.4", + "pestphp/pest": "^1.20|^2.0", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-phpunit": "^1.0", + "psr/simple-cache-implementation": "*", + "symfony/cache": "^5.4|^6.0|^7.0", + "symfony/process": "^5.4|^6.0|^7.0", + "vlucas/phpdotenv": "^5.5" + }, + "suggest": { + "openai-php/client": "Require get solutions from OpenAI", + "simple-cache-implementation": "To cache solutions from OpenAI" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.5.x-dev" + } + }, + "autoload": { + "psr-4": { + "Spatie\\Ignition\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Spatie", + "email": "info@spatie.be", + "role": "Developer" + } + ], + "description": "A beautiful error page for PHP applications.", + "homepage": "https://flareapp.io/ignition", + "keywords": [ + "error", + "flare", + "laravel", + "page" + ], + "support": { + "docs": "https://flareapp.io/docs/ignition-for-laravel/introduction", + "forum": "https://twitter.com/flareappio", + "issues": "https://github.com/spatie/ignition/issues", + "source": "https://github.com/spatie/ignition" + }, + "funding": [ + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2023-10-18T14:09:40+00:00" + }, + { + "name": "spatie/laravel-ignition", + "version": "2.3.1", + "source": { + "type": "git", + "url": "https://github.com/spatie/laravel-ignition.git", + "reference": "bf21cd15aa47fa4ec5d73bbc932005c70261efc8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/bf21cd15aa47fa4ec5d73bbc932005c70261efc8", + "reference": "bf21cd15aa47fa4ec5d73bbc932005c70261efc8", + "shasum": "" + }, + "require": { + "ext-curl": "*", + "ext-json": "*", + "ext-mbstring": "*", + "illuminate/support": "^10.0", + "php": "^8.1", + "spatie/flare-client-php": "^1.3.5", + "spatie/ignition": "^1.9", + "symfony/console": "^6.2.3", + "symfony/var-dumper": "^6.2.3" + }, + "require-dev": { + "livewire/livewire": "^2.11", + "mockery/mockery": "^1.5.1", + "openai-php/client": "^0.3.4", + "orchestra/testbench": "^8.0", + "pestphp/pest": "^1.22.3", + "phpstan/extension-installer": "^1.2", + "phpstan/phpstan-deprecation-rules": "^1.1.1", + "phpstan/phpstan-phpunit": "^1.3.3", + "vlucas/phpdotenv": "^5.5" + }, + "suggest": { + "openai-php/client": "Require get solutions from OpenAI", + "psr/simple-cache-implementation": "Needed to cache solutions from OpenAI" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Spatie\\LaravelIgnition\\IgnitionServiceProvider" + ], + "aliases": { + "Flare": "Spatie\\LaravelIgnition\\Facades\\Flare" + } + } + }, + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Spatie\\LaravelIgnition\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Spatie", + "email": "info@spatie.be", + "role": "Developer" + } + ], + "description": "A beautiful error page for Laravel applications.", + "homepage": "https://flareapp.io/ignition", + "keywords": [ + "error", + "flare", + "laravel", + "page" + ], + "support": { + "docs": "https://flareapp.io/docs/ignition-for-laravel/introduction", + "forum": "https://twitter.com/flareappio", + "issues": "https://github.com/spatie/laravel-ignition/issues", + "source": "https://github.com/spatie/laravel-ignition" + }, + "funding": [ + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2023-10-09T12:55:26+00:00" + }, + { + "name": "squizlabs/php_codesniffer", + "version": "3.7.2", + "source": { + "type": "git", + "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", + "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ed8e00df0a83aa96acf703f8c2979ff33341f879", + "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879", + "shasum": "" + }, + "require": { + "ext-simplexml": "*", + "ext-tokenizer": "*", + "ext-xmlwriter": "*", + "php": ">=5.4.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" + }, + "bin": [ + "bin/phpcs", + "bin/phpcbf" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.x-dev" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Greg Sherwood", + "role": "lead" + } + ], + "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.", + "homepage": "https://github.com/squizlabs/PHP_CodeSniffer", + "keywords": [ + "phpcs", + "standards", + "static analysis" + ], + "support": { + "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues", + "source": "https://github.com/squizlabs/PHP_CodeSniffer", + "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" + }, + "time": "2023-02-22T23:07:41+00:00" + }, + { + "name": "symfony/polyfill-php81", + "version": "v1.28.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php81.git", + "reference": "7581cd600fa9fd681b797d00b02f068e2f13263b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/7581cd600fa9fd681b797d00b02f068e2f13263b", + "reference": "7581cd600fa9fd681b797d00b02f068e2f13263b", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.28-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php81\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php81/tree/v1.28.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-01-26T09:26:14+00:00" + }, + { + "name": "symfony/yaml", + "version": "v6.3.7", + "source": { + "type": "git", + "url": "https://github.com/symfony/yaml.git", + "reference": "9758b6c69d179936435d0ffb577c3708d57e38a8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/yaml/zipball/9758b6c69d179936435d0ffb577c3708d57e38a8", + "reference": "9758b6c69d179936435d0ffb577c3708d57e38a8", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/polyfill-ctype": "^1.8" + }, + "conflict": { + "symfony/console": "<5.4" + }, + "require-dev": { + "symfony/console": "^5.4|^6.0" + }, + "bin": [ + "Resources/bin/yaml-lint" + ], + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Yaml\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Loads and dumps YAML files", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/yaml/tree/v6.3.7" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-10-28T23:31:00+00:00" + }, + { + "name": "thedoctor0/laravel-factory-generator", + "version": "1.3.2", + "source": { + "type": "git", + "url": "https://github.com/TheDoctor0/laravel-factory-generator.git", + "reference": "7ee56e4229b78d5f6274a4649819b2bca0bd56e3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/TheDoctor0/laravel-factory-generator/zipball/7ee56e4229b78d5f6274a4649819b2bca0bd56e3", + "reference": "7ee56e4229b78d5f6274a4649819b2bca0bd56e3", + "shasum": "" + }, + "require": { + "doctrine/dbal": "^2.9|^2.10|^3.0", + "illuminate/console": "^8.0|^9.0|^10.0", + "illuminate/filesystem": "^8.0|^9.0|^10.0", + "illuminate/support": "^8.0|^9.0|^10.0", + "php": ">=7.4" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "TheDoctor0\\LaravelFactoryGenerator\\FactoryGeneratorServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "TheDoctor0\\LaravelFactoryGenerator\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Automatically generate Laravel factories for your models.", + "keywords": [ + "factories", + "factory", + "generator", + "laravel", + "tests" + ], + "support": { + "issues": "https://github.com/TheDoctor0/laravel-factory-generator/issues", + "source": "https://github.com/TheDoctor0/laravel-factory-generator/tree/1.3.2" + }, + "funding": [ + { + "url": "https://www.paypal.me/thedoctor0", + "type": "custom" + }, + { + "url": "https://github.com/thedoctor0", + "type": "github" + } + ], + "time": "2023-04-21T16:45:43+00:00" + }, + { + "name": "theseer/tokenizer", + "version": "1.2.1", + "source": { + "type": "git", + "url": "https://github.com/theseer/tokenizer.git", + "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e", + "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-tokenizer": "*", + "ext-xmlwriter": "*", + "php": "^7.2 || ^8.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + } + ], + "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", + "support": { + "issues": "https://github.com/theseer/tokenizer/issues", + "source": "https://github.com/theseer/tokenizer/tree/1.2.1" + }, + "funding": [ + { + "url": "https://github.com/theseer", + "type": "github" + } + ], + "time": "2021-07-28T10:34:58+00:00" + } + ], + "aliases": [], + "minimum-stability": "stable", + "stability-flags": [], + "prefer-stable": true, + "prefer-lowest": false, + "platform": { + "php": "^8.2" + }, + "platform-dev": [], + "plugin-api-version": "2.3.0" +} diff --git a/config/app.php b/config/app.php new file mode 100644 index 0000000..92fc94f --- /dev/null +++ b/config/app.php @@ -0,0 +1,218 @@ + env('APP_NAME', 'Laravel'), + + /* + |-------------------------------------------------------------------------- + | Application Environment + |-------------------------------------------------------------------------- + | + | This value determines the "environment" your application is currently + | running in. This may determine how you prefer to configure various + | services the application utilizes. Set this in your ".env" file. + | + */ + + 'env' => env('APP_ENV', 'production'), + + /* + |-------------------------------------------------------------------------- + | Application Debug Mode + |-------------------------------------------------------------------------- + | + | When your application is in debug mode, detailed error messages with + | stack traces will be shown on every error that occurs within your + | application. If disabled, a simple generic error page is shown. + | + */ + + 'debug' => (bool)env('APP_DEBUG', false), + + /* + |-------------------------------------------------------------------------- + | Application URL + |-------------------------------------------------------------------------- + | + | This URL is used by the console to properly generate URLs when using + | the Artisan command line tool. You should set this to the root of + | your application so that it is used when running Artisan tasks. + | + */ + + 'url' => env('APP_URL', 'http://localhost'), + + 'asset_url' => env('ASSET_URL'), + + /* + |-------------------------------------------------------------------------- + | Application Timezone + |-------------------------------------------------------------------------- + | + | Here you may specify the default timezone for your application, which + | will be used by the PHP date and date-time functions. We have gone + | ahead and set this to a sensible default for you out of the box. + | + */ + + 'timezone' => 'Europe/Paris', + + /* + |-------------------------------------------------------------------------- + | Application Locale Configuration + |-------------------------------------------------------------------------- + | + | The application locale determines the default locale that will be used + | by the translation service provider. You are free to set this value + | to any of the locales which will be supported by the application. + | + */ + + 'locale' => 'fr', + + /* + |-------------------------------------------------------------------------- + | Application Fallback Locale + |-------------------------------------------------------------------------- + | + | The fallback locale determines the locale to use when the current one + | is not available. You may change the value to correspond to any of + | the language folders that are provided through your application. + | + */ + + 'fallback_locale' => 'fr', + + /* + |-------------------------------------------------------------------------- + | Faker Locale + |-------------------------------------------------------------------------- + | + | This locale will be used by the Faker PHP library when generating fake + | data for your database seeds. For example, this will be used to get + | localized telephone numbers, street address information and more. + | + */ + + 'faker_locale' => 'fr_FR', + + /* + |-------------------------------------------------------------------------- + | Encryption Key + |-------------------------------------------------------------------------- + | + | This key is used by the Illuminate encrypter service and should be set + | to a random, 32 character string, otherwise these encrypted strings + | will not be safe. Please do this before deploying an application! + | + */ + + 'key' => env('APP_KEY'), + + 'cipher' => 'AES-256-CBC', + + /* + |-------------------------------------------------------------------------- + | Maintenance Mode Driver + |-------------------------------------------------------------------------- + | + | These configuration options determine the driver used to determine and + | manage Laravel's "maintenance mode" status. The "cache" driver will + | allow maintenance mode to be controlled across multiple machines. + | + | Supported drivers: "file", "cache" + | + */ + + 'maintenance' => [ + 'driver' => 'file' + ], + + /* + |-------------------------------------------------------------------------- + | Autoloaded Service Providers + |-------------------------------------------------------------------------- + | + | The service providers listed here will be automatically loaded on the + | request to your application. Feel free to add your own services to + | this array to grant expanded functionality to your applications. + | + */ + + 'providers' => [ + + /* + * Laravel Framework Service Providers... + */ + + Illuminate\Auth\AuthServiceProvider::class, + Illuminate\Broadcasting\BroadcastServiceProvider::class, + Illuminate\Bus\BusServiceProvider::class, + Illuminate\Cache\CacheServiceProvider::class, + Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class, + Illuminate\Cookie\CookieServiceProvider::class, + Illuminate\Database\DatabaseServiceProvider::class, + Illuminate\Encryption\EncryptionServiceProvider::class, + Illuminate\Filesystem\FilesystemServiceProvider::class, + Illuminate\Foundation\Providers\FoundationServiceProvider::class, + Illuminate\Hashing\HashServiceProvider::class, + Illuminate\Mail\MailServiceProvider::class, + Illuminate\Notifications\NotificationServiceProvider::class, + Illuminate\Pagination\PaginationServiceProvider::class, + Illuminate\Pipeline\PipelineServiceProvider::class, + Illuminate\Queue\QueueServiceProvider::class, + Illuminate\Redis\RedisServiceProvider::class, + Illuminate\Auth\Passwords\PasswordResetServiceProvider::class, + Illuminate\Session\SessionServiceProvider::class, + Illuminate\Translation\TranslationServiceProvider::class, + Illuminate\Validation\ValidationServiceProvider::class, + Illuminate\View\ViewServiceProvider::class, + + /* + * Package Service Providers... + */ + + /* + * Application Service Providers... + */ + + App\Providers\AppServiceProvider::class, + App\Providers\AuthServiceProvider::class, + App\Providers\EventServiceProvider::class, + App\Providers\RouteServiceProvider::class, + App\Providers\TranslationServiceProvider::class, + App\Providers\ViewServiceProvider::class, + App\Providers\CrmApiServiceProvider::class, + App\Providers\MesBrServiceProvider::class, + ], + + /* + |-------------------------------------------------------------------------- + | Class Aliases + |-------------------------------------------------------------------------- + | + | This array of class aliases will be registered when this application + | is started. However, feel free to register as many as you wish as + | the aliases are "lazy" loaded so they don't hinder performance. + | + */ + + 'aliases' => Facade::defaultAliases()->merge([ + 'Carbon' => \Illuminate\Support\Carbon::class, + ])->toArray(), + +]; diff --git a/config/auth.php b/config/auth.php new file mode 100644 index 0000000..fe3cedd --- /dev/null +++ b/config/auth.php @@ -0,0 +1,120 @@ + [ + 'guard' => 'frontend', + 'passwords' => 'users', + ], + + /* + |-------------------------------------------------------------------------- + | Authentication Guards + |-------------------------------------------------------------------------- + | + | Next, you may define every authentication guard for your application. + | Of course, a great default configuration has been defined for you + | here which uses session storage and the Eloquent user provider. + | + | All authentication drivers have a user provider. This defines how the + | users are actually retrieved out of your database or other storage + | mechanisms used by this application to persist your user's data. + | + | Supported: "session" + | + */ + + 'guards' => [ + 'backend' => [ + 'driver' => 'session', + 'provider' => 'users', + ], + + 'frontend' => [ + 'driver' => 'session', + 'provider' => 'customers', + ], + ], + + /* + |-------------------------------------------------------------------------- + | User Providers + |-------------------------------------------------------------------------- + | + | All authentication drivers have a user provider. This defines how the + | users are actually retrieved out of your database or other storage + | mechanisms used by this application to persist your user's data. + | + | If you have multiple user tables or models you may configure multiple + | sources which represent each model / table. These sources may then + | be assigned to any extra authentication guards you have defined. + | + | Supported: "database", "eloquent" + | + */ + + // * Added "crm" Provider (AuthServiceProvider) + 'providers' => [ + 'users' => [ + 'driver' => 'eloquent', + 'model' => \App\Models\User::class, + ], + 'customers' => [ + 'driver' => 'crm', + 'model' => App\Models\Customer::class, + ], + ], + + /* + |-------------------------------------------------------------------------- + | Resetting Passwords + |-------------------------------------------------------------------------- + | + | You may specify multiple password reset configurations if you have more + | than one user table or model in the application and you want to have + | separate password reset settings based on the specific user types. + | + | The expiry time is the number of minutes that each reset token will be + | considered valid. This security feature keeps tokens short-lived so + | they have less time to be guessed. You may change this as needed. + | + | The throttle setting is the number of seconds a user must wait before + | generating more password reset tokens. This prevents the user from + | quickly generating a very large amount of password reset tokens. + | + */ + + 'passwords' => [ + 'customers' => [ + 'provider' => 'customers', + 'table' => 'password_resets', + 'expire' => 60, + 'throttle' => 60, + ], + ], + + /* + |-------------------------------------------------------------------------- + | Password Confirmation Timeout + |-------------------------------------------------------------------------- + | + | Here you may define the amount of seconds before a password confirmation + | times out and the user is prompted to re-enter their password via the + | confirmation screen. By default, the timeout lasts for three hours. + | + */ + + 'password_timeout' => 10800, + +]; diff --git a/config/breadcrumbs.php b/config/breadcrumbs.php new file mode 100644 index 0000000..6c96342 --- /dev/null +++ b/config/breadcrumbs.php @@ -0,0 +1,78 @@ + 'modules/breadcrumbs/breadcrumb-layout', + + /* + |-------------------------------------------------------------------------- + | Breadcrumbs File(s) + |-------------------------------------------------------------------------- + | + | The file(s) where breadcrumbs are defined. e.g. + | + | - base_path('routes/breadcrumbs.php') + | - glob(base_path('breadcrumbs/*.php')) + | + */ + + 'files' => [ + base_path('routes/breadcrumbs-bo.php'), + base_path('routes/breadcrumbs-fo.php'), + ], + + /* + |-------------------------------------------------------------------------- + | Exceptions + |-------------------------------------------------------------------------- + | + | Determine when to throw an exception. + | + */ + + // * When route-bound breadcrumbs are used but the current route doesn't have a name (UnnamedRouteException) + 'unnamed-route-exception' => true, + + // * When route-bound breadcrumbs are used and the matching breadcrumb doesn't exist (InvalidBreadcrumbException) + 'missing-route-bound-breadcrumb-exception' => true, + + // * When a named breadcrumb is used but doesn't exist (InvalidBreadcrumbException) + 'invalid-named-breadcrumb-exception' => true, + + /* + |-------------------------------------------------------------------------- + | Classes + |-------------------------------------------------------------------------- + | + | Subclass the default classes for more advanced customisations. + | + */ + + // * Manager + 'manager-class' => Diglactic\Breadcrumbs\Manager::class, + + // * Generator + 'generator-class' => Diglactic\Breadcrumbs\Generator::class, + +]; diff --git a/config/broadcasting.php b/config/broadcasting.php new file mode 100644 index 0000000..ae079a6 --- /dev/null +++ b/config/broadcasting.php @@ -0,0 +1,70 @@ + env('BROADCAST_DRIVER', 'null'), + + /* + |-------------------------------------------------------------------------- + | Broadcast Connections + |-------------------------------------------------------------------------- + | + | Here you may define all of the broadcast connections that will be used + | to broadcast events to other systems or over websockets. Samples of + | each available type of connection are provided inside this array. + | + */ + + 'connections' => [ + + 'pusher' => [ + 'driver' => 'pusher', + 'key' => env('PUSHER_APP_KEY'), + 'secret' => env('PUSHER_APP_SECRET'), + 'app_id' => env('PUSHER_APP_ID'), + 'options' => [ + 'host' => env('PUSHER_HOST') ?: 'api-' . env('PUSHER_APP_CLUSTER', 'mt1') . '.pusher.com', + 'port' => env('PUSHER_PORT', 443), + 'scheme' => env('PUSHER_SCHEME', 'https'), + 'encrypted' => true, + 'useTLS' => env('PUSHER_SCHEME', 'https') === 'https', + ], + 'client_options' => [ + // Guzzle client options: https://docs.guzzlephp.org/en/stable/request-options.html . + ], + ], + + 'ably' => [ + 'driver' => 'ably', + 'key' => env('ABLY_KEY'), + ], + + 'redis' => [ + 'driver' => 'redis', + 'connection' => 'default', + ], + + 'log' => [ + 'driver' => 'log', + ], + + 'null' => [ + 'driver' => 'null', + ], + + ], + +]; diff --git a/config/cache.php b/config/cache.php new file mode 100644 index 0000000..8e0f9c7 --- /dev/null +++ b/config/cache.php @@ -0,0 +1,110 @@ + env('CACHE_DRIVER', 'file'), + + /* + |-------------------------------------------------------------------------- + | Cache Stores + |-------------------------------------------------------------------------- + | + | Here you may define all of the cache "stores" for your application as + | well as their drivers. You may even define multiple stores for the + | same cache driver to group types of items stored in your caches. + | + | Supported drivers: "apc", "array", "database", "file", + | "memcached", "redis", "dynamodb", "octane", "null" + | + */ + + 'stores' => [ + + 'apc' => [ + 'driver' => 'apc', + ], + + 'array' => [ + 'driver' => 'array', + 'serialize' => false, + ], + + 'database' => [ + 'driver' => 'database', + 'table' => 'cache', + 'connection' => null, + 'lock_connection' => null, + ], + + 'file' => [ + 'driver' => 'file', + 'path' => storage_path('framework/cache/data'), + ], + + 'memcached' => [ + 'driver' => 'memcached', + 'persistent_id' => env('MEMCACHED_PERSISTENT_ID'), + 'sasl' => [ + env('MEMCACHED_USERNAME'), + env('MEMCACHED_PASSWORD'), + ], + 'options' => [ + // Memcached::OPT_CONNECT_TIMEOUT => 2000, . + ], + 'servers' => [ + [ + 'host' => env('MEMCACHED_HOST', '127.0.0.1'), + 'port' => env('MEMCACHED_PORT', 11211), + 'weight' => 100, + ], + ], + ], + + 'redis' => [ + 'driver' => 'redis', + 'connection' => 'cache', + 'lock_connection' => 'default', + ], + + 'dynamodb' => [ + 'driver' => 'dynamodb', + 'key' => env('AWS_ACCESS_KEY_ID'), + 'secret' => env('AWS_SECRET_ACCESS_KEY'), + 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), + 'table' => env('DYNAMODB_CACHE_TABLE', 'cache'), + 'endpoint' => env('DYNAMODB_ENDPOINT'), + ], + + 'octane' => [ + 'driver' => 'octane', + ], + + ], + + /* + |-------------------------------------------------------------------------- + | Cache Key Prefix + |-------------------------------------------------------------------------- + | + | When utilizing the APC, database, memcached, Redis, or DynamoDB cache + | stores there might be other applications using the same cache. For + | that reason, you may prefix every cache key to avoid collisions. + | + */ + + 'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_') . '_cache_'), + +]; diff --git a/config/cors.php b/config/cors.php new file mode 100644 index 0000000..caccf68 --- /dev/null +++ b/config/cors.php @@ -0,0 +1,34 @@ + ['api/*'], + + 'allowed_methods' => ['*'], + + 'allowed_origins' => ['*'], + + 'allowed_origins_patterns' => [], + + 'allowed_headers' => ['*'], + + 'exposed_headers' => [], + + 'max_age' => 0, + + 'supports_credentials' => false, + +]; diff --git a/config/crm copy.php b/config/crm copy.php new file mode 100644 index 0000000..ff4932f --- /dev/null +++ b/config/crm copy.php @@ -0,0 +1,7 @@ + env('CRM_ENDPOINT'), + 'token' => env('CRM_TOKEN'), + 'password' => env('CRM_PASSWORD') +]; diff --git a/config/crm.php b/config/crm.php new file mode 100644 index 0000000..ff4932f --- /dev/null +++ b/config/crm.php @@ -0,0 +1,7 @@ + env('CRM_ENDPOINT'), + 'token' => env('CRM_TOKEN'), + 'password' => env('CRM_PASSWORD') +]; diff --git a/config/database.php b/config/database.php new file mode 100644 index 0000000..9dfe93d --- /dev/null +++ b/config/database.php @@ -0,0 +1,149 @@ + env('DB_CONNECTION', 'mysql'), + + /* + |-------------------------------------------------------------------------- + | Database Connections + |-------------------------------------------------------------------------- + | + | Here are each of the database connections setup for your application. + | Of course, examples of configuring each database platform that is + | supported by Laravel is shown below to make development simple. + | + | + | All database work in Laravel is done through the PHP PDO facilities + | so make sure you have the driver for your particular database of + | choice installed on your machine before you begin development. + | + */ + + 'connections' => [ + + 'sqlite' => [ + 'driver' => 'sqlite', + 'url' => env('DATABASE_URL'), + 'database' => env('DB_DATABASE', database_path('database.sqlite')), + 'prefix' => '', + 'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true), + ], + + 'mysql' => [ + 'driver' => 'mysql', + 'url' => env('DATABASE_URL'), + 'host' => env('DB_HOST', '127.0.0.1'), + 'port' => env('DB_PORT', '3306'), + 'database' => env('DB_DATABASE', 'forge'), + 'username' => env('DB_USERNAME', 'forge'), + 'password' => env('DB_PASSWORD', ''), + 'unix_socket' => env('DB_SOCKET', ''), + 'charset' => 'utf8mb4', + 'collation' => 'utf8mb4_unicode_ci', + 'prefix' => '', + 'prefix_indexes' => true, + 'strict' => true, + 'engine' => null, + 'options' => extension_loaded('pdo_mysql') ? array_filter([ + PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'), + ]) : [], + ], + + 'pgsql' => [ + 'driver' => 'pgsql', + 'url' => env('DATABASE_URL'), + 'host' => env('DB_HOST', '127.0.0.1'), + 'port' => env('DB_PORT', '5432'), + 'database' => env('DB_DATABASE', 'forge'), + 'username' => env('DB_USERNAME', 'forge'), + 'password' => env('DB_PASSWORD', ''), + 'charset' => 'utf8', + 'prefix' => '', + 'prefix_indexes' => true, + 'search_path' => 'public', + 'sslmode' => 'prefer', + ], + + 'sqlsrv' => [ + 'driver' => 'sqlsrv', + 'url' => env('DATABASE_URL'), + 'host' => env('DB_HOST', 'localhost'), + 'port' => env('DB_PORT', '1433'), + 'database' => env('DB_DATABASE', 'forge'), + 'username' => env('DB_USERNAME', 'forge'), + 'password' => env('DB_PASSWORD', ''), + 'charset' => 'utf8', + 'prefix' => '', + 'prefix_indexes' => true, + ], + + ], + + /* + |-------------------------------------------------------------------------- + | Migration Repository Table + |-------------------------------------------------------------------------- + | + | This table keeps track of all the migrations that have already run for + | your application. Using this information, we can determine which of + | the migrations on disk haven't actually been run in the database. + | + */ + + 'migrations' => 'migrations', + + /* + |-------------------------------------------------------------------------- + | Redis Databases + |-------------------------------------------------------------------------- + | + | Redis is an open source, fast, and advanced key-value store that also + | provides a richer body of commands than a typical key-value system + | such as APC or Memcached. Laravel makes it easy to dig right in. + | + */ + + 'redis' => [ + + 'client' => env('REDIS_CLIENT', 'phpredis'), + + 'options' => [ + 'cluster' => env('REDIS_CLUSTER', 'redis'), + 'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_') . '_database_'), + ], + + 'default' => [ + 'url' => env('REDIS_URL'), + 'host' => env('REDIS_HOST', '127.0.0.1'), + 'username' => env('REDIS_USERNAME'), + 'password' => env('REDIS_PASSWORD'), + 'port' => env('REDIS_PORT', '6379'), + 'database' => env('REDIS_DB', '0'), + ], + + 'cache' => [ + 'url' => env('REDIS_URL'), + 'host' => env('REDIS_HOST', '127.0.0.1'), + 'username' => env('REDIS_USERNAME'), + 'password' => env('REDIS_PASSWORD'), + 'port' => env('REDIS_PORT', '6379'), + 'database' => env('REDIS_CACHE_DB', '1'), + ], + + ], + +]; diff --git a/config/filesystems.php b/config/filesystems.php new file mode 100644 index 0000000..89920a5 --- /dev/null +++ b/config/filesystems.php @@ -0,0 +1,83 @@ + env('FILESYSTEM_DISK', 'local'), + + /* + |-------------------------------------------------------------------------- + | Filesystem Disks + |-------------------------------------------------------------------------- + | + | Here you may configure as many filesystem "disks" as you wish, and you + | may even configure multiple disks of the same driver. Defaults have + | been set up for each driver as an example of the required values. + | + | Supported Drivers: "local", "ftp", "sftp", "s3" + | + */ + + 'disks' => [ + + 'local' => [ + 'driver' => 'local', + 'root' => storage_path('app'), + 'throw' => false, + ], + + 'public' => [ + 'driver' => 'local', + 'root' => storage_path('app/public'), + 'url' => env('APP_URL') . '/storage', + 'visibility' => 'public', + 'throw' => false, + ], + + 'private' => [ + 'driver' => 'local', + 'root' => storage_path('app/private'), + 'visibility' => 'private', + 'throw' => false, + ], + + 's3' => [ + 'driver' => 's3', + 'key' => env('AWS_ACCESS_KEY_ID'), + 'secret' => env('AWS_SECRET_ACCESS_KEY'), + 'region' => env('AWS_DEFAULT_REGION'), + 'bucket' => env('AWS_BUCKET'), + 'url' => env('AWS_URL'), + 'endpoint' => env('AWS_ENDPOINT'), + 'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false), + 'throw' => false, + ], + + ], + + /* + |-------------------------------------------------------------------------- + | Symbolic Links + |-------------------------------------------------------------------------- + | + | Here you may configure the symbolic links that will be created when the + | `storage:link` Artisan command is executed. The array keys should be + | the locations of the links and the values should be their targets. + | + */ + + 'links' => [ + public_path('storage') => storage_path('app/public'), + ], + +]; diff --git a/config/hashing.php b/config/hashing.php new file mode 100644 index 0000000..be29b34 --- /dev/null +++ b/config/hashing.php @@ -0,0 +1,52 @@ + 'bcrypt', + + /* + |-------------------------------------------------------------------------- + | Bcrypt Options + |-------------------------------------------------------------------------- + | + | Here you may specify the configuration options that should be used when + | passwords are hashed using the Bcrypt algorithm. This will allow you + | to control the amount of time it takes to hash the given password. + | + */ + + 'bcrypt' => [ + 'rounds' => env('BCRYPT_ROUNDS', 12), + ], + + /* + |-------------------------------------------------------------------------- + | Argon Options + |-------------------------------------------------------------------------- + | + | Here you may specify the configuration options that should be used when + | passwords are hashed using the Argon algorithm. These will allow you + | to control the amount of time it takes to hash the given password. + | + */ + + 'argon' => [ + 'memory' => 65536, + 'threads' => 1, + 'time' => 4, + ], + +]; diff --git a/config/logging.php b/config/logging.php new file mode 100644 index 0000000..5906e47 --- /dev/null +++ b/config/logging.php @@ -0,0 +1,148 @@ + env('LOG_CHANNEL', 'stack'), + + /* + |-------------------------------------------------------------------------- + | Deprecations Log Channel + |-------------------------------------------------------------------------- + | + | This option controls the log channel that should be used to log warnings + | regarding deprecated PHP and library features. This allows you to get + | your application ready for upcoming major versions of dependencies. + | + */ + + 'deprecations' => [ + 'channel' => env('LOG_DEPRECATIONS_CHANNEL', 'null'), + 'trace' => false, + ], + + /* + |-------------------------------------------------------------------------- + | Log Channels + |-------------------------------------------------------------------------- + | + | Here you may configure the log channels for your application. Out of + | the box, Laravel uses the Monolog PHP logging library. This gives + | you a variety of powerful log handlers / formatters to utilize. + | + | Available Drivers: "single", "daily", "slack", "syslog", + | "errorlog", "monolog", + | "custom", "stack" + | + */ + + 'channels' => [ + 'stack' => [ + 'driver' => 'stack', + 'channels' => ['single'], + 'ignore_exceptions' => false, + ], + + 'single' => [ + 'driver' => 'single', + 'path' => storage_path('logs/laravel.log'), + 'level' => env('LOG_LEVEL', 'debug'), + 'replace_placeholders' => true, + ], + + 'daily' => [ + 'driver' => 'daily', + 'path' => storage_path('logs/laravel.log'), + 'level' => env('LOG_LEVEL', 'debug'), + 'days' => 14, + 'replace_placeholders' => true, + ], + + 'slack' => [ + 'driver' => 'slack', + 'url' => env('LOG_SLACK_WEBHOOK_URL'), + 'username' => 'Laravel Log', + 'emoji' => ':boom:', + 'level' => env('LOG_LEVEL', 'critical'), + 'replace_placeholders' => true, + ], + + 'papertrail' => [ + 'driver' => 'monolog', + 'level' => env('LOG_LEVEL', 'debug'), + 'handler' => env('LOG_PAPERTRAIL_HANDLER', SyslogUdpHandler::class), + 'handler_with' => [ + 'host' => env('PAPERTRAIL_URL'), + 'port' => env('PAPERTRAIL_PORT'), + 'connectionString' => 'tls://' . env('PAPERTRAIL_URL') . ':' . env('PAPERTRAIL_PORT'), + ], + 'processors' => [PsrLogMessageProcessor::class], + ], + + 'stderr' => [ + 'driver' => 'monolog', + 'level' => env('LOG_LEVEL', 'debug'), + 'handler' => StreamHandler::class, + 'formatter' => env('LOG_STDERR_FORMATTER'), + 'with' => [ + 'stream' => 'php://stderr', + ], + 'processors' => [PsrLogMessageProcessor::class], + ], + + 'syslog' => [ + 'driver' => 'syslog', + 'level' => env('LOG_LEVEL', 'debug'), + 'facility' => LOG_USER, + 'replace_placeholders' => true, + ], + + 'errorlog' => [ + 'driver' => 'errorlog', + 'level' => env('LOG_LEVEL', 'debug'), + 'replace_placeholders' => true, + ], + + 'null' => [ + 'driver' => 'monolog', + 'handler' => NullHandler::class, + ], + + 'emergency' => [ + 'path' => storage_path('logs/laravel.log'), + ], + + 'stdout' => [ + 'driver' => 'monolog', + 'level' => env('LOG_LEVEL', 'debug'), + 'handler' => StreamHandler::class, + 'formatter' => env('LOG_STDOUT_FORMATTER'), + 'with' => [ + 'stream' => 'php://stdout', + ], + ], + + 'k8s' => [ + 'driver' => 'stack', + 'channels' => ['daily', 'stdout'], + 'ignore_exceptions' => false, + ], + + ], + +]; diff --git a/config/mail.php b/config/mail.php new file mode 100644 index 0000000..55aa91a --- /dev/null +++ b/config/mail.php @@ -0,0 +1,126 @@ + env('MAIL_MAILER', 'smtp'), + + /* + |-------------------------------------------------------------------------- + | Mailer Configurations + |-------------------------------------------------------------------------- + | + | Here you may configure all of the mailers used by your application plus + | their respective settings. Several examples have been configured for + | you and you are free to add your own as your application requires. + | + | Laravel supports a variety of mail "transport" drivers to be used while + | sending an e-mail. You will specify which one you are using for your + | mailers below. You are free to add additional mailers as required. + | + | Supported: "smtp", "sendmail", "mailgun", "ses", "ses-v2", + | "postmark", "log", "array", "failover" + | + */ + + 'mailers' => [ + 'smtp' => [ + 'transport' => 'smtp', + 'host' => env('MAIL_HOST', 'smtp.mailgun.org'), + 'port' => env('MAIL_PORT', 587), + 'encryption' => env('MAIL_ENCRYPTION', 'tls'), + 'username' => env('MAIL_USERNAME'), + 'password' => env('MAIL_PASSWORD'), + 'timeout' => null, + 'local_domain' => env('MAIL_EHLO_DOMAIN'), + ], + + 'ses' => [ + 'transport' => 'ses', + ], + + 'mailgun' => [ + 'transport' => 'mailgun' + ], + + 'postmark' => [ + 'transport' => 'postmark' + ], + + 'sendmail' => [ + 'transport' => 'sendmail', + 'path' => env('MAIL_SENDMAIL_PATH', '/usr/sbin/sendmail -bs -i'), + ], + + 'log' => [ + 'transport' => 'log', + 'channel' => env('MAIL_LOG_CHANNEL'), + ], + + 'array' => [ + 'transport' => 'array', + ], + + 'failover' => [ + 'transport' => 'failover', + 'mailers' => [ + 'smtp', + 'log', + ], + ], + ], + + /* + |-------------------------------------------------------------------------- + | Global "From" Address + |-------------------------------------------------------------------------- + | + | You may wish for all e-mails sent by your application to be sent from + | the same address. Here, you may specify a name and address that is + | used globally for all e-mails that are sent by your application. + | + */ + + 'from' => [ + 'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'), + 'name' => env('MAIL_FROM_NAME', 'Example'), + ], + + /* + |-------------------------------------------------------------------------- + | Markdown Mail Settings + |-------------------------------------------------------------------------- + | + | If you are using Markdown based email rendering, you may configure your + | theme and component paths here, allowing you to customize the design + | of the emails. Or, you may simply stick with the Laravel defaults! + | + */ + + 'markdown' => [ + 'theme' => 'default', + + 'paths' => [ + resource_path('views/vendor/mail'), + ], + ], + + 'contact' => [ + 'reclaim' => env('MAIL_CONTACT_RECLAIM'), + 'info' => env('MAIL_CONTACT_INFO'), + 'associativeRequest' => env('MAIL_CONTACT_ASSOCIATIVE'), + 'parternershipRequest' => env('MAIL_CONTACT_PARTNERSHIP'), + 'commercialRequest' => env('MAIL_CONTACT_COMMERCIAL'), + 'variousRequest' => env('MAIL_CONTACT_VARIOUS') + ] +]; diff --git a/config/mesbr.php b/config/mesbr.php new file mode 100644 index 0000000..3a27873 --- /dev/null +++ b/config/mesbr.php @@ -0,0 +1,7 @@ + env('MESBR_REF_SITE'), + 'camp' => env('MESBR_REF_CAMP'), + 'endpoint' => env('MESBR_ENDPOINT'), +]; diff --git a/config/purifier.php b/config/purifier.php new file mode 100644 index 0000000..59cb78b --- /dev/null +++ b/config/purifier.php @@ -0,0 +1,132 @@ +set('Core.Encoding', $this->config->get('purifier.encoding')); + * $config->set('Cache.SerializerPath', $this->config->get('purifier.cachePath')); + * if ( ! $this->config->get('purifier.finalize')) { + * $config->autoFinalize = false; + * } + * $config->load [$this->getConfig()); + * + * You must NOT delete the default settings + * anything in settings should be compacted with params that needed to instance HTMLPurifier_Config. + * + * @link http://htmlpurifier.org/live/configdoc/plain.html + */ + +// phpcs:disable Generic.Files.LineLength.TooLong +return [ + 'encoding' => 'UTF-8', + 'finalize' => true, + 'cachePath' => storage_path('app/purifier'), + 'cacheFileMode' => 0755, + 'settings' => [ + 'default' => [ + 'HTML.SafeIframe' => true, + // * For iframes + 'URI.SafeIframeRegexp' => "%^(http://|https://|//)(www.youtube.com/embed/|player.vimeo.com/video/|vimeo.com/|www.dailymotion.com/video/)%", + 'HTML.Doctype' => 'HTML 4.01 Transitional', + // * Legacy filter en full avec safe legacy. + // 'HTML.Allowed' => 'h1[style|id],h2[style|id],h3[style|id],h4[style|id],h5[style|id],h6[style|id],figure[class|style],oembed[url],div[style],b,strong,i,em,u,s,pre,code[class],a[href|title|target|rel|id],ul[style],ol[style],dl[style],li,p[style],br,span[style|class],img[width|height|alt|src|style|class|title],iframe[src|width|height|class|frameborder|style],table[style|align|border|cellspacing|cellpadding|width],thead,tbody,th[colspan|align|valign|style],tr[align|valign|style],td[style|colspan|rowspan|scope|align|valign],hr,dl,dt,mark[class]', + // * Restricted basics. + 'HTML.Allowed' => 'br,p[style],b[style],u[style],i[style],a[href|title|target|rel],strong[style],span[class],ul[style],ol[style],li[style],h2[style],h3[style],h4[style],hr,blockquote[style]', + // * Legacy filter en full avec safe legacy. + // 'CSS.AllowedProperties' => 'font,font-size,font-weight,font-style,font-family,text-decoration,padding-left,color,background-color,text-align,list-style-type,float,width,height,vertical-align,border,border-color,margin-left', + // * Restricted basics. + 'CSS.AllowedProperties' => 'text-align,margin-left', + 'AutoFormat.AutoParagraph' => false, + 'AutoFormat.RemoveEmpty' => false, + 'AutoFormat.RemoveEmpty.RemoveNbsp' => false, + ], + "youtube" => [ + "HTML.SafeIframe" => 'true', + "URI.SafeIframeRegexp" => "%^(http://|https://|//)(www.youtube.com/embed/|player.vimeo.com/video/|vimeo.com/|www.dailymotion.com/video/)%", + ], + 'custom_definition' => [ + 'id' => 'html5-definitions', + 'rev' => 1, + 'debug' => true, + 'elements' => [ + // * http://developers.whatwg.org/sections.html + ['section', 'Block', 'Flow', 'Common'], + ['nav', 'Block', 'Flow', 'Common'], + ['article', 'Block', 'Flow', 'Common'], + ['aside', 'Block', 'Flow', 'Common'], + ['header', 'Block', 'Flow', 'Common'], + ['footer', 'Block', 'Flow', 'Common'], + + // * Content model actually excludes several tags, not modelled here + ['address', 'Block', 'Flow', 'Common'], + ['hgroup', 'Block', 'Required: h1 | h2 | h3 | h4 | h5 | h6', 'Common'], + + // * http://developers.whatwg.org/grouping-content.html + ['figure', 'Block', 'Optional: (figcaption, Flow) | (Flow, figcaption) | Flow', 'Common'], + ['figcaption', 'Inline', 'Flow', 'Common'], + ['oembed', 'Inline', 'Flow', 'Common'], + + // * http://developers.whatwg.org/the-video-element.html#the-video-element + ['video', 'Block', 'Optional: (source, Flow) | (Flow, source) | Flow', 'Common', [ + 'src' => 'URI', + 'type' => 'Text', + 'width' => 'Length', + 'height' => 'Length', + 'poster' => 'URI', + 'preload' => 'Enum#auto,metadata,none', + 'controls' => 'Bool', + ]], + ['source', 'Block', 'Flow', 'Common', [ + 'src' => 'URI', + 'type' => 'Text', + ]], + + // * http://developers.whatwg.org/text-level-semantics.html + ['s', 'Inline', 'Inline', 'Common'], + ['var', 'Inline', 'Inline', 'Common'], + ['sub', 'Inline', 'Inline', 'Common'], + ['sup', 'Inline', 'Inline', 'Common'], + ['mark', 'Inline', 'Inline', 'Common'], + ['wbr', 'Inline', 'Empty', 'Core'], + + // * http://developers.whatwg.org/edits.html + ['ins', 'Block', 'Flow', 'Common', ['cite' => 'URI', 'datetime' => 'CDATA']], + ['del', 'Block', 'Flow', 'Common', ['cite' => 'URI', 'datetime' => 'CDATA']], + ], + 'attributes' => [ + ['iframe', 'allowfullscreen', 'Bool'], + ['table', 'height', 'Text'], + ['td', 'border', 'Text'], + ['th', 'border', 'Text'], + ['tr', 'width', 'Text'], + ['tr', 'height', 'Text'], + ['tr', 'border', 'Text'], + ['figure', 'class', 'Text'], + ['figure', 'style', 'Text'], + ['oembed', 'url', 'Text'], + ['span', 'style', 'Text'], + ['img', 'style', 'Text'], + ], + ], + 'custom_attributes' => [ + ['a', 'target', 'Enum#_blank,_self,_target,_top'], + ['a', 'id', 'Text'], + ['ol', 'style', 'Text'], + ['figure', 'style', 'Text'], + ['img', 'style', 'Text'], + ['span', 'style', 'Text'], + ['oembed', 'url', 'Text'], + ['h1', 'id', 'Text'], + ['h2', 'id', 'Text'], + ['h3', 'id', 'Text'], + ['h4', 'id', 'Text'], + ['h5', 'id', 'Text'], + ['h6', 'id', 'Text'], + ], + 'custom_elements' => [ + ['u', 'Inline', 'Inline', 'Common'], + ['oembed', 'Inline', 'Inline', 'Common'], + ], + ], +]; diff --git a/config/queue.php b/config/queue.php new file mode 100644 index 0000000..f5a66b9 --- /dev/null +++ b/config/queue.php @@ -0,0 +1,109 @@ + env('QUEUE_CONNECTION', 'sync'), + + /* + |-------------------------------------------------------------------------- + | Queue Connections + |-------------------------------------------------------------------------- + | + | Here you may configure the connection information for each server that + | is used by your application. A default configuration has been added + | for each back-end shipped with Laravel. You are free to add more. + | + | Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null" + | + */ + + 'connections' => [ + + 'sync' => [ + 'driver' => 'sync', + ], + + 'database' => [ + 'driver' => 'database', + 'table' => 'jobs', + 'queue' => 'default', + 'retry_after' => 90, + 'after_commit' => false, + ], + + 'beanstalkd' => [ + 'driver' => 'beanstalkd', + 'host' => 'localhost', + 'queue' => 'default', + 'retry_after' => 90, + 'block_for' => 0, + 'after_commit' => false, + ], + + 'sqs' => [ + 'driver' => 'sqs', + 'key' => env('AWS_ACCESS_KEY_ID'), + 'secret' => env('AWS_SECRET_ACCESS_KEY'), + 'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'), + 'queue' => env('SQS_QUEUE', 'default'), + 'suffix' => env('SQS_SUFFIX'), + 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), + 'after_commit' => false, + ], + + 'redis' => [ + 'driver' => 'redis', + 'connection' => 'default', + 'queue' => env('REDIS_QUEUE', 'default'), + 'retry_after' => 90, + 'block_for' => null, + 'after_commit' => false, + ], + + ], + + /* + |-------------------------------------------------------------------------- + | Job Batching + |-------------------------------------------------------------------------- + | + | The following options configure the database and table that store job + | batching information. These options can be updated to any database + | connection and table which has been defined by your application. + | + */ + + 'batching' => [ + 'database' => env('DB_CONNECTION', 'mysql'), + 'table' => 'job_batches', + ], + + /* + |-------------------------------------------------------------------------- + | Failed Queue Jobs + |-------------------------------------------------------------------------- + | + | These options configure the behavior of failed queue job logging so you + | can control which database and table are used to store the jobs that + | have failed. You may change them to any database / table you wish. + | + */ + + 'failed' => [ + 'driver' => env('QUEUE_FAILED_DRIVER', 'database-uuids'), + 'database' => env('DB_CONNECTION', 'mysql'), + 'table' => 'failed_jobs', + ], + +]; diff --git a/config/sentry.php b/config/sentry.php new file mode 100644 index 0000000..29627fe --- /dev/null +++ b/config/sentry.php @@ -0,0 +1,61 @@ + env('SENTRY_LARAVEL_DSN', env('SENTRY_DSN')), + + // The release version of your application. + // Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD')). + 'release' => env('SENTRY_RELEASE'), + + // When left empty or `null` the Laravel environment will be used. + 'environment' => env('SENTRY_ENVIRONMENT'), + + 'breadcrumbs' => [ + // Capture Laravel logs in breadcrumbs. + 'logs' => true, + + // Capture SQL queries in breadcrumbs. + 'sql_queries' => true, + + // Capture bindings on SQL queries logged in breadcrumbs. + 'sql_bindings' => false, + + // Capture queue job information in breadcrumbs. + 'queue_info' => true, + + // Capture command information in breadcrumbs. + 'command_info' => true, + ], + + 'tracing' => [ + // Trace queue jobs as their own transactions. + 'queue_job_transactions' => env('SENTRY_TRACE_QUEUE_ENABLED', false), + + // Capture queue jobs as spans when executed on the sync driver. + 'queue_jobs' => true, + + // Capture SQL queries as spans. + 'sql_queries' => true, + + // Try to find out where the SQL query originated from and add it to the query spans. + 'sql_origin' => true, + + // Capture views as spans. + 'views' => true, + + // Indicates if the tracing integrations supplied by Sentry should be loaded. + 'default_integrations' => true, + + // Indicates that requests without a matching route should be traced. + 'missing_routes' => false, + ], + + // @see: https://docs.sentry.io/platforms/php/guides/laravel/configuration/options/#send-default-pii. + 'send_default_pii' => env('SENTRY_SEND_DEFAULT_PII', false), + + // @see: https://docs.sentry.io/platforms/php/guides/laravel/configuration/options/#traces-sample-rate. + 'traces_sample_rate' => env('SENTRY_TRACES_SAMPLE_RATE') === null ? null : (float)env('SENTRY_TRACES_SAMPLE_RATE'), + + 'before_send' => [\App\Lib\Helpers\ExceptionsHelper::class, 'sentryEventHandler'], +]; diff --git a/config/services.php b/config/services.php new file mode 100644 index 0000000..0a44505 --- /dev/null +++ b/config/services.php @@ -0,0 +1,42 @@ + [ + 'domain' => env('MAILGUN_DOMAIN'), + 'secret' => env('MAILGUN_SECRET'), + 'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'), + 'scheme' => 'https', + ], + + 'postmark' => [ + 'token' => env('POSTMARK_TOKEN'), + ], + + 'ses' => [ + 'key' => env('AWS_ACCESS_KEY_ID'), + 'secret' => env('AWS_SECRET_ACCESS_KEY'), + 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), + ], + + 'google' => [ + 'recaptcha' => [ + 'public' => env('GOOGLE_RECAPTCHA_PUBLIC'), + 'private' => env('GOOGLE_RECAPTCHA_PRIVATE'), + 'version' => env('GOOGLE_RECAPTCHA_VERSION', "3") === "3" ? true : false + ] + ], + +]; diff --git a/config/session.php b/config/session.php new file mode 100644 index 0000000..d2e3239 --- /dev/null +++ b/config/session.php @@ -0,0 +1,201 @@ + env('SESSION_DRIVER', 'file'), + + /* + |-------------------------------------------------------------------------- + | Session Lifetime + |-------------------------------------------------------------------------- + | + | Here you may specify the number of minutes that you wish the session + | to be allowed to remain idle before it expires. If you want them + | to immediately expire on the browser closing, set that option. + | + */ + + 'lifetime' => env('SESSION_LIFETIME', 120), + + 'expire_on_close' => false, + + /* + |-------------------------------------------------------------------------- + | Session Encryption + |-------------------------------------------------------------------------- + | + | This option allows you to easily specify that all of your session data + | should be encrypted before it is stored. All encryption will be run + | automatically by Laravel and you can use the Session like normal. + | + */ + + 'encrypt' => false, + + /* + |-------------------------------------------------------------------------- + | Session File Location + |-------------------------------------------------------------------------- + | + | When using the native session driver, we need a location where session + | files may be stored. A default has been set for you but a different + | location may be specified. This is only needed for file sessions. + | + */ + + 'files' => storage_path('framework/sessions'), + + /* + |-------------------------------------------------------------------------- + | Session Database Connection + |-------------------------------------------------------------------------- + | + | When using the "database" or "redis" session drivers, you may specify a + | connection that should be used to manage these sessions. This should + | correspond to a connection in your database configuration options. + | + */ + + 'connection' => env('SESSION_CONNECTION'), + + /* + |-------------------------------------------------------------------------- + | Session Database Table + |-------------------------------------------------------------------------- + | + | When using the "database" session driver, you may specify the table we + | should use to manage the sessions. Of course, a sensible default is + | provided for you; however, you are free to change this as needed. + | + */ + + 'table' => 'sessions', + + /* + |-------------------------------------------------------------------------- + | Session Cache Store + |-------------------------------------------------------------------------- + | + | While using one of the framework's cache driven session backends you may + | list a cache store that should be used for these sessions. This value + | must match with one of the application's configured cache "stores". + | + | Affects: "apc", "dynamodb", "memcached", "redis" + | + */ + + 'store' => env('SESSION_STORE'), + + /* + |-------------------------------------------------------------------------- + | Session Sweeping Lottery + |-------------------------------------------------------------------------- + | + | Some session drivers must manually sweep their storage location to get + | rid of old sessions from storage. Here are the chances that it will + | happen on a given request. By default, the odds are 2 out of 100. + | + */ + + 'lottery' => [2, 100], + + /* + |-------------------------------------------------------------------------- + | Session Cookie Name + |-------------------------------------------------------------------------- + | + | Here you may change the name of the cookie used to identify a session + | instance by ID. The name specified here will get used every time a + | new session cookie is created by the framework for every driver. + | + */ + + 'cookie' => env( + 'SESSION_COOKIE', + Str::slug(env('APP_NAME', 'laravel'), '_') . '_session' + ), + + /* + |-------------------------------------------------------------------------- + | Session Cookie Path + |-------------------------------------------------------------------------- + | + | The session cookie path determines the path for which the cookie will + | be regarded as available. Typically, this will be the root path of + | your application but you are free to change this when necessary. + | + */ + + 'path' => '/', + + /* + |-------------------------------------------------------------------------- + | Session Cookie Domain + |-------------------------------------------------------------------------- + | + | Here you may change the domain of the cookie used to identify a session + | in your application. This will determine which domains the cookie is + | available to in your application. A sensible default has been set. + | + */ + + 'domain' => env('SESSION_DOMAIN'), + + /* + |-------------------------------------------------------------------------- + | HTTPS Only Cookies + |-------------------------------------------------------------------------- + | + | By setting this option to true, session cookies will only be sent back + | to the server if the browser has a HTTPS connection. This will keep + | the cookie from being sent to you when it can't be done securely. + | + */ + + 'secure' => env('SESSION_SECURE_COOKIE'), + + /* + |-------------------------------------------------------------------------- + | HTTP Access Only + |-------------------------------------------------------------------------- + | + | Setting this value to true will prevent JavaScript from accessing the + | value of the cookie and the cookie will only be accessible through + | the HTTP protocol. You are free to modify this option if needed. + | + */ + + 'http_only' => true, + + /* + |-------------------------------------------------------------------------- + | Same-Site Cookies + |-------------------------------------------------------------------------- + | + | This option determines how your cookies behave when cross-site requests + | take place, and can be used to mitigate CSRF attacks. By default, we + | will set this value to "lax" since this is a secure default value. + | + | Supported: "lax", "strict", "none", null + | + */ + + 'same_site' => 'lax', + +]; diff --git a/config/view.php b/config/view.php new file mode 100644 index 0000000..d8b71b1 --- /dev/null +++ b/config/view.php @@ -0,0 +1,38 @@ + [ + resource_path('views'), + // ! for vendor publish (mail notifications par ex) + resource_path('views/vendor'), + ], + + /* + |-------------------------------------------------------------------------- + | Compiled View Path + |-------------------------------------------------------------------------- + | + | This option determines where all the compiled Blade templates will be + | stored for your application. Typically, this is within the storage + | directory. However, as usual, you are free to change this value. + | + */ + + 'compiled' => env( + 'VIEW_COMPILED_PATH', + realpath(storage_path('framework/views')) + ), + +]; diff --git a/database/.gitignore b/database/.gitignore new file mode 100644 index 0000000..9b19b93 --- /dev/null +++ b/database/.gitignore @@ -0,0 +1 @@ +*.sqlite* diff --git a/database/factories/CommitmentPageFactory.php b/database/factories/CommitmentPageFactory.php new file mode 100644 index 0000000..0eb61a1 --- /dev/null +++ b/database/factories/CommitmentPageFactory.php @@ -0,0 +1,27 @@ + + */ + public function definition() + { + return [ + 'quality_title' => fake()->sentence(), + 'quality_text' => \clean(\fake()->randomHtml(4, 5)), + 'product1_title' => fake()->sentence(), + 'product1_text' => \clean(\fake()->randomHtml(4, 5)), + 'product2_title' => fake()->sentence(), + 'product2_text' => \clean(\fake()->randomHtml(4, 5)), + 'environment_title' => fake()->sentence(), + 'environment_text' => \clean(\fake()->randomHtml(4, 5)), + ]; + } +} diff --git a/database/factories/GameFactory.php b/database/factories/GameFactory.php new file mode 100644 index 0000000..40af5f8 --- /dev/null +++ b/database/factories/GameFactory.php @@ -0,0 +1,28 @@ + + */ + public function definition() + { + return [ + 'title_line1' => fake()->sentence(), + 'title_line2' => fake()->sentence(), + 'picture_alt' => fake()->sentence(), + 'picture_title' => fake()->sentence(), + 'text' => \clean(\fake()->randomHtml(1, 1)), + 'button_status' => fake()->boolean(75), + 'button_label' => fake()->sentence(), + 'button_url' => 'https://www.youtube.com/watch?v=6B4O-_1CQoI', + 'button_new_tab' => fake()->boolean(75), + ]; + } +} diff --git a/database/factories/HistoricalMilestoneFactory.php b/database/factories/HistoricalMilestoneFactory.php new file mode 100644 index 0000000..5211213 --- /dev/null +++ b/database/factories/HistoricalMilestoneFactory.php @@ -0,0 +1,32 @@ + + */ + public function definition() + { + return [ + 'year' => fake()->year(), + 'text' => fake()->sentence(), + 'picture1_alt' => fake()->sentence(), + 'picture1_title' => fake()->sentence(), + 'picture2_alt' => fake()->sentence(), + 'picture2_title' => fake()->sentence(), + 'picture3_alt' => fake()->sentence(), + 'picture3_title' => fake()->sentence(), + 'button_status' => fake()->boolean(75), + 'button_label' => fake()->text(35), + 'button_url' => 'https://www.youtube.com/watch?v=6B4O-_1CQoI', + 'button_new_tab' => fake()->boolean(75), + 'published' => fake()->boolean(75), + ]; + } +} diff --git a/database/factories/KlubBlocFactory.php b/database/factories/KlubBlocFactory.php new file mode 100644 index 0000000..4903175 --- /dev/null +++ b/database/factories/KlubBlocFactory.php @@ -0,0 +1,21 @@ + + */ + public function definition() + { + return [ + 'picture_alt' => fake()->sentence(), + 'picture_title' => fake()->sentence(), + ]; + } +} diff --git a/database/factories/LocalCommitmentFactory.php b/database/factories/LocalCommitmentFactory.php new file mode 100644 index 0000000..ccd15b2 --- /dev/null +++ b/database/factories/LocalCommitmentFactory.php @@ -0,0 +1,28 @@ + + */ + public function definition() + { + return [ + 'title' => fake()->sentence(), + 'text' => \clean(\fake()->randomHtml(6, 7)), + 'picture1_alt' => fake()->sentence(), + 'picture1_title' => fake()->sentence(), + 'picture2_alt' => fake()->sentence(), + 'picture2_title' => fake()->sentence(), + 'picture3_alt' => fake()->sentence(), + 'picture3_title' => fake()->sentence(), + 'published' => false, + ]; + } +} diff --git a/database/factories/NewsFactory.php b/database/factories/NewsFactory.php new file mode 100644 index 0000000..0de2d69 --- /dev/null +++ b/database/factories/NewsFactory.php @@ -0,0 +1,29 @@ + + */ + public function definition() + { + $publish_at = now()->subDays(rand(1, 30)); + $unpublish_at = $publish_at->copy()->addDays(rand(1, 30)); + $published = now() > $publish_at && now() < $unpublish_at ? true : false; + + return [ + 'picture_alt' => fake()->sentence(), + 'picture_title' => fake()->sentence(), + 'text' => \clean(\fake()->randomHtml(1, 1)), + 'published' => $published, + 'publish_at' => $publish_at, + 'unpublish_at' => $unpublish_at, + ]; + } +} diff --git a/database/factories/PictoFactory.php b/database/factories/PictoFactory.php new file mode 100644 index 0000000..f1da98d --- /dev/null +++ b/database/factories/PictoFactory.php @@ -0,0 +1,23 @@ + + */ + public function definition() + { + return [ + 'label' => fake()->sentence(), + 'picture_alt' => fake()->sentence(), + 'picture_title' => fake()->sentence(), + 'published' => fake()->boolean(75), + ]; + } +} diff --git a/database/factories/ProductFactory.php b/database/factories/ProductFactory.php new file mode 100644 index 0000000..2ed290b --- /dev/null +++ b/database/factories/ProductFactory.php @@ -0,0 +1,73 @@ + + */ + public function definition() + { + $weight = fake()->randomNumber(3); + $energyKj = fake()->randomFloat(2, 0, 70); + $energyKcal = fake()->randomFloat(2, 0, 70); + $fat = fake()->randomFloat(2, 0, 70); + $saturated_fat = fake()->randomFloat(2, 0, 70); + $carbohydrate = fake()->randomFloat(2, 0, 70); + $sugar = fake()->randomFloat(2, 0, 70); + $proteins = fake()->randomFloat(2, 0, 70); + $salt = fake()->randomFloat(2, 0, 70); + + $nutritionnal_values = [ + '100g' => [ + 'label' => '100 g', + 'energyKj' => $energyKj, + 'energyKcal' => $energyKcal, + 'fat' => $fat, + 'saturated_fat' => $saturated_fat, + 'carbohydrate' => $carbohydrate, + 'sugar' => $sugar, + 'proteins' => $proteins, + 'salt' => $salt, + ], + 'self' => [ + 'label' => fake()->word() . ' ' . $weight . ' g', + 'energyKj' => round($energyKj * $weight / 100, 2), + 'energyKcal' => round($energyKcal * $weight / 100, 2), + 'fat' => round($fat * $weight / 100, 2), + 'saturated_fat' => round($saturated_fat * $weight / 100, 2), + 'carbohydrate' => round($carbohydrate * $weight / 100, 2), + 'sugar' => round($sugar * $weight / 100, 2), + 'proteins' => round($proteins * $weight / 100, 2), + 'salt' => round($salt * $weight / 100, 2), + ], + ]; + + $label = fake()->text(15); + return [ + 'label' => $label, + 'slug' => Str::slug($label), + 'seo_title' => fake()->sentence(), + 'seo_description' => fake()->sentence(), + 'picture_alt' => fake()->sentence(), + 'picture_title' => fake()->sentence(), + 'picture_thumbnail_alt' => fake()->sentence(), + 'picture_thumbnail_title' => fake()->sentence(), + 'description' => \clean(\fake()->randomHtml(6, 7)), + 'nutriscore' => \collect(NutriscoreEnum::cases())->random(), + 'nutritionnal_values' => $nutritionnal_values, + 'advice' => \clean(\fake()->randomHtml(6, 7)), + 'ingredients' => \clean(\fake()->randomHtml(6, 7)), + 'published' => fake()->boolean(75), + 'range_id' => Range::all()->random()->id, + ]; + } +} diff --git a/database/factories/RangeFactory.php b/database/factories/RangeFactory.php new file mode 100644 index 0000000..26b9266 --- /dev/null +++ b/database/factories/RangeFactory.php @@ -0,0 +1,35 @@ + + */ + public function definition() + { + $label = fake()->text(15); + return [ + 'label' => $label, + 'slug' => Str::slug($label), + 'picture_alt' => fake()->sentence(), + 'picture_title' => fake()->sentence(), + 'picture_ambiance_alt' => fake()->sentence(), + 'picture_ambiance_title' => fake()->sentence(), + 'picto1_picture_alt' => fake()->sentence(), + 'picto1_picture_title' => fake()->sentence(), + 'picto1_line1' => fake()->text(15), + 'picto1_line2' => fake()->text(15), + 'picto2_picture_alt' => fake()->sentence(), + 'picto2_picture_title' => fake()->sentence(), + 'picto2_line1' => fake()->text(15), + 'picto2_line2' => fake()->text(15), + ]; + } +} diff --git a/database/factories/ReductionFactory.php b/database/factories/ReductionFactory.php new file mode 100644 index 0000000..06e4be7 --- /dev/null +++ b/database/factories/ReductionFactory.php @@ -0,0 +1,23 @@ + + */ + public function definition() + { + return [ + 'picture_packshot_alt' => fake()->sentence(), + 'picture_packshot_title' => fake()->sentence(), + 'amount' => fake()->randomNumber(), + 'validity' => fake()->sentence(), + ]; + } +} diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php new file mode 100644 index 0000000..1219384 --- /dev/null +++ b/database/factories/UserFactory.php @@ -0,0 +1,44 @@ + + */ + public function definition() + { + $published = fake()->boolean(75); + return [ + 'first_name' => fake()->firstname(), + 'last_name' => fake()->lastname(), + 'email' => fake()->unique()->safeEmail(), + 'email_verified_at' => now(), + 'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', + 'remember_token' => Str::random(10), + 'role' => \collect(RoleEnum::toArray())->random()->value, + 'published' => $published, + 'published_at' => ($published) ? now() : null, + ]; + } + + /** + * Indicate that the model's email address should be unverified. + * + * @return static + */ + public function unverified(): static + { + // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClass + return $this->state(fn (array $attributes) => [ + 'email_verified_at' => null, + ]); + } +} diff --git a/database/factories/assets/games/default-picture-585x415.png b/database/factories/assets/games/default-picture-585x415.png new file mode 100644 index 0000000..7a0a51b Binary files /dev/null and b/database/factories/assets/games/default-picture-585x415.png differ diff --git a/database/factories/assets/historicalmilestones/default-picture-431x300.png b/database/factories/assets/historicalmilestones/default-picture-431x300.png new file mode 100644 index 0000000..b99c7a0 Binary files /dev/null and b/database/factories/assets/historicalmilestones/default-picture-431x300.png differ diff --git a/database/factories/assets/klubblocs/default-picture-640x637.png b/database/factories/assets/klubblocs/default-picture-640x637.png new file mode 100644 index 0000000..354161f Binary files /dev/null and b/database/factories/assets/klubblocs/default-picture-640x637.png differ diff --git a/database/factories/assets/localcommitments/default-picture-587x429.png b/database/factories/assets/localcommitments/default-picture-587x429.png new file mode 100644 index 0000000..d19dfbe Binary files /dev/null and b/database/factories/assets/localcommitments/default-picture-587x429.png differ diff --git a/database/factories/assets/news/default-picture-308x223.png b/database/factories/assets/news/default-picture-308x223.png new file mode 100644 index 0000000..0971e5f Binary files /dev/null and b/database/factories/assets/news/default-picture-308x223.png differ diff --git a/database/factories/assets/pictos/default-picture-85x85.png b/database/factories/assets/pictos/default-picture-85x85.png new file mode 100644 index 0000000..5b1d56c Binary files /dev/null and b/database/factories/assets/pictos/default-picture-85x85.png differ diff --git a/database/factories/assets/products/default-picture-310x310.png b/database/factories/assets/products/default-picture-310x310.png new file mode 100644 index 0000000..fe579e4 Binary files /dev/null and b/database/factories/assets/products/default-picture-310x310.png differ diff --git a/database/factories/assets/products/default-picture-503x503.png b/database/factories/assets/products/default-picture-503x503.png new file mode 100644 index 0000000..3ffd17d Binary files /dev/null and b/database/factories/assets/products/default-picture-503x503.png differ diff --git a/database/factories/assets/ranges/default-picture-333x333.png b/database/factories/assets/ranges/default-picture-333x333.png new file mode 100644 index 0000000..46c3b1e Binary files /dev/null and b/database/factories/assets/ranges/default-picture-333x333.png differ diff --git a/database/factories/assets/ranges/default-picture-579x579.png b/database/factories/assets/ranges/default-picture-579x579.png new file mode 100644 index 0000000..4ae570d Binary files /dev/null and b/database/factories/assets/ranges/default-picture-579x579.png differ diff --git a/database/factories/assets/ranges/default-picture-67x70.png b/database/factories/assets/ranges/default-picture-67x70.png new file mode 100644 index 0000000..c3dbc94 Binary files /dev/null and b/database/factories/assets/ranges/default-picture-67x70.png differ diff --git a/database/factories/assets/reductions/default-picture-266x266.png b/database/factories/assets/reductions/default-picture-266x266.png new file mode 100644 index 0000000..5057e55 Binary files /dev/null and b/database/factories/assets/reductions/default-picture-266x266.png differ diff --git a/database/migrations/2014_10_12_000000_create_users_table.php b/database/migrations/2014_10_12_000000_create_users_table.php new file mode 100644 index 0000000..612e0a9 --- /dev/null +++ b/database/migrations/2014_10_12_000000_create_users_table.php @@ -0,0 +1,40 @@ +id(); + $table->string('first_name')->comment('First name of the user.'); + $table->string('last_name')->comment('Last name of the user.'); + $table->string('email')->unique()->comment('Email of the user.'); + $table->timestamp('email_verified_at')->nullable(); + $table->string('password')->comment('Password of the user account.'); + $table->rememberToken(); + $table->unsignedTinyInteger('role')->comment('Role of the user who defines the rights/access.'); + $table->boolean('published')->comment('The user is acivated or not.'); + $table->timestamp('published_at')->nullable()->comment('The date on which the user was acivated.'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('users'); + } +}; diff --git a/database/migrations/2014_10_12_100000_create_password_resets_table.php b/database/migrations/2014_10_12_100000_create_password_resets_table.php new file mode 100644 index 0000000..fcacb80 --- /dev/null +++ b/database/migrations/2014_10_12_100000_create_password_resets_table.php @@ -0,0 +1,32 @@ +string('email')->index(); + $table->string('token'); + $table->timestamp('created_at')->nullable(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('password_resets'); + } +}; diff --git a/database/migrations/2019_08_19_000000_create_failed_jobs_table.php b/database/migrations/2019_08_19_000000_create_failed_jobs_table.php new file mode 100644 index 0000000..1719198 --- /dev/null +++ b/database/migrations/2019_08_19_000000_create_failed_jobs_table.php @@ -0,0 +1,36 @@ +id(); + $table->string('uuid')->unique(); + $table->text('connection'); + $table->text('queue'); + $table->longText('payload'); + $table->longText('exception'); + $table->timestamp('failed_at')->useCurrent(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('failed_jobs'); + } +}; diff --git a/database/migrations/2021_11_19_102529_create_jobs_table.php b/database/migrations/2021_11_19_102529_create_jobs_table.php new file mode 100644 index 0000000..1be9e8a --- /dev/null +++ b/database/migrations/2021_11_19_102529_create_jobs_table.php @@ -0,0 +1,36 @@ +bigIncrements('id'); + $table->string('queue')->index(); + $table->longText('payload'); + $table->unsignedTinyInteger('attempts'); + $table->unsignedInteger('reserved_at')->nullable(); + $table->unsignedInteger('available_at'); + $table->unsignedInteger('created_at'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('jobs'); + } +} diff --git a/database/migrations/2023_09_08_102717_create_actitivy_logs_table.php b/database/migrations/2023_09_08_102717_create_actitivy_logs_table.php new file mode 100644 index 0000000..05734e7 --- /dev/null +++ b/database/migrations/2023_09_08_102717_create_actitivy_logs_table.php @@ -0,0 +1,39 @@ +id(); + $table->foreignId('user_id')->nullable()->constrained('users')->nullOnDelete() + ->comment('Id of the user associated, or nullable for a deleted user.'); + $table->boolean('is_anonymous')->comment('If there is no user connected when action was realised.'); + $table->boolean('is_console')->comment('If the action was realised in console.'); + $table->string('model_class')->comment('Target model.'); + $table->integer('model_id')->comment('Id of the target model.'); + $table->integer('event')->comment('Event of this activity (ActivityLogsEventEnum).'); + $table->json('data')->nullable()->comment('List of changes (old and new values).'); + $table->timestamp('created_at')->comment('The date on which the user was published.'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down(): void + { + Schema::dropIfExists('activity_logs'); + } +}; diff --git a/database/migrations/2023_10_19_094711_create_static_pages.php b/database/migrations/2023_10_19_094711_create_static_pages.php new file mode 100644 index 0000000..a28d0c0 --- /dev/null +++ b/database/migrations/2023_10_19_094711_create_static_pages.php @@ -0,0 +1,46 @@ +id(); + + $table->unsignedTinyInteger('type')->unique()->comment('Page type (StaticPageEnum)'); + + $table->string('seo_title')->comment('Seo title about 70 chars as recommended'); + $table->string('seo_description')->comment('Seo description about 160 chars as recommended'); + + $table->string('title')->comment('Title for the page'); + $table->string('slug')->unique()->comment('Unique title slug'); + + $table->text('content')->comment('WYSIWYG text content using ckeditor'); + + $table->timestamps(); + }); + Artisan::call('db:seed', [ + 'class' => 'StaticPageSeeder' + ]); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down(): void + { + Schema::dropIfExists('static_pages'); + } +}; diff --git a/database/migrations/2023_10_24_103904_create_commitment_page_picto_table.php b/database/migrations/2023_10_24_103904_create_commitment_page_picto_table.php new file mode 100644 index 0000000..9821c1a --- /dev/null +++ b/database/migrations/2023_10_24_103904_create_commitment_page_picto_table.php @@ -0,0 +1,31 @@ +unsignedBigInteger('commitment_page_id')->index(); + $table->unsignedBigInteger('picto_id')->index(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('commitment_page_picto'); + } +}; diff --git a/database/migrations/2023_10_24_103904_create_commitment_pages_table.php b/database/migrations/2023_10_24_103904_create_commitment_pages_table.php new file mode 100644 index 0000000..55ff36b --- /dev/null +++ b/database/migrations/2023_10_24_103904_create_commitment_pages_table.php @@ -0,0 +1,39 @@ +id(); + $table->string('quality_title')->comment('Title de la section "qualité"'); + $table->text('quality_text')->comment('WYSIWYG - Contenu de la section qualité'); + $table->string('product1_title')->comment('Titre de la première partie de la section "produits"'); + $table->text('product1_text')->comment('WYSIWYG - Contenu de la première partie de la section produit'); + $table->string('product2_title')->comment('Titre de la deuxième partie de la section "produits"'); + $table->text('product2_text')->comment('WYSIWYG - Contenu de la deuxième partie de la section produit'); + $table->string('environment_title')->comment('Titre de la section "environnement"'); + $table->text('environment_text')->comment('WYSIWYG - Contenu de la section "environment"'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('commitment_pages'); + } +}; diff --git a/database/migrations/2023_10_24_103904_create_customers_table.php b/database/migrations/2023_10_24_103904_create_customers_table.php new file mode 100644 index 0000000..7627527 --- /dev/null +++ b/database/migrations/2023_10_24_103904_create_customers_table.php @@ -0,0 +1,34 @@ +id(); + $table->string('email')->unique(); + $table->string('hashcode')->unique(); + $table->rememberToken(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('customers'); + } +}; diff --git a/database/migrations/2023_10_24_103904_create_games_table.php b/database/migrations/2023_10_24_103904_create_games_table.php new file mode 100644 index 0000000..10d0779 --- /dev/null +++ b/database/migrations/2023_10_24_103904_create_games_table.php @@ -0,0 +1,46 @@ +id(); + $table->string('title_line1')->comment('Première ligne du titre'); + $table->string('title_line2')->comment('Deuxième ligne du titre'); + $table->string('picture')->comment('Path de l\'image d\'aperçu du jeu (585px * 415px)'); + $table->string('picture_alt')->comment('Attribut alt de l\'image d\'aperçu du jeu'); + $table->string('picture_title')->comment('Attribut title de l\'image d\'aperçu du jeu'); + $table->text('text') + ->comment('WYSIWYG - Contenu de la partie "jeu du moment". Minimum 15 caractères, maximum 32 mots'); + $table->boolean('button_status')->comment('Le bouton est-il visible ?'); + $table->string('button_label') + ->comment('Libellé du bouton, max 35 caractères. Obligatoire si button_status est true'); + $table->string('button_url')->comment('Url du bouton, obligatoire si button_status est true'); + $table->boolean('button_new_tab')->comment('Le lien du bouton doit-il s\'ouvrir dans un nouvel onglet ?'); + $table->boolean('published')->comment('Le jeu du moment est-il visible ? 1 seul à la fois maximum'); + $table->timestamp('publish_at')->nullable()->comment('Date de publication du jeu du moment'); + $table->timestamp('unpublish_at')->nullable()->comment('Date de dépublication du jeu du moment'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('games'); + } +}; diff --git a/database/migrations/2023_10_24_103904_create_historical_milestones_table.php b/database/migrations/2023_10_24_103904_create_historical_milestones_table.php new file mode 100644 index 0000000..a12d086 --- /dev/null +++ b/database/migrations/2023_10_24_103904_create_historical_milestones_table.php @@ -0,0 +1,48 @@ +id(); + $table->year('year')->comment('Année de l\'évènement'); + $table->string('text')->comment('Descriptif du jalon historique. Min 10 caractères, max 15 mots'); + $table->string('picture1')->comment('Path de l\'image 1 (431px * 300px)'); + $table->string('picture1_alt')->comment('Attribut alt de l\'image 1'); + $table->string('picture1_title')->comment('Attribut title de l\'image 1'); + $table->string('picture2')->nullable()->comment('Path de l\'image 2 (431px * 300px)'); + $table->string('picture2_alt')->nullable()->comment('Attribut alt de l\'image 2'); + $table->string('picture2_title')->nullable()->comment('Attribut title de l\'image 2'); + $table->string('picture3')->nullable()->comment('Path de l\'image 2 (431px * 300px)'); + $table->string('picture3_alt')->nullable()->comment('Attribut alt de l\'image 3'); + $table->string('picture3_title')->nullable()->comment('Attribut title de l\'image 3'); + $table->boolean('button_status')->comment('Le bouton est-il visible ?'); + $table->string('button_label')->nullable() + ->comment('Libellé du bouton, max 35 caractères. Obligatoire si button_status est true'); + $table->string('button_url')->nullable()->comment('Url du bouton, obligatoire si button_status est true'); + $table->boolean('button_new_tab')->comment('Le lien du bouton doit-il s\'ouvrir dans un nouvel onglet ?'); + $table->boolean('published')->comment('Le jalon historique est-il visible ?'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('historical_milestones'); + } +}; diff --git a/database/migrations/2023_10_24_103904_create_klub_blocs_table.php b/database/migrations/2023_10_24_103904_create_klub_blocs_table.php new file mode 100644 index 0000000..85251c8 --- /dev/null +++ b/database/migrations/2023_10_24_103904_create_klub_blocs_table.php @@ -0,0 +1,34 @@ +id(); + $table->string('picture')->comment('Path de l\'image de la section "le klub" (640px * 637px)'); + $table->string('picture_alt')->comment('Attribut alt de l\'image de la section "le klub"'); + $table->string('picture_title')->comment('Attribut title de l\'image de la section "le klub"'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('klub_blocs'); + } +}; diff --git a/database/migrations/2023_10_24_103904_create_local_commitments_table.php b/database/migrations/2023_10_24_103904_create_local_commitments_table.php new file mode 100644 index 0000000..4371614 --- /dev/null +++ b/database/migrations/2023_10_24_103904_create_local_commitments_table.php @@ -0,0 +1,45 @@ +id(); + $table->string('title')->comment('Titre de l\'engagement local'); + $table->text('text')->comment('WYSIWYG - Texte à propos de l\'engagement local'); + $table->string('picture1')->comment('Path de la première image (587px * 429px)'); + $table->string('picture1_alt')->comment('Attribut alt de la première image'); + $table->string('picture1_title')->comment('Attribut title de la première image'); + $table->string('picture2')->nullable()->comment('Path de la deuxième image (587px * 429px)'); + $table->string('picture2_alt')->nullable()->comment('Attribut alt de la deuxième image'); + $table->string('picture2_title')->nullable()->comment('Attribut title de la deuxième image'); + $table->string('picture3')->nullable()->comment('Path de la troisième image (587px * 429px)'); + $table->string('picture3_alt')->nullable()->comment('Attribut alt de la troisième image'); + $table->string('picture3_title')->nullable()->comment('Attribut title de la troisième image'); + $table->integer('order')->comment('Numéro permettant d\'ordonner les engagements locaux'); + $table->boolean('published') + ->comment('L\'engagement local est-il visible ? Maximum 2 devront être visibles simultanément'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('local_commitments'); + } +}; diff --git a/database/migrations/2023_10_24_103904_create_news_table.php b/database/migrations/2023_10_24_103904_create_news_table.php new file mode 100644 index 0000000..665ec23 --- /dev/null +++ b/database/migrations/2023_10_24_103904_create_news_table.php @@ -0,0 +1,38 @@ +id(); + $table->string('picture')->comment('Path de l\'image (308px * 223px)'); + $table->string('picture_alt')->comment('Attribut alt de l\'image'); + $table->string('picture_title')->comment('Attribut title de l\'image'); + $table->text('text')->comment('WYSIWYG - Texte de l\'actualité. Max 80 mots.'); + $table->boolean('published')->comment('La news est-elle visible ?'); + $table->timestamp('publish_at')->nullable()->comment('Date de publication de la news'); + $table->timestamp('unpublish_at')->nullable()->comment('Date de dépublication de la news'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('news'); + } +}; diff --git a/database/migrations/2023_10_24_103904_create_picto_product_table.php b/database/migrations/2023_10_24_103904_create_picto_product_table.php new file mode 100644 index 0000000..ae92cef --- /dev/null +++ b/database/migrations/2023_10_24_103904_create_picto_product_table.php @@ -0,0 +1,31 @@ +unsignedBigInteger('picto_id')->index(); + $table->unsignedBigInteger('product_id')->index(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('picto_product'); + } +}; diff --git a/database/migrations/2023_10_24_103904_create_pictos_table.php b/database/migrations/2023_10_24_103904_create_pictos_table.php new file mode 100644 index 0000000..5df5ae2 --- /dev/null +++ b/database/migrations/2023_10_24_103904_create_pictos_table.php @@ -0,0 +1,36 @@ +id(); + $table->string('label')->comment('Label du pictogramme'); + $table->string('picture')->comment('Path du visuel du pictogramme (85px * 85px)'); + $table->string('picture_alt')->comment('Attribut alt du visuel du pictogramme'); + $table->string('picture_title')->comment('Attribut title du visuel du pictogramme'); + $table->boolean('published')->comment('Le picto est-il visble ?'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('pictos'); + } +}; diff --git a/database/migrations/2023_10_24_103904_create_products_table.php b/database/migrations/2023_10_24_103904_create_products_table.php new file mode 100644 index 0000000..7c5695c --- /dev/null +++ b/database/migrations/2023_10_24_103904_create_products_table.php @@ -0,0 +1,51 @@ +id(); + $table->string('seo_title')->comment('Utilisé pour la balise title de la page produit'); + $table->string('seo_description')->comment('Utilisé pour la balise meta description de la page produit'); + $table->string('label')->comment('Label du produit'); + $table->string('slug')->unique()->comment('Slug à partir du label du produit'); + $table->string('picture')->comment('Path de l\'image du produit (503px * 503px)'); + $table->string('picture_alt')->comment('Attribut alt de l\'image du produit'); + $table->string('picture_title')->comment('Attribut title de l\'image du produit'); + $table->string('picture_thumbnail')->comment('Path de la vignette du produit (310px * 310px)'); + $table->string('picture_thumbnail_alt')->comment('Attribut alt de la vignette du produit'); + $table->string('picture_thumbnail_title')->comment('Attribut title de la vignette du produit'); + $table->text('description')->comment('WYSIWYG - Description du produit'); + $table->unsignedTinyInteger('nutriscore') + ->comment('Nutriscore du produit (enum \\App\\Enums\\Products\\NutriscoreEnum)'); + $table->json('nutritionnal_values') + ->comment('JSON avec les valeurs nutritionnelles pour le produit et pour 100g.'); + $table->text('advice')->comment('WYSIWYG - Texte conseils '); + $table->text('ingredients')->comment('WYSIWYG - Texte ingrédients'); + $table->integer('order')->comment('Numéro permettant d\'ordonner les produits'); + $table->boolean('published')->comment('Le produit est-il visible ?'); + $table->unsignedBigInteger('range_id')->index(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('products'); + } +}; diff --git a/database/migrations/2023_10_24_103904_create_ranges_table.php b/database/migrations/2023_10_24_103904_create_ranges_table.php new file mode 100644 index 0000000..2561942 --- /dev/null +++ b/database/migrations/2023_10_24_103904_create_ranges_table.php @@ -0,0 +1,49 @@ +id(); + $table->string('label')->comment('Label de la gamme'); + $table->string('slug')->unique()->comment('Slug à partir du label de la gamme'); + $table->string('picture')->comment('Path de l\'image de la gamme (579px * 579px)'); + $table->string('picture_alt')->comment('Attribut alt de l\'image de la gamme'); + $table->string('picture_title')->comment('Attribut title de l\'image de la gamme'); + $table->string('picture_ambiance')->comment('Path de l\'image d\'ambiance de la gamme (333px * 333px)'); + $table->string('picture_ambiance_alt')->comment('Attribut alt de l\'image d\'ambiance de la gamme'); + $table->string('picture_ambiance_title')->comment('Attribut title de l\'image d\'ambiance de la gamme'); + $table->string('picto1_picture')->nullable()->comment('Path de l\'image du picto 1 (67px * 70px)'); + $table->string('picto1_picture_alt')->nullable()->comment('Attribut alt de l\'image du picto 1'); + $table->string('picto1_picture_title')->nullable()->comment('Attribut title de l\'image du picto 1'); + $table->string('picto1_line1')->nullable()->comment('Première ligne du texte du picto1'); + $table->string('picto1_line2')->nullable()->comment('Deuxième ligne du texte du picto1'); + $table->string('picto2_picture')->nullable()->comment('Path de l\'image du picto 2 (67px * 70px)'); + $table->string('picto2_picture_alt')->nullable()->comment('Attribut alt de l\'image du picto 2'); + $table->string('picto2_picture_title')->nullable()->comment('Attribut title de l\'image du picto 2'); + $table->string('picto2_line1')->nullable()->comment('Première ligne du texte du picto2'); + $table->string('picto2_line2')->nullable()->comment('Deuxième ligne du texte du picto2'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('ranges'); + } +}; diff --git a/database/migrations/2023_10_24_103904_create_reductions_table.php b/database/migrations/2023_10_24_103904_create_reductions_table.php new file mode 100644 index 0000000..ab56b86 --- /dev/null +++ b/database/migrations/2023_10_24_103904_create_reductions_table.php @@ -0,0 +1,37 @@ +id(); + $table->string('picture_packshot') + ->comment('Path de l\'image du packshot. A prendre depuis MesBR, sinon image (266px * 266px)'); + $table->string('picture_packshot_alt')->comment('Attribut alt de l\'image du packshot'); + $table->string('picture_packshot_title')->comment('Attribut title de l\'image du packshot'); + $table->integer('amount')->comment('Non administrable, récupéré depuis MesBR'); + $table->string('validity')->comment('A récupérer dans MesBR, sinon texte administrable'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('reductions'); + } +}; diff --git a/database/migrations/2023_10_24_103907_add_foreign_keys_to_commitment_page_picto_table.php b/database/migrations/2023_10_24_103907_add_foreign_keys_to_commitment_page_picto_table.php new file mode 100644 index 0000000..3d111af --- /dev/null +++ b/database/migrations/2023_10_24_103907_add_foreign_keys_to_commitment_page_picto_table.php @@ -0,0 +1,34 @@ +foreign(['picto_id'])->references(['id'])->on('pictos'); + $table->foreign(['commitment_page_id'])->references(['id'])->on('commitment_pages'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('commitment_page_picto', function (Blueprint $table) { + $table->dropForeign('commitment_page_picto_picto_id_foreign'); + $table->dropForeign('commitment_page_picto_commitment_page_id_foreign'); + }); + } +}; diff --git a/database/migrations/2023_10_24_103907_add_foreign_keys_to_picto_product_table.php b/database/migrations/2023_10_24_103907_add_foreign_keys_to_picto_product_table.php new file mode 100644 index 0000000..cd9c40a --- /dev/null +++ b/database/migrations/2023_10_24_103907_add_foreign_keys_to_picto_product_table.php @@ -0,0 +1,34 @@ +foreign(['product_id'])->references(['id'])->on('products'); + $table->foreign(['picto_id'])->references(['id'])->on('pictos'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('picto_product', function (Blueprint $table) { + $table->dropForeign('picto_product_product_id_foreign'); + $table->dropForeign('picto_product_picto_id_foreign'); + }); + } +}; diff --git a/database/migrations/2023_10_24_103907_add_foreign_keys_to_products_table.php b/database/migrations/2023_10_24_103907_add_foreign_keys_to_products_table.php new file mode 100644 index 0000000..22bf481 --- /dev/null +++ b/database/migrations/2023_10_24_103907_add_foreign_keys_to_products_table.php @@ -0,0 +1,32 @@ +foreign(['range_id'])->references(['id'])->on('ranges'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('products', function (Blueprint $table) { + $table->dropForeign('products_range_id_foreign'); + }); + } +}; diff --git a/database/migrations/2023_10_31_101227_add_date_fileds_on_customers.php b/database/migrations/2023_10_31_101227_add_date_fileds_on_customers.php new file mode 100644 index 0000000..a9ce459 --- /dev/null +++ b/database/migrations/2023_10_31_101227_add_date_fileds_on_customers.php @@ -0,0 +1,34 @@ +timestamp('email_verified_at')->nullable()->after('remember_token'); + $table->timestamp('last_connection')->nullable()->after('email_verified_at'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('customers', function (Blueprint $table) { + $table->dropColumn('email_verified_at'); + $table->dropColumn('last_connection'); + }); + } +} diff --git a/database/migrations/2023_10_31_152709_add_soft_delete_to_customers.php b/database/migrations/2023_10_31_152709_add_soft_delete_to_customers.php new file mode 100644 index 0000000..58a4fd4 --- /dev/null +++ b/database/migrations/2023_10_31_152709_add_soft_delete_to_customers.php @@ -0,0 +1,32 @@ +softDeletes(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('customers', function (Blueprint $table) { + $table->dropSoftDeletes(); + }); + } +} diff --git a/database/seeders/CommitmentPageSeeder.php b/database/seeders/CommitmentPageSeeder.php new file mode 100644 index 0000000..8b098ec --- /dev/null +++ b/database/seeders/CommitmentPageSeeder.php @@ -0,0 +1,25 @@ +createQuietly(); + + $pictos = Picto::query()->get(); + CommitmentPage::query()->each(function (CommitmentPage $commitmentPage) use ($pictos) { + $commitmentPage->pictos()->saveManyQuietly($pictos->random(\rand(0, 2))); + }); + } +} diff --git a/database/seeders/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.php new file mode 100644 index 0000000..6f9f3ec --- /dev/null +++ b/database/seeders/DatabaseSeeder.php @@ -0,0 +1,30 @@ +call([ + UserSeeder::class, + PictoSeeder::class, + CommitmentPageSeeder::class, + GameSeeder::class, + HistoricalMilestoneSeeder::class, + KlubBlocSeeder::class, + LocalCommitmentSeeder::class, + NewsSeeder::class, + RangeSeeder::class, + ProductSeeder::class, + ReductionSeeder::class, + ]); + } +} diff --git a/database/seeders/GameSeeder.php b/database/seeders/GameSeeder.php new file mode 100644 index 0000000..6384c77 --- /dev/null +++ b/database/seeders/GameSeeder.php @@ -0,0 +1,40 @@ +addMonth(); + $unpublish_at = $publish_at->copy()->addDays(rand(10, 20)); + + for ($i = 0; $i < 5; $i++) { + Game::factory(1)->make()->each( + function (Game $game) use ($i, $publish_at, $unpublish_at) { + $game->published = $i === 0 ? true : false; + $game->publish_at = $publish_at->subMonths(); + $game->unpublish_at = $unpublish_at->subMonths(); + $game->picture = FileStorageHelper::storeFile( + new Game(), + new \SplFileInfo( + \resource_path('../database/factories/assets/games/default-picture-585x415.png') + ) + ); + $game->saveQuietly(); + } + ); + } + } +} diff --git a/database/seeders/HistoricalMilestoneSeeder.php b/database/seeders/HistoricalMilestoneSeeder.php new file mode 100644 index 0000000..f532fa2 --- /dev/null +++ b/database/seeders/HistoricalMilestoneSeeder.php @@ -0,0 +1,46 @@ +make()->each(function (HistoricalMilestone $historicalMilestone) { + $historicalMilestone->picture1 = FileStorageHelper::storeFile( + new HistoricalMilestone(), + new \SplFileInfo( + \resource_path('../database/factories/assets/historicalmilestones/default-picture-431x300.png') + ) + ); + if ($second = fake()->boolean(75)) { + $historicalMilestone->picture2 = FileStorageHelper::storeFile( + new HistoricalMilestone(), + new \SplFileInfo( + \resource_path('../database/factories/assets/historicalmilestones/default-picture-431x300.png') + ) + ); + } + if ($second && fake()->boolean(75)) { + $historicalMilestone->picture3 = FileStorageHelper::storeFile( + new HistoricalMilestone(), + new \SplFileInfo( + \resource_path('../database/factories/assets/historicalmilestones/default-picture-431x300.png') + ) + ); + } + $historicalMilestone->saveQuietly(); + }); + } +} diff --git a/database/seeders/KlubBlocSeeder.php b/database/seeders/KlubBlocSeeder.php new file mode 100644 index 0000000..08227fd --- /dev/null +++ b/database/seeders/KlubBlocSeeder.php @@ -0,0 +1,29 @@ +make()->each(function (KlubBloc $klubBloc) { + $klubBloc->picture = FileStorageHelper::storeFile( + new KlubBloc(), + new \SplFileInfo( + \resource_path('../database/factories/assets/klubblocs/default-picture-640x637.png') + ) + ); + $klubBloc->saveQuietly(); + }); + } +} diff --git a/database/seeders/LocalCommitmentSeeder.php b/database/seeders/LocalCommitmentSeeder.php new file mode 100644 index 0000000..03a096d --- /dev/null +++ b/database/seeders/LocalCommitmentSeeder.php @@ -0,0 +1,49 @@ +make()->each(function (LocalCommitment $localCommitment) { + $localCommitment->picture1 = FileStorageHelper::storeFile( + new LocalCommitment(), + new \SplFileInfo( + \resource_path('../database/factories/assets/localcommitments/default-picture-587x429.png') + ) + ); + if ($second = fake()->boolean(75)) { + $localCommitment->picture2 = FileStorageHelper::storeFile( + new LocalCommitment(), + new \SplFileInfo( + \resource_path('../database/factories/assets/localcommitments/default-picture-587x429.png') + ) + ); + } + if ($second && fake()->boolean(75)) { + $localCommitment->picture3 = FileStorageHelper::storeFile( + new LocalCommitment(), + new \SplFileInfo( + \resource_path('../database/factories/assets/localcommitments/default-picture-587x429.png') + ) + ); + } + $localCommitment->order = \intval(LocalCommitment::query()->max('order')) + 1; + $localCommitment->saveQuietly(); + }); + + LocalCommitment::query()->first()->updateQuietly(['published' => true]); + } +} diff --git a/database/seeders/NewsSeeder.php b/database/seeders/NewsSeeder.php new file mode 100644 index 0000000..272ca57 --- /dev/null +++ b/database/seeders/NewsSeeder.php @@ -0,0 +1,30 @@ +make()->each(function (News $news) { + $news->picture = FileStorageHelper::storeFile( + new News(), + new \SplFileInfo( + \resource_path('../database/factories/assets/news/default-picture-308x223.png') + ) + ); + $news->saveQuietly(); + }); + } +} diff --git a/database/seeders/PictoSeeder.php b/database/seeders/PictoSeeder.php new file mode 100644 index 0000000..fd5d63f --- /dev/null +++ b/database/seeders/PictoSeeder.php @@ -0,0 +1,30 @@ +make()->each(function (Picto $picto) { + $picto->picture = FileStorageHelper::storeFile( + new Picto(), + new \SplFileInfo( + \resource_path('../database/factories/assets/pictos/default-picture-85x85.png') + ) + ); + $picto->saveQuietly(); + }); + } +} diff --git a/database/seeders/ProductSeeder.php b/database/seeders/ProductSeeder.php new file mode 100644 index 0000000..afdcd2f --- /dev/null +++ b/database/seeders/ProductSeeder.php @@ -0,0 +1,43 @@ +make()->each(function (Product $product) { + $product->picture = FileStorageHelper::storeFile( + new Product(), + new \SplFileInfo( + \resource_path('../database/factories/assets/products/default-picture-503x503.png') + ) + ); + $product->picture_thumbnail = FileStorageHelper::storeFile( + new Product(), + new \SplFileInfo( + \resource_path('../database/factories/assets/products/default-picture-310x310.png') + ) + ); + $product->order = \intval(Product::query()->max('order')) + 1; + $product->saveQuietly(); + }); + + $pictos = Picto::query()->get(); + Product::query()->each(function (Product $product) use ($pictos) { + $product->pictos()->saveManyQuietly($pictos->random(\rand(0, 3))); + }); + } +} diff --git a/database/seeders/RangeSeeder.php b/database/seeders/RangeSeeder.php new file mode 100644 index 0000000..984b7ac --- /dev/null +++ b/database/seeders/RangeSeeder.php @@ -0,0 +1,52 @@ +make()->each(function (Range $range) { + $range->picture = FileStorageHelper::storeFile( + new Range(), + new \SplFileInfo( + \resource_path('../database/factories/assets/ranges/default-picture-579x579.png') + ) + ); + $range->picture_ambiance = FileStorageHelper::storeFile( + new Range(), + new \SplFileInfo( + \resource_path('../database/factories/assets/ranges/default-picture-333x333.png') + ) + ); + if ($first = fake()->boolean(75)) { + $range->picto1_picture = FileStorageHelper::storeFile( + new Range(), + new \SplFileInfo( + \resource_path('../database/factories/assets/ranges/default-picture-67x70.png') + ) + ); + } + if ($first && fake()->boolean(75)) { + $range->picto2_picture = FileStorageHelper::storeFile( + new Range(), + new \SplFileInfo( + \resource_path('../database/factories/assets/ranges/default-picture-67x70.png') + ) + ); + } + $range->saveQuietly(); + }); + } +} diff --git a/database/seeders/ReductionSeeder.php b/database/seeders/ReductionSeeder.php new file mode 100644 index 0000000..53cf996 --- /dev/null +++ b/database/seeders/ReductionSeeder.php @@ -0,0 +1,30 @@ +make()->each(function (Reduction $reduction) { + $reduction->picture_packshot = FileStorageHelper::storeFile( + new Reduction(), + new \SplFileInfo( + \resource_path('../database/factories/assets/reductions/default-picture-266x266.png') + ) + ); + $reduction->saveQuietly(); + }); + } +} diff --git a/database/seeders/StaticPageSeeder.php b/database/seeders/StaticPageSeeder.php new file mode 100644 index 0000000..6e56f96 --- /dev/null +++ b/database/seeders/StaticPageSeeder.php @@ -0,0 +1,130 @@ +make( + [ + 'seo_title' => 'Seo title pour la page contactez nous', + 'seo_description' => 'Seo description pour la page contactez nous', + 'title' => 'Contactez-nous', + 'slug' => Str::slug('Contactez-nous'), + 'type' => StaticPageType::contact, + 'content' => \clean(\fake()->randomHtml(6, 7)), + ] + )->saveQuietly(); + StaticPage::query()->make( + [ + 'seo_title' => 'Seo title pour la page mentions légales', + 'seo_description' => 'Seo description pour la page mentions légales', + 'title' => 'Mentions légales', + 'slug' => Str::slug('Mentions légales'), + 'type' => StaticPageType::legals, + 'content' => \clean(\fake()->randomHtml(6, 7)), + ] + )->saveQuietly(); + StaticPage::query()->make( + [ + 'seo_title' => 'Seo title pour la page charte de confidentialité', + 'seo_description' => 'Seo description pour la page charte de confidentialité', + 'title' => 'Charte de confidentialité', + 'slug' => Str::slug('Charte de confidentialité'), + 'type' => StaticPageType::confidentiality, + 'content' => \clean(\fake()->randomHtml(6, 7)), + ] + )->saveQuietly(); + StaticPage::query()->make( + [ + 'seo_title' => 'Seo title pour la page d\'accueil', + 'seo_description' => 'Seo description pour la page d\'accueil', + 'title' => 'Accueil', + 'slug' => Str::slug('Accueil'), + 'type' => StaticPageType::home, + 'content' => \clean(\fake()->randomHtml(6, 7)), + ] + )->saveQuietly(); + StaticPage::query()->make( + [ + 'seo_title' => 'Seo title pour la page Nos gammes', + 'seo_description' => 'Seo description pour la page Nos gammes', + 'title' => 'Nos gammes', + 'slug' => Str::slug('Nos gammes'), + 'type' => StaticPageType::ranges, + 'content' => \clean(\fake()->randomHtml(6, 7)), + ] + )->saveQuietly(); + StaticPage::query()->make( + [ + 'seo_title' => 'Seo title pour la page Une Gamme', + 'seo_description' => 'Seo description pour la page Une Gamme', + 'title' => 'Une Gamme', + 'slug' => Str::slug('Une Gamme'), + 'type' => StaticPageType::range, + 'content' => \clean(\fake()->randomHtml(6, 7)), + ] + )->saveQuietly(); + StaticPage::query()->make( + [ + 'seo_title' => 'Seo title pour la page Actualités', + 'seo_description' => 'Seo description pour la page Actualités', + 'title' => 'Actualités', + 'slug' => Str::slug('Actualités'), + 'type' => StaticPageType::news, + 'content' => \clean(\fake()->randomHtml(6, 7)), + ] + )->saveQuietly(); + StaticPage::query()->make( + [ + 'seo_title' => 'Seo title pour la page Le Klub', + 'seo_description' => 'Seo description pour la page Le Klub', + 'title' => 'Le Klub', + 'slug' => Str::slug('Le Klub'), + 'type' => StaticPageType::klub, + 'content' => \clean(\fake()->randomHtml(6, 7)), + ] + )->saveQuietly(); + StaticPage::query()->make( + [ + 'seo_title' => 'Seo title pour la page Le Klub - Inscription', + 'seo_description' => 'Seo description pour la page Le Klub - Inscription', + 'title' => 'Le Klub - Inscription', + 'slug' => Str::slug('Le Klub - Inscription'), + 'type' => StaticPageType::klub_register, + 'content' => \clean(\fake()->randomHtml(6, 7)), + ] + )->saveQuietly(); + StaticPage::query()->make( + [ + 'seo_title' => 'Seo title pour la page Notre Histoire', + 'seo_description' => 'Seo description pour la page Notre Histoire', + 'title' => 'Notre Histoire', + 'slug' => Str::slug('Notre Histoire'), + 'type' => StaticPageType::history, + 'content' => \clean(\fake()->randomHtml(6, 7)), + ] + )->saveQuietly(); + StaticPage::query()->make( + [ + 'seo_title' => 'Seo title pour la page Nos Engagements', + 'seo_description' => 'Seo description pour la page Nos Engagements', + 'title' => 'Nos Engagements', + 'slug' => Str::slug('Nos Engagements'), + 'type' => StaticPageType::commitments, + 'content' => \clean(\fake()->randomHtml(2, 3)), + ] + )->saveQuietly(); + } +} diff --git a/database/seeders/UserSeeder.php b/database/seeders/UserSeeder.php new file mode 100644 index 0000000..3c4c266 --- /dev/null +++ b/database/seeders/UserSeeder.php @@ -0,0 +1,19 @@ +createQuietly(); + } +} diff --git a/jsconfig.json b/jsconfig.json new file mode 100644 index 0000000..d05f5a8 --- /dev/null +++ b/jsconfig.json @@ -0,0 +1,3 @@ +{ + "include": ["./resources/js/**/*"] +} diff --git a/manifest.yaml b/manifest.yaml new file mode 100644 index 0000000..21f97ae --- /dev/null +++ b/manifest.yaml @@ -0,0 +1,188 @@ +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: ${CI_PROJECT_PATH_SLUG}-config-map +data: + APP_NAME: "${APP_APP_NAME}" + APP_ENV: "${APP_APP_ENV}" + APP_KEY: "${APP_APP_KEY}" + APP_DEBUG: "${APP_APP_DEBUG}" + APP_URL: "https://www.${APP_DOMAIN}" + LOG_CHANNEL: "k8s" + DB_HOST: "mariadb-service.common-services" + DB_DATABASE: "${APP_DB_DATABASE}" + DB_USERNAME: "${APP_DB_USERNAME}" + DB_PASSWORD: "${APP_DB_PASSWORD}" + MAIL_HOST: "${APP_MAIL_HOST}" + MAIL_PORT: "${APP_MAIL_PORT}" + MAIL_USERNAME: "${APP_MAIL_USERNAME}" + MAIL_PASSWORD: "${APP_MAIL_PASSWORD}" + MAIL_ENCRYPTION: "${APP_MAIL_ENCRYPTION}" + MAIL_FROM_ADDRESS: "${APP_MAIL_FROM_ADDRESS}" + MAIL_FROM_NAME: "${APP_APP_NAME}" + CRM_ENDPOINT: "${APP_CRM_ENDPOINT}" + CRM_TOKEN: "${APP_CRM_TOKEN}" + CRM_PASSWORD: "${APP_CRM_PASSWORD}" + MESBR_REF_SITE: "${APP_MESBR_REF_SITE}" + MESBR_REF_CAMP: "${APP_MESBR_REF_CAMP}" + MESBR_ENDPOINT: "${APP_MESBR_ENDPOINT}" + LDC_WEB_API_KEY: "${APP_LDC_WEB_API_KEY}" + GOOGLE_RECAPTCHA_PRIVATE: "${APP_GOOGLE_RECAPTCHA_PRIVATE}" + GOOGLE_RECAPTCHA_PUBLIC: "${APP_GOOGLE_RECAPTCHA_PUBLIC}" + GOOGLE_RECAPTCHA_VERSION: "${APP_GOOGLE_RECAPTCHA_VERSION}" + SENTRY_LARAVEL_DSN: "${APP_SENTRY_LARAVEL_DSN}" + MATOMO_SITE_ID: "${APP_MATOMO_SITE_ID}" + MAIL_CONTACT_RECLAIM: "${APP_MAIL_CONTACT_RECLAIM}" + MAIL_CONTACT_INFO: "${APP_MAIL_CONTACT_INFO}" + MAIL_CONTACT_ASSOCIATIVE: "${APP_MAIL_CONTACT_ASSOCIATIVE}" + MAIL_CONTACT_PARTNERSHIP: "${APP_MAIL_CONTACT_PARTNERSHIP}" + MAIL_CONTACT_COMMERCIAL: "${APP_MAIL_CONTACT_COMMERCIAL}" + MAIL_CONTACT_VARIOUS: "${APP_MAIL_CONTACT_VARIOUS}" + +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: ${CI_PROJECT_PATH_SLUG}-pvc-storage +spec: + storageClassName: "csi-cinder-classic" + accessModes: + - ReadWriteOnce + resources: + requests: + storage: $APP_PVC_SIZE + +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: ${CI_PROJECT_PATH_SLUG}-deployment +spec: + replicas: 1 + selector: + matchLabels: + app: ${CI_PROJECT_PATH_SLUG}-app + template: + metadata: + labels: + app: ${CI_PROJECT_PATH_SLUG}-app + spec: + containers: + - name: ${CI_PROJECT_PATH_SLUG}-container + image: $IMAGE_TAG + envFrom: + - configMapRef: + name: ${CI_PROJECT_PATH_SLUG}-config-map + volumeMounts: + - name: storage + mountPath: /app/srcs/storage + imagePullSecrets: + - name: docker-registry-credentials + securityContext: + runAsUser: 33 + runAsGroup: 33 + fsGroup: 33 + fsGroupChangePolicy: "OnRootMismatch" + volumes: + - name: storage + persistentVolumeClaim: + claimName: ${CI_PROJECT_PATH_SLUG}-pvc-storage + + +--- +apiVersion: v1 +kind: Service +metadata: + name: ${CI_PROJECT_PATH_SLUG}-service +spec: + selector: + app: ${CI_PROJECT_PATH_SLUG}-app + ports: + - port: 80 + targetPort: 443 + +--- +apiVersion: traefik.containo.us/v1alpha1 +kind: IngressRoute +metadata: + name: ${CI_PROJECT_PATH_SLUG}-ingress-route +spec: + entryPoints: + - web + - websecure + routes: + - match: Host(`${APP_DOMAIN}`, `www.${APP_DOMAIN}`) + kind: Rule + services: + - name: ${CI_PROJECT_PATH_SLUG}-service + port: 80 + middlewares: + - name: redirect-no-www-to-www + namespace: common-services + tls: + secretName: $APP_DOMAIN + +--- +apiVersion: cert-manager.io/v1 +kind: Certificate +metadata: + name: $APP_DOMAIN +spec: + dnsNames: + - $APP_DOMAIN + - www.${APP_DOMAIN} + secretName: $APP_DOMAIN + issuerRef: + name: $APP_CERT_ISSUER + kind: ClusterIssuer + +--- +apiVersion: batch/v1 +kind: CronJob +metadata: + name: ${CI_PROJECT_PATH_SLUG}-cronjob +spec: + schedule: "* * * * *" + jobTemplate: + spec: + template: + spec: + affinity: + podAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: app + operator: In + values: + - ${CI_PROJECT_PATH_SLUG}-app + topologyKey: "kubernetes.io/hostname" + namespaces: [$KUBE_NAMESPACE] + containers: + - name: ${CI_PROJECT_PATH_SLUG}-scheduled + image: $IMAGE_TAG + imagePullPolicy: IfNotPresent + command: + - "php" + args: + - "artisan" + - "schedule:run" + envFrom: + - configMapRef: + name: ${CI_PROJECT_PATH_SLUG}-config-map + volumeMounts: + - name: storage + mountPath: /app/srcs/storage + imagePullSecrets: + - name: docker-registry-credentials + volumes: + - name: storage + persistentVolumeClaim: + claimName: ${CI_PROJECT_PATH_SLUG}-pvc-storage + securityContext: + runAsUser: 33 + runAsGroup: 33 + fsGroup: 33 + fsGroupChangePolicy: "OnRootMismatch" + restartPolicy: OnFailure diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..f53e198 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,8440 @@ +{ + "name": "srcs", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "srcs", + "devDependencies": { + "@babel/core": "^7.22.11", + "@babel/types": "^7.21.2", + "@fortawesome/fontawesome-svg-core": "^6.5.1", + "@fortawesome/free-regular-svg-icons": "^6.5.1", + "@fortawesome/free-solid-svg-icons": "^6.5.1", + "@fortawesome/vue-fontawesome": "^3.0.5", + "@ldc-web/cookie-notice": "^3.1.2", + "@sipec/vue3-tags-input": "^3.0.4", + "@types/bootstrap": "^5.2.7", + "@types/node": "^20.8.2", + "@types/toastify-js": "^1.12.1", + "@typescript-eslint/eslint-plugin": "^5.62.0", + "@typescript-eslint/parser": "^5.36.2", + "@vitejs/plugin-basic-ssl": "^1.0.1", + "@vitejs/plugin-vue": "latest", + "@vue/compiler-sfc": "latest", + "@vue/eslint-config-typescript": "latest", + "@vue/tsconfig": "^0.4.0", + "axios": "^1.5.1", + "bootstrap": "^5.3.2", + "chart.js": "^4.4.0", + "cropperjs": "^1.6.1", + "eslint": "latest", + "eslint-import-resolver-alias": "^1.1.2", + "eslint-plugin-vue": "latest", + "laravel-vite-plugin": "latest", + "postcss-discard-comments": "^6.0.0", + "prettier": "latest", + "print-js": "^1.6.0", + "resolve-url-loader": "^5.0.0", + "rollup-plugin-copy": "^3.5.0", + "sass": "latest", + "slugify": "^1.6.6", + "stylelint": "^15.11.0", + "stylelint-config-idiomatic-order": "github:ream88/stylelint-config-idiomatic-order", + "stylelint-config-sass-guidelines": "^10.0.0", + "stylelint-config-standard-scss": "^11.1.0", + "stylelint-scss": "^5.3.2", + "sweetalert2": "^11.7.31", + "swiper": "^11.0.5", + "terser": "latest", + "toastify-js": "^1.12.0", + "ts-loader": "^9.3.1", + "typescript": ">=3.3.1 <5.2.0", + "typescript-eslint": "latest", + "vite": "^4.5.1", + "vite-plugin-babel": "latest", + "vite-plugin-checker": "latest", + "vite-plugin-eslint": "latest", + "vite-plugin-stylelint": "latest", + "vue": "latest", + "vue-eslint-parser": "^9.3.2", + "vue-loader": "^17.3.1", + "vue-tsc": "1.8.11" + } + }, + "node_modules/@aashutoshrathi/word-wrap": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", + "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@ampproject/remapping": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz", + "integrity": "sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==", + "dev": true, + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.0", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.23.5", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.5.tgz", + "integrity": "sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==", + "dev": true, + "dependencies": { + "@babel/highlight": "^7.23.4", + "chalk": "^2.4.2" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/compat-data": { + "version": "7.23.5", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.23.5.tgz", + "integrity": "sha512-uU27kfDRlhfKl+w1U6vp16IuvSLtjAxdArVXPa9BvLkrr7CYIsxH5adpHObeAGY/41+syctUWOZ140a2Rvkgjw==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/core": { + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.6.tgz", + "integrity": "sha512-FxpRyGjrMJXh7X3wGLGhNDCRiwpWEF74sKjTLDJSG5Kyvow3QZaG0Adbqzi9ZrVjTWpsX+2cxWXD71NMg93kdw==", + "dev": true, + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.23.5", + "@babel/generator": "^7.23.6", + "@babel/helper-compilation-targets": "^7.23.6", + "@babel/helper-module-transforms": "^7.23.3", + "@babel/helpers": "^7.23.6", + "@babel/parser": "^7.23.6", + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.23.6", + "@babel/types": "^7.23.6", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/generator": { + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.6.tgz", + "integrity": "sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw==", + "dev": true, + "dependencies": { + "@babel/types": "^7.23.6", + "@jridgewell/gen-mapping": "^0.3.2", + "@jridgewell/trace-mapping": "^0.3.17", + "jsesc": "^2.5.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets": { + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.23.6.tgz", + "integrity": "sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ==", + "dev": true, + "dependencies": { + "@babel/compat-data": "^7.23.5", + "@babel/helper-validator-option": "^7.23.5", + "browserslist": "^4.22.2", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-environment-visitor": { + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz", + "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-function-name": { + "version": "7.23.0", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz", + "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==", + "dev": true, + "dependencies": { + "@babel/template": "^7.22.15", + "@babel/types": "^7.23.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-hoist-variables": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", + "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", + "dev": true, + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-imports": { + "version": "7.22.15", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz", + "integrity": "sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==", + "dev": true, + "dependencies": { + "@babel/types": "^7.22.15" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-transforms": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz", + "integrity": "sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==", + "dev": true, + "dependencies": { + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-module-imports": "^7.22.15", + "@babel/helper-simple-access": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "@babel/helper-validator-identifier": "^7.22.20" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-simple-access": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz", + "integrity": "sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==", + "dev": true, + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-split-export-declaration": { + "version": "7.22.6", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz", + "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==", + "dev": true, + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-string-parser": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz", + "integrity": "sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", + "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-option": { + "version": "7.23.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.23.5.tgz", + "integrity": "sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helpers": { + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.6.tgz", + "integrity": "sha512-wCfsbN4nBidDRhpDhvcKlzHWCTlgJYUUdSJfzXb2NuBssDSIjc3xcb+znA7l+zYsFljAcGM0aFkN40cR3lXiGA==", + "dev": true, + "dependencies": { + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.23.6", + "@babel/types": "^7.23.6" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/highlight": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz", + "integrity": "sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==", + "dev": true, + "dependencies": { + "@babel/helper-validator-identifier": "^7.22.20", + "chalk": "^2.4.2", + "js-tokens": "^4.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/parser": { + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.6.tgz", + "integrity": "sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ==", + "dev": true, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/template": { + "version": "7.22.15", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz", + "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.22.13", + "@babel/parser": "^7.22.15", + "@babel/types": "^7.22.15" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.6.tgz", + "integrity": "sha512-czastdK1e8YByZqezMPFiZ8ahwVMh/ESl9vPgvgdB9AmFMGP5jfpFax74AQgl5zj4XHzqeYAg2l8PuUeRS1MgQ==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.23.5", + "@babel/generator": "^7.23.6", + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-function-name": "^7.23.0", + "@babel/helper-hoist-variables": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "@babel/parser": "^7.23.6", + "@babel/types": "^7.23.6", + "debug": "^4.3.1", + "globals": "^11.1.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/types": { + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.6.tgz", + "integrity": "sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg==", + "dev": true, + "dependencies": { + "@babel/helper-string-parser": "^7.23.4", + "@babel/helper-validator-identifier": "^7.22.20", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@csstools/css-parser-algorithms": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.3.2.tgz", + "integrity": "sha512-sLYGdAdEY2x7TSw9FtmdaTrh2wFtRJO5VMbBrA8tEqEod7GEggFmxTSK9XqExib3yMuYNcvcTdCZIP6ukdjAIA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "engines": { + "node": "^14 || ^16 || >=18" + }, + "peerDependencies": { + "@csstools/css-tokenizer": "^2.2.1" + } + }, + "node_modules/@csstools/css-tokenizer": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-2.2.1.tgz", + "integrity": "sha512-Zmsf2f/CaEPWEVgw29odOj+WEVoiJy9s9NOv5GgNY9mZ1CZ7394By6wONrONrTsnNDv6F9hR02nvFihrGVGHBg==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "engines": { + "node": "^14 || ^16 || >=18" + } + }, + "node_modules/@csstools/media-query-list-parser": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-2.1.5.tgz", + "integrity": "sha512-IxVBdYzR8pYe89JiyXQuYk4aVVoCPhMJkz6ElRwlVysjwURTsTk/bmY/z4FfeRE+CRBMlykPwXEVUg8lThv7AQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "engines": { + "node": "^14 || ^16 || >=18" + }, + "peerDependencies": { + "@csstools/css-parser-algorithms": "^2.3.2", + "@csstools/css-tokenizer": "^2.2.1" + } + }, + "node_modules/@csstools/selector-specificity": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-3.0.0.tgz", + "integrity": "sha512-hBI9tfBtuPIi885ZsZ32IMEU/5nlZH/KOVYJCOh7gyMxaVLGmLedYqFN6Ui1LXkI8JlC8IsuC0rF0btcRZKd5g==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "engines": { + "node": "^14 || ^16 || >=18" + }, + "peerDependencies": { + "postcss-selector-parser": "^6.0.13" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.20.tgz", + "integrity": "sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.20.tgz", + "integrity": "sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.20.tgz", + "integrity": "sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.20.tgz", + "integrity": "sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.20.tgz", + "integrity": "sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.20.tgz", + "integrity": "sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.20.tgz", + "integrity": "sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.20.tgz", + "integrity": "sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.20.tgz", + "integrity": "sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.20.tgz", + "integrity": "sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.20.tgz", + "integrity": "sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==", + "cpu": [ + "loong64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.20.tgz", + "integrity": "sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==", + "cpu": [ + "mips64el" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.20.tgz", + "integrity": "sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.20.tgz", + "integrity": "sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==", + "cpu": [ + "riscv64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.20.tgz", + "integrity": "sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==", + "cpu": [ + "s390x" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.20.tgz", + "integrity": "sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.20.tgz", + "integrity": "sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.20.tgz", + "integrity": "sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.20.tgz", + "integrity": "sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.20.tgz", + "integrity": "sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.20.tgz", + "integrity": "sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.20.tgz", + "integrity": "sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", + "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", + "dev": true, + "dependencies": { + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.10.0", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.0.tgz", + "integrity": "sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==", + "dev": true, + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/@eslint/eslintrc": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", + "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", + "dev": true, + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^9.6.0", + "globals": "^13.19.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint/eslintrc/node_modules/globals": { + "version": "13.24.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", + "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", + "dev": true, + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@eslint/eslintrc/node_modules/type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@eslint/js": { + "version": "8.55.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.55.0.tgz", + "integrity": "sha512-qQfo2mxH5yVom1kacMtZZJFVdW+E70mqHMJvVg6WTLo+VBuQJ4TojZlfWBjK0ve5BdEeNAVxOsl/nvNMpJOaJA==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/@fortawesome/fontawesome-common-types": { + "version": "6.5.1", + "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-6.5.1.tgz", + "integrity": "sha512-GkWzv+L6d2bI5f/Vk6ikJ9xtl7dfXtoRu3YGE6nq0p/FFqA1ebMOAWg3XgRyb0I6LYyYkiAo+3/KrwuBp8xG7A==", + "dev": true, + "hasInstallScript": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/@fortawesome/fontawesome-svg-core": { + "version": "6.5.1", + "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-svg-core/-/fontawesome-svg-core-6.5.1.tgz", + "integrity": "sha512-MfRCYlQPXoLlpem+egxjfkEuP9UQswTrlCOsknus/NcMoblTH2g0jPrapbcIb04KGA7E2GZxbAccGZfWoYgsrQ==", + "dev": true, + "hasInstallScript": true, + "dependencies": { + "@fortawesome/fontawesome-common-types": "6.5.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/@fortawesome/free-regular-svg-icons": { + "version": "6.5.1", + "resolved": "https://registry.npmjs.org/@fortawesome/free-regular-svg-icons/-/free-regular-svg-icons-6.5.1.tgz", + "integrity": "sha512-m6ShXn+wvqEU69wSP84coxLbNl7sGVZb+Ca+XZq6k30SzuP3X4TfPqtycgUh9ASwlNh5OfQCd8pDIWxl+O+LlQ==", + "dev": true, + "hasInstallScript": true, + "dependencies": { + "@fortawesome/fontawesome-common-types": "6.5.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/@fortawesome/free-solid-svg-icons": { + "version": "6.5.1", + "resolved": "https://registry.npmjs.org/@fortawesome/free-solid-svg-icons/-/free-solid-svg-icons-6.5.1.tgz", + "integrity": "sha512-S1PPfU3mIJa59biTtXJz1oI0+KAXW6bkAb31XKhxdxtuXDiUIFsih4JR1v5BbxY7hVHsD1RKq+jRkVRaf773NQ==", + "dev": true, + "hasInstallScript": true, + "dependencies": { + "@fortawesome/fontawesome-common-types": "6.5.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/@fortawesome/vue-fontawesome": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@fortawesome/vue-fontawesome/-/vue-fontawesome-3.0.5.tgz", + "integrity": "sha512-isZZ4+utQH9qg9cWxWYHQ9GwI3r5FeO7GnmzKYV+gbjxcptQhh+F99iZXi1Y9AvFUEgy8kRpAdvDlbb3drWFrw==", + "dev": true, + "peerDependencies": { + "@fortawesome/fontawesome-svg-core": "~1 || ~6", + "vue": ">= 3.0.0 < 4" + } + }, + "node_modules/@humanwhocodes/config-array": { + "version": "0.11.13", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.13.tgz", + "integrity": "sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==", + "dev": true, + "dependencies": { + "@humanwhocodes/object-schema": "^2.0.1", + "debug": "^4.1.1", + "minimatch": "^3.0.5" + }, + "engines": { + "node": ">=10.10.0" + } + }, + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "dev": true, + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/object-schema": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz", + "integrity": "sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==", + "dev": true + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", + "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", + "dev": true, + "dependencies": { + "@jridgewell/set-array": "^1.0.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz", + "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==", + "dev": true, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/set-array": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", + "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", + "dev": true, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/source-map": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.5.tgz", + "integrity": "sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ==", + "dev": true, + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.0", + "@jridgewell/trace-mapping": "^0.3.9" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.15", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", + "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", + "dev": true + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.20", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz", + "integrity": "sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==", + "dev": true, + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@kurkle/color": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@kurkle/color/-/color-0.3.2.tgz", + "integrity": "sha512-fuscdXJ9G1qb7W8VdHi+IwRqij3lBkosAm4ydQtEmbY58OzHXqQhvlxqEkoz0yssNVn38bcpRWgA9PP+OGoisw==", + "dev": true + }, + "node_modules/@ldc-web/cookie-notice": { + "version": "3.1.2", + "resolved": "https://lab.s-web.fr/api/v4/projects/50/packages/npm/@ldc-web/cookie-notice/-/@ldc-web/cookie-notice-3.1.2.tgz", + "integrity": "sha1-UNRi9oPfcnrw4lfGSh4wDUqqcIU=", + "dev": true + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@popperjs/core": { + "version": "2.11.8", + "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", + "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==", + "dev": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/popperjs" + } + }, + "node_modules/@rollup/pluginutils": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-4.2.1.tgz", + "integrity": "sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==", + "dev": true, + "dependencies": { + "estree-walker": "^2.0.1", + "picomatch": "^2.2.2" + }, + "engines": { + "node": ">= 8.0.0" + } + }, + "node_modules/@sipec/vue3-tags-input": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@sipec/vue3-tags-input/-/vue3-tags-input-3.0.4.tgz", + "integrity": "sha512-zE4OiFkWvlvvGT3FZQ9hRrvJW935VPW0fe4K03SxM5Q/UQZMqph763UHXTuyK1orWNQMTbDx9tKPLIMZTiDXLA==", + "dev": true, + "dependencies": { + "vue": "^3.0.0-beta.1" + }, + "peerDependencies": { + "vue": "3.x" + } + }, + "node_modules/@types/bootstrap": { + "version": "5.2.10", + "resolved": "https://registry.npmjs.org/@types/bootstrap/-/bootstrap-5.2.10.tgz", + "integrity": "sha512-F2X+cd6551tep0MvVZ6nM8v7XgGN/twpdNDjqS1TUM7YFNEtQYWk+dKAnH+T1gr6QgCoGMPl487xw/9hXooa2g==", + "dev": true, + "dependencies": { + "@popperjs/core": "^2.9.2" + } + }, + "node_modules/@types/eslint": { + "version": "8.44.9", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.44.9.tgz", + "integrity": "sha512-6yBxcvwnnYoYT1Uk2d+jvIfsuP4mb2EdIxFnrPABj5a/838qe5bGkNLFOiipX4ULQ7XVQvTxOh7jO+BTAiqsEw==", + "dev": true, + "dependencies": { + "@types/estree": "*", + "@types/json-schema": "*" + } + }, + "node_modules/@types/eslint-scope": { + "version": "3.7.7", + "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.7.tgz", + "integrity": "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==", + "dev": true, + "peer": true, + "dependencies": { + "@types/eslint": "*", + "@types/estree": "*" + } + }, + "node_modules/@types/estree": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", + "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==", + "dev": true + }, + "node_modules/@types/fs-extra": { + "version": "8.1.5", + "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-8.1.5.tgz", + "integrity": "sha512-0dzKcwO+S8s2kuF5Z9oUWatQJj5Uq/iqphEtE3GQJVRRYm/tD1LglU2UnXi2A8jLq5umkGouOXOR9y0n613ZwQ==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/glob": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.2.0.tgz", + "integrity": "sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==", + "dev": true, + "dependencies": { + "@types/minimatch": "*", + "@types/node": "*" + } + }, + "node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "dev": true + }, + "node_modules/@types/json5": { + "version": "0.0.29", + "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", + "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==", + "dev": true, + "peer": true + }, + "node_modules/@types/minimatch": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-5.1.2.tgz", + "integrity": "sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==", + "dev": true + }, + "node_modules/@types/minimist": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag==", + "dev": true + }, + "node_modules/@types/node": { + "version": "20.10.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.10.4.tgz", + "integrity": "sha512-D08YG6rr8X90YB56tSIuBaddy/UXAA9RKJoFvrsnogAum/0pmjkgi4+2nx96A330FmioegBWmEYQ+syqCFaveg==", + "dev": true, + "dependencies": { + "undici-types": "~5.26.4" + } + }, + "node_modules/@types/normalize-package-data": { + "version": "2.4.4", + "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz", + "integrity": "sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==", + "dev": true + }, + "node_modules/@types/semver": { + "version": "7.5.6", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.6.tgz", + "integrity": "sha512-dn1l8LaMea/IjDoHNd9J52uBbInB796CDffS6VdIxvqYCPSG0V0DzHp76GpaWnlhg88uYyPbXCDIowa86ybd5A==", + "dev": true + }, + "node_modules/@types/toastify-js": { + "version": "1.12.3", + "resolved": "https://registry.npmjs.org/@types/toastify-js/-/toastify-js-1.12.3.tgz", + "integrity": "sha512-9RjLlbAHMSaae/KZNHGv19VG4gcLIm3YjvacCXBtfMfYn26h76YP5oxXI8k26q4iKXCB9LNfv18lsoS0JnFPTg==", + "dev": true + }, + "node_modules/@typescript-eslint/eslint-plugin": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz", + "integrity": "sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==", + "dev": true, + "dependencies": { + "@eslint-community/regexpp": "^4.4.0", + "@typescript-eslint/scope-manager": "5.62.0", + "@typescript-eslint/type-utils": "5.62.0", + "@typescript-eslint/utils": "5.62.0", + "debug": "^4.3.4", + "graphemer": "^1.4.0", + "ignore": "^5.2.0", + "natural-compare-lite": "^1.4.0", + "semver": "^7.3.7", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^5.0.0", + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/eslint-plugin/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@typescript-eslint/eslint-plugin/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@typescript-eslint/eslint-plugin/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/@typescript-eslint/parser": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.62.0.tgz", + "integrity": "sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==", + "dev": true, + "dependencies": { + "@typescript-eslint/scope-manager": "5.62.0", + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/typescript-estree": "5.62.0", + "debug": "^4.3.4" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/scope-manager": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz", + "integrity": "sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/visitor-keys": "5.62.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/type-utils": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.62.0.tgz", + "integrity": "sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew==", + "dev": true, + "dependencies": { + "@typescript-eslint/typescript-estree": "5.62.0", + "@typescript-eslint/utils": "5.62.0", + "debug": "^4.3.4", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "*" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/types": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.62.0.tgz", + "integrity": "sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/typescript-estree": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz", + "integrity": "sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/visitor-keys": "5.62.0", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "semver": "^7.3.7", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/@typescript-eslint/utils": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.62.0.tgz", + "integrity": "sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==", + "dev": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", + "@types/json-schema": "^7.0.9", + "@types/semver": "^7.3.12", + "@typescript-eslint/scope-manager": "5.62.0", + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/typescript-estree": "5.62.0", + "eslint-scope": "^5.1.1", + "semver": "^7.3.7" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/@typescript-eslint/utils/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@typescript-eslint/utils/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@typescript-eslint/utils/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/@typescript-eslint/visitor-keys": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz", + "integrity": "sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "5.62.0", + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@ungap/structured-clone": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", + "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", + "dev": true + }, + "node_modules/@vitejs/plugin-basic-ssl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-basic-ssl/-/plugin-basic-ssl-1.0.2.tgz", + "integrity": "sha512-DKHKVtpI+eA5fvObVgQ3QtTGU70CcCnedalzqmGSR050AzKZMdUzgC8KmlOneHWH8dF2hJ3wkC9+8FDVAaDRCw==", + "dev": true, + "engines": { + "node": ">=14.6.0" + }, + "peerDependencies": { + "vite": "^3.0.0 || ^4.0.0 || ^5.0.0" + } + }, + "node_modules/@vitejs/plugin-vue": { + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-4.5.2.tgz", + "integrity": "sha512-UGR3DlzLi/SaVBPX0cnSyE37vqxU3O6chn8l0HJNzQzDia6/Au2A4xKv+iIJW8w2daf80G7TYHhi1pAUjdZ0bQ==", + "dev": true, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "peerDependencies": { + "vite": "^4.0.0 || ^5.0.0", + "vue": "^3.2.25" + } + }, + "node_modules/@volar/language-core": { + "version": "1.10.10", + "resolved": "https://registry.npmjs.org/@volar/language-core/-/language-core-1.10.10.tgz", + "integrity": "sha512-nsV1o3AZ5n5jaEAObrS3MWLBWaGwUj/vAsc15FVNIv+DbpizQRISg9wzygsHBr56ELRH8r4K75vkYNMtsSNNWw==", + "dev": true, + "dependencies": { + "@volar/source-map": "1.10.10" + } + }, + "node_modules/@volar/source-map": { + "version": "1.10.10", + "resolved": "https://registry.npmjs.org/@volar/source-map/-/source-map-1.10.10.tgz", + "integrity": "sha512-GVKjLnifV4voJ9F0vhP56p4+F3WGf+gXlRtjFZsv6v3WxBTWU3ZVeaRaEHJmWrcv5LXmoYYpk/SC25BKemPRkg==", + "dev": true, + "dependencies": { + "muggle-string": "^0.3.1" + } + }, + "node_modules/@volar/typescript": { + "version": "1.10.10", + "resolved": "https://registry.npmjs.org/@volar/typescript/-/typescript-1.10.10.tgz", + "integrity": "sha512-4a2r5bdUub2m+mYVnLu2wt59fuoYWe7nf0uXtGHU8QQ5LDNfzAR0wK7NgDiQ9rcl2WT3fxT2AA9AylAwFtj50A==", + "dev": true, + "dependencies": { + "@volar/language-core": "1.10.10", + "path-browserify": "^1.0.1" + } + }, + "node_modules/@vue/compiler-core": { + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.3.11.tgz", + "integrity": "sha512-h97/TGWBilnLuRaj58sxNrsUU66fwdRKLOLQ9N/5iNDfp+DZhYH9Obhe0bXxhedl8fjAgpRANpiZfbgWyruQ0w==", + "dev": true, + "dependencies": { + "@babel/parser": "^7.23.5", + "@vue/shared": "3.3.11", + "estree-walker": "^2.0.2", + "source-map-js": "^1.0.2" + } + }, + "node_modules/@vue/compiler-dom": { + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.3.11.tgz", + "integrity": "sha512-zoAiUIqSKqAJ81WhfPXYmFGwDRuO+loqLxvXmfUdR5fOitPoUiIeFI9cTTyv9MU5O1+ZZglJVTusWzy+wfk5hw==", + "dev": true, + "dependencies": { + "@vue/compiler-core": "3.3.11", + "@vue/shared": "3.3.11" + } + }, + "node_modules/@vue/compiler-sfc": { + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.3.11.tgz", + "integrity": "sha512-U4iqPlHO0KQeK1mrsxCN0vZzw43/lL8POxgpzcJweopmqtoYy9nljJzWDIQS3EfjiYhfdtdk9Gtgz7MRXnz3GA==", + "dev": true, + "dependencies": { + "@babel/parser": "^7.23.5", + "@vue/compiler-core": "3.3.11", + "@vue/compiler-dom": "3.3.11", + "@vue/compiler-ssr": "3.3.11", + "@vue/reactivity-transform": "3.3.11", + "@vue/shared": "3.3.11", + "estree-walker": "^2.0.2", + "magic-string": "^0.30.5", + "postcss": "^8.4.32", + "source-map-js": "^1.0.2" + } + }, + "node_modules/@vue/compiler-ssr": { + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.3.11.tgz", + "integrity": "sha512-Zd66ZwMvndxRTgVPdo+muV4Rv9n9DwQ4SSgWWKWkPFebHQfVYRrVjeygmmDmPewsHyznCNvJ2P2d6iOOhdv8Qg==", + "dev": true, + "dependencies": { + "@vue/compiler-dom": "3.3.11", + "@vue/shared": "3.3.11" + } + }, + "node_modules/@vue/eslint-config-typescript": { + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/@vue/eslint-config-typescript/-/eslint-config-typescript-12.0.0.tgz", + "integrity": "sha512-StxLFet2Qe97T8+7L8pGlhYBBr8Eg05LPuTDVopQV6il+SK6qqom59BA/rcFipUef2jD8P2X44Vd8tMFytfvlg==", + "dev": true, + "dependencies": { + "@typescript-eslint/eslint-plugin": "^6.7.0", + "@typescript-eslint/parser": "^6.7.0", + "vue-eslint-parser": "^9.3.1" + }, + "engines": { + "node": "^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "^6.2.0 || ^7.0.0 || ^8.0.0", + "eslint-plugin-vue": "^9.0.0", + "typescript": "*" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@vue/eslint-config-typescript/node_modules/@typescript-eslint/eslint-plugin": { + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.14.0.tgz", + "integrity": "sha512-1ZJBykBCXaSHG94vMMKmiHoL0MhNHKSVlcHVYZNw+BKxufhqQVTOawNpwwI1P5nIFZ/4jLVop0mcY6mJJDFNaw==", + "dev": true, + "dependencies": { + "@eslint-community/regexpp": "^4.5.1", + "@typescript-eslint/scope-manager": "6.14.0", + "@typescript-eslint/type-utils": "6.14.0", + "@typescript-eslint/utils": "6.14.0", + "@typescript-eslint/visitor-keys": "6.14.0", + "debug": "^4.3.4", + "graphemer": "^1.4.0", + "ignore": "^5.2.4", + "natural-compare": "^1.4.0", + "semver": "^7.5.4", + "ts-api-utils": "^1.0.1" + }, + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^6.0.0 || ^6.0.0-alpha", + "eslint": "^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@vue/eslint-config-typescript/node_modules/@typescript-eslint/parser": { + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.14.0.tgz", + "integrity": "sha512-QjToC14CKacd4Pa7JK4GeB/vHmWFJckec49FR4hmIRf97+KXole0T97xxu9IFiPxVQ1DBWrQ5wreLwAGwWAVQA==", + "dev": true, + "dependencies": { + "@typescript-eslint/scope-manager": "6.14.0", + "@typescript-eslint/types": "6.14.0", + "@typescript-eslint/typescript-estree": "6.14.0", + "@typescript-eslint/visitor-keys": "6.14.0", + "debug": "^4.3.4" + }, + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@vue/eslint-config-typescript/node_modules/@typescript-eslint/scope-manager": { + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.14.0.tgz", + "integrity": "sha512-VT7CFWHbZipPncAZtuALr9y3EuzY1b1t1AEkIq2bTXUPKw+pHoXflGNG5L+Gv6nKul1cz1VH8fz16IThIU0tdg==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "6.14.0", + "@typescript-eslint/visitor-keys": "6.14.0" + }, + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@vue/eslint-config-typescript/node_modules/@typescript-eslint/type-utils": { + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.14.0.tgz", + "integrity": "sha512-x6OC9Q7HfYKqjnuNu5a7kffIYs3No30isapRBJl1iCHLitD8O0lFbRcVGiOcuyN837fqXzPZ1NS10maQzZMKqw==", + "dev": true, + "dependencies": { + "@typescript-eslint/typescript-estree": "6.14.0", + "@typescript-eslint/utils": "6.14.0", + "debug": "^4.3.4", + "ts-api-utils": "^1.0.1" + }, + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@vue/eslint-config-typescript/node_modules/@typescript-eslint/types": { + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.14.0.tgz", + "integrity": "sha512-uty9H2K4Xs8E47z3SnXEPRNDfsis8JO27amp2GNCnzGETEW3yTqEIVg5+AI7U276oGF/tw6ZA+UesxeQ104ceA==", + "dev": true, + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@vue/eslint-config-typescript/node_modules/@typescript-eslint/typescript-estree": { + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.14.0.tgz", + "integrity": "sha512-yPkaLwK0yH2mZKFE/bXkPAkkFgOv15GJAUzgUVonAbv0Hr4PK/N2yaA/4XQbTZQdygiDkpt5DkxPELqHguNvyw==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "6.14.0", + "@typescript-eslint/visitor-keys": "6.14.0", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "semver": "^7.5.4", + "ts-api-utils": "^1.0.1" + }, + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@vue/eslint-config-typescript/node_modules/@typescript-eslint/utils": { + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.14.0.tgz", + "integrity": "sha512-XwRTnbvRr7Ey9a1NT6jqdKX8y/atWG+8fAIu3z73HSP8h06i3r/ClMhmaF/RGWGW1tHJEwij1uEg2GbEmPYvYg==", + "dev": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.4.0", + "@types/json-schema": "^7.0.12", + "@types/semver": "^7.5.0", + "@typescript-eslint/scope-manager": "6.14.0", + "@typescript-eslint/types": "6.14.0", + "@typescript-eslint/typescript-estree": "6.14.0", + "semver": "^7.5.4" + }, + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^7.0.0 || ^8.0.0" + } + }, + "node_modules/@vue/eslint-config-typescript/node_modules/@typescript-eslint/visitor-keys": { + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.14.0.tgz", + "integrity": "sha512-fB5cw6GRhJUz03MrROVuj5Zm/Q+XWlVdIsFj+Zb1Hvqouc8t+XP2H5y53QYU/MGtd2dPg6/vJJlhoX3xc2ehfw==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "6.14.0", + "eslint-visitor-keys": "^3.4.1" + }, + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@vue/eslint-config-typescript/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@vue/eslint-config-typescript/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@vue/eslint-config-typescript/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/@vue/language-core": { + "version": "1.8.11", + "resolved": "https://registry.npmjs.org/@vue/language-core/-/language-core-1.8.11.tgz", + "integrity": "sha512-+MZOBGqGwfld6hpo0DB47x8eNM0dNqk15ZdfOhj19CpvuYuOWCeVdOEGZunKDyo3QLkTn3kLOSysJzg7FDOQBA==", + "dev": true, + "dependencies": { + "@volar/language-core": "~1.10.0", + "@volar/source-map": "~1.10.0", + "@vue/compiler-dom": "^3.3.0", + "@vue/reactivity": "^3.3.0", + "@vue/shared": "^3.3.0", + "minimatch": "^9.0.0", + "muggle-string": "^0.3.1", + "vue-template-compiler": "^2.7.14" + }, + "peerDependencies": { + "typescript": "*" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@vue/language-core/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/@vue/language-core/node_modules/minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@vue/reactivity": { + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.3.11.tgz", + "integrity": "sha512-D5tcw091f0nuu+hXq5XANofD0OXnBmaRqMYl5B3fCR+mX+cXJIGNw/VNawBqkjLNWETrFW0i+xH9NvDbTPVh7g==", + "dev": true, + "dependencies": { + "@vue/shared": "3.3.11" + } + }, + "node_modules/@vue/reactivity-transform": { + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.3.11.tgz", + "integrity": "sha512-fPGjH0wqJo68A0wQ1k158utDq/cRyZNlFoxGwNScE28aUFOKFEnCBsvyD8jHn+0kd0UKVpuGuaZEQ6r9FJRqCg==", + "dev": true, + "dependencies": { + "@babel/parser": "^7.23.5", + "@vue/compiler-core": "3.3.11", + "@vue/shared": "3.3.11", + "estree-walker": "^2.0.2", + "magic-string": "^0.30.5" + } + }, + "node_modules/@vue/runtime-core": { + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.3.11.tgz", + "integrity": "sha512-g9ztHGwEbS5RyWaOpXuyIVFTschclnwhqEbdy5AwGhYOgc7m/q3NFwr50MirZwTTzX55JY8pSkeib9BX04NIpw==", + "dev": true, + "dependencies": { + "@vue/reactivity": "3.3.11", + "@vue/shared": "3.3.11" + } + }, + "node_modules/@vue/runtime-dom": { + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.3.11.tgz", + "integrity": "sha512-OlhtV1PVpbgk+I2zl+Y5rQtDNcCDs12rsRg71XwaA2/Rbllw6mBLMi57VOn8G0AjOJ4Mdb4k56V37+g8ukShpQ==", + "dev": true, + "dependencies": { + "@vue/runtime-core": "3.3.11", + "@vue/shared": "3.3.11", + "csstype": "^3.1.2" + } + }, + "node_modules/@vue/server-renderer": { + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.3.11.tgz", + "integrity": "sha512-AIWk0VwwxCAm4wqtJyxBylRTXSy1wCLOKbWxHaHiu14wjsNYtiRCSgVuqEPVuDpErOlRdNnuRgipQfXRLjLN5A==", + "dev": true, + "dependencies": { + "@vue/compiler-ssr": "3.3.11", + "@vue/shared": "3.3.11" + }, + "peerDependencies": { + "vue": "3.3.11" + } + }, + "node_modules/@vue/shared": { + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.3.11.tgz", + "integrity": "sha512-u2G8ZQ9IhMWTMXaWqZycnK4UthG1fA238CD+DP4Dm4WJi5hdUKKLg0RMRaRpDPNMdkTwIDkp7WtD0Rd9BH9fLw==", + "dev": true + }, + "node_modules/@vue/tsconfig": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/@vue/tsconfig/-/tsconfig-0.4.0.tgz", + "integrity": "sha512-CPuIReonid9+zOG/CGTT05FXrPYATEqoDGNrEaqS4hwcw5BUNM2FguC0mOwJD4Jr16UpRVl9N0pY3P+srIbqmg==", + "dev": true + }, + "node_modules/@vue/typescript": { + "version": "1.8.11", + "resolved": "https://registry.npmjs.org/@vue/typescript/-/typescript-1.8.11.tgz", + "integrity": "sha512-skUmMDiPUUtu1flPmf2YybF+PX8IzBtMioQOaNn6Ck/RhdrPJGj1AX/7s3Buf9G6ln+/KHR1XQuti/FFxw5XVA==", + "dev": true, + "dependencies": { + "@volar/typescript": "~1.10.0", + "@vue/language-core": "1.8.11" + } + }, + "node_modules/@webassemblyjs/ast": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.6.tgz", + "integrity": "sha512-IN1xI7PwOvLPgjcf180gC1bqn3q/QaOCwYUahIOhbYUu8KA/3tw2RT/T0Gidi1l7Hhj5D/INhJxiICObqpMu4Q==", + "dev": true, + "peer": true, + "dependencies": { + "@webassemblyjs/helper-numbers": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6" + } + }, + "node_modules/@webassemblyjs/floating-point-hex-parser": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.6.tgz", + "integrity": "sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw==", + "dev": true, + "peer": true + }, + "node_modules/@webassemblyjs/helper-api-error": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.6.tgz", + "integrity": "sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q==", + "dev": true, + "peer": true + }, + "node_modules/@webassemblyjs/helper-buffer": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.6.tgz", + "integrity": "sha512-z3nFzdcp1mb8nEOFFk8DrYLpHvhKC3grJD2ardfKOzmbmJvEf/tPIqCY+sNcwZIY8ZD7IkB2l7/pqhUhqm7hLA==", + "dev": true, + "peer": true + }, + "node_modules/@webassemblyjs/helper-numbers": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.6.tgz", + "integrity": "sha512-vUIhZ8LZoIWHBohiEObxVm6hwP034jwmc9kuq5GdHZH0wiLVLIPcMCdpJzG4C11cHoQ25TFIQj9kaVADVX7N3g==", + "dev": true, + "peer": true, + "dependencies": { + "@webassemblyjs/floating-point-hex-parser": "1.11.6", + "@webassemblyjs/helper-api-error": "1.11.6", + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@webassemblyjs/helper-wasm-bytecode": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.6.tgz", + "integrity": "sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA==", + "dev": true, + "peer": true + }, + "node_modules/@webassemblyjs/helper-wasm-section": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.6.tgz", + "integrity": "sha512-LPpZbSOwTpEC2cgn4hTydySy1Ke+XEu+ETXuoyvuyezHO3Kjdu90KK95Sh9xTbmjrCsUwvWwCOQQNta37VrS9g==", + "dev": true, + "peer": true, + "dependencies": { + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-buffer": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/wasm-gen": "1.11.6" + } + }, + "node_modules/@webassemblyjs/ieee754": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.6.tgz", + "integrity": "sha512-LM4p2csPNvbij6U1f19v6WR56QZ8JcHg3QIJTlSwzFcmx6WSORicYj6I63f9yU1kEUtrpG+kjkiIAkevHpDXrg==", + "dev": true, + "peer": true, + "dependencies": { + "@xtuc/ieee754": "^1.2.0" + } + }, + "node_modules/@webassemblyjs/leb128": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.6.tgz", + "integrity": "sha512-m7a0FhE67DQXgouf1tbN5XQcdWoNgaAuoULHIfGFIEVKA6tu/edls6XnIlkmS6FrXAquJRPni3ZZKjw6FSPjPQ==", + "dev": true, + "peer": true, + "dependencies": { + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@webassemblyjs/utf8": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.6.tgz", + "integrity": "sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA==", + "dev": true, + "peer": true + }, + "node_modules/@webassemblyjs/wasm-edit": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.6.tgz", + "integrity": "sha512-Ybn2I6fnfIGuCR+Faaz7YcvtBKxvoLV3Lebn1tM4o/IAJzmi9AWYIPWpyBfU8cC+JxAO57bk4+zdsTjJR+VTOw==", + "dev": true, + "peer": true, + "dependencies": { + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-buffer": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/helper-wasm-section": "1.11.6", + "@webassemblyjs/wasm-gen": "1.11.6", + "@webassemblyjs/wasm-opt": "1.11.6", + "@webassemblyjs/wasm-parser": "1.11.6", + "@webassemblyjs/wast-printer": "1.11.6" + } + }, + "node_modules/@webassemblyjs/wasm-gen": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.6.tgz", + "integrity": "sha512-3XOqkZP/y6B4F0PBAXvI1/bky7GryoogUtfwExeP/v7Nzwo1QLcq5oQmpKlftZLbT+ERUOAZVQjuNVak6UXjPA==", + "dev": true, + "peer": true, + "dependencies": { + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/ieee754": "1.11.6", + "@webassemblyjs/leb128": "1.11.6", + "@webassemblyjs/utf8": "1.11.6" + } + }, + "node_modules/@webassemblyjs/wasm-opt": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.6.tgz", + "integrity": "sha512-cOrKuLRE7PCe6AsOVl7WasYf3wbSo4CeOk6PkrjS7g57MFfVUF9u6ysQBBODX0LdgSvQqRiGz3CXvIDKcPNy4g==", + "dev": true, + "peer": true, + "dependencies": { + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-buffer": "1.11.6", + "@webassemblyjs/wasm-gen": "1.11.6", + "@webassemblyjs/wasm-parser": "1.11.6" + } + }, + "node_modules/@webassemblyjs/wasm-parser": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.6.tgz", + "integrity": "sha512-6ZwPeGzMJM3Dqp3hCsLgESxBGtT/OeCvCZ4TA1JUPYgmhAx38tTPR9JaKy0S5H3evQpO/h2uWs2j6Yc/fjkpTQ==", + "dev": true, + "peer": true, + "dependencies": { + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-api-error": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/ieee754": "1.11.6", + "@webassemblyjs/leb128": "1.11.6", + "@webassemblyjs/utf8": "1.11.6" + } + }, + "node_modules/@webassemblyjs/wast-printer": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.6.tgz", + "integrity": "sha512-JM7AhRcE+yW2GWYaKeHL5vt4xqee5N2WcezptmgyhNS+ScggqcT1OtXykhAb13Sn5Yas0j2uv9tHgrjwvzAP4A==", + "dev": true, + "peer": true, + "dependencies": { + "@webassemblyjs/ast": "1.11.6", + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@xtuc/ieee754": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", + "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==", + "dev": true, + "peer": true + }, + "node_modules/@xtuc/long": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", + "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", + "dev": true, + "peer": true + }, + "node_modules/acorn": { + "version": "8.11.2", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz", + "integrity": "sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==", + "dev": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-import-assertions": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.9.0.tgz", + "integrity": "sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA==", + "dev": true, + "peer": true, + "peerDependencies": { + "acorn": "^8" + } + }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/adjust-sourcemap-loader": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/adjust-sourcemap-loader/-/adjust-sourcemap-loader-4.0.0.tgz", + "integrity": "sha512-OXwN5b9pCUXNQHJpwwD2qP40byEmSgzj8B4ydSN0uMNYWiFmJ6x6KwUllMmfk8Rwu/HJDFR7U8ubsWBoN0Xp0A==", + "dev": true, + "dependencies": { + "loader-utils": "^2.0.0", + "regex-parser": "^2.2.11" + }, + "engines": { + "node": ">=8.9" + } + }, + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ajv-keywords": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", + "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", + "dev": true, + "peer": true, + "peerDependencies": { + "ajv": "^6.9.1" + } + }, + "node_modules/ansi-escapes": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", + "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", + "dev": true, + "dependencies": { + "type-fest": "^0.21.3" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "dev": true, + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, + "node_modules/array-buffer-byte-length": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz", + "integrity": "sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==", + "dev": true, + "peer": true, + "dependencies": { + "call-bind": "^1.0.2", + "is-array-buffer": "^3.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array-includes": { + "version": "3.1.7", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.7.tgz", + "integrity": "sha512-dlcsNBIiWhPkHdOEEKnehA+RNUWDc4UqFtnIXU4uuYDPtA4LDkr7qip2p0VvFAEXNDr0yWZ9PJyIRiGjRLQzwQ==", + "dev": true, + "peer": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "get-intrinsic": "^1.2.1", + "is-string": "^1.0.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array-union": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/array.prototype.findlastindex": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.3.tgz", + "integrity": "sha512-LzLoiOMAxvy+Gd3BAq3B7VeIgPdo+Q8hthvKtXybMvRV0jrXfJM/t8mw7nNlpEcVlVUnCnM2KSX4XU5HmpodOA==", + "dev": true, + "peer": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "es-shim-unscopables": "^1.0.0", + "get-intrinsic": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.flat": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.2.tgz", + "integrity": "sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==", + "dev": true, + "peer": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "es-shim-unscopables": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.flatmap": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz", + "integrity": "sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==", + "dev": true, + "peer": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "es-shim-unscopables": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/arraybuffer.prototype.slice": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.2.tgz", + "integrity": "sha512-yMBKppFur/fbHu9/6USUe03bZ4knMYiwFBcyiaXB8Go0qNehwX6inYPzK9U0NeQvGxKthcmHcaR8P5MStSRBAw==", + "dev": true, + "peer": true, + "dependencies": { + "array-buffer-byte-length": "^1.0.0", + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "get-intrinsic": "^1.2.1", + "is-array-buffer": "^3.0.2", + "is-shared-array-buffer": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/arrify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", + "integrity": "sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/astral-regex": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", + "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", + "dev": true + }, + "node_modules/available-typed-arrays": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", + "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", + "dev": true, + "peer": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/axios": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.2.tgz", + "integrity": "sha512-7i24Ri4pmDRfJTR7LDBhsOTtcm+9kjX5WiY1X3wIisx6G9So3pfMkEiU7emUBe46oceVImccTEM3k6C5dbVW8A==", + "dev": true, + "dependencies": { + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true + }, + "node_modules/big.js": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", + "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/boolbase": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", + "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==", + "dev": true + }, + "node_modules/bootstrap": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.3.2.tgz", + "integrity": "sha512-D32nmNWiQHo94BKHLmOrdjlL05q1c8oxbtBphQFb9Z5to6eGRDCm0QgeaZ4zFBHzfg2++rqa2JkqCcxDy0sH0g==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/twbs" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/bootstrap" + } + ], + "peerDependencies": { + "@popperjs/core": "^2.11.8" + } + }, + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "dependencies": { + "fill-range": "^7.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/browserslist": { + "version": "4.22.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.22.2.tgz", + "integrity": "sha512-0UgcrvQmBDvZHFGdYUehrCNIazki7/lUP3kkoi/r3YB2amZbFM9J43ZRkJTXBUZK4gmx56+Sqk9+Vs9mwZx9+A==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "caniuse-lite": "^1.0.30001565", + "electron-to-chromium": "^1.4.601", + "node-releases": "^2.0.14", + "update-browserslist-db": "^1.0.13" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", + "dev": true + }, + "node_modules/call-bind": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.5.tgz", + "integrity": "sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==", + "dev": true, + "peer": true, + "dependencies": { + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.1", + "set-function-length": "^1.1.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "dev": true, + "optional": true, + "peer": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/camelcase-keys": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", + "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", + "dev": true, + "optional": true, + "peer": true, + "dependencies": { + "camelcase": "^5.3.1", + "map-obj": "^4.0.0", + "quick-lru": "^4.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001570", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001570.tgz", + "integrity": "sha512-+3e0ASu4sw1SWaoCtvPeyXp+5PsjigkSt8OXZbF9StH5pQWbxEjLAZE3n8Aup5udop1uRiKA7a4utUk/uoSpUw==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ] + }, + "node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/chart.js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.4.1.tgz", + "integrity": "sha512-C74QN1bxwV1v2PEujhmKjOZ7iUM4w6BWs23Md/6aOZZSlwMzeCIDGuZay++rBgChYru7/+QFeoQW0fQoP534Dg==", + "dev": true, + "dependencies": { + "@kurkle/color": "^0.3.0" + }, + "engines": { + "pnpm": ">=7" + } + }, + "node_modules/chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/chokidar/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/chrome-trace-event": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz", + "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==", + "dev": true, + "peer": true, + "engines": { + "node": ">=6.0" + } + }, + "node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true + }, + "node_modules/colord": { + "version": "2.9.3", + "resolved": "https://registry.npmjs.org/colord/-/colord-2.9.3.tgz", + "integrity": "sha512-jeC1axXpnb0/2nn/Y1LPuLdgXBLH7aDcHu4KEKfqw3CUhX7ZpfBSlPKyqXE6btIgEzfWtrX3/tyBCaCvXvMkOw==", + "dev": true + }, + "node_modules/colorette": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.4.0.tgz", + "integrity": "sha512-Y2oEozpomLn7Q3HFP7dpww7AtMJplbM9lGZP6RDfHqmbeRjiwRg4n6VM6j4KLmRke85uWEI7JqF17f3pqdRA0g==", + "dev": true + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dev": true, + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true + }, + "node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true + }, + "node_modules/cosmiconfig": { + "version": "8.3.6", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.3.6.tgz", + "integrity": "sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==", + "dev": true, + "dependencies": { + "import-fresh": "^3.3.0", + "js-yaml": "^4.1.0", + "parse-json": "^5.2.0", + "path-type": "^4.0.0" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/d-fischer" + }, + "peerDependencies": { + "typescript": ">=4.9.5" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/cropperjs": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/cropperjs/-/cropperjs-1.6.1.tgz", + "integrity": "sha512-F4wsi+XkDHCOMrHMYjrTEE4QBOrsHHN5/2VsVAaRq8P7E5z7xQpT75S+f/9WikmBEailas3+yo+6zPIomW+NOA==", + "dev": true + }, + "node_modules/cross-spawn": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dev": true, + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/css-functions-list": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/css-functions-list/-/css-functions-list-3.2.1.tgz", + "integrity": "sha512-Nj5YcaGgBtuUmn1D7oHqPW0c9iui7xsTsj5lIX8ZgevdfhmjFfKB3r8moHJtNJnctnYXJyYX5I1pp90HM4TPgQ==", + "dev": true, + "engines": { + "node": ">=12 || >=16" + } + }, + "node_modules/css-tree": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-2.3.1.tgz", + "integrity": "sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==", + "dev": true, + "dependencies": { + "mdn-data": "2.0.30", + "source-map-js": "^1.0.1" + }, + "engines": { + "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0" + } + }, + "node_modules/cssesc": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", + "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", + "dev": true, + "bin": { + "cssesc": "bin/cssesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/csstype": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", + "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==", + "dev": true + }, + "node_modules/de-indent": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/de-indent/-/de-indent-1.0.2.tgz", + "integrity": "sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg==", + "dev": true + }, + "node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dev": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/decamelize-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.1.tgz", + "integrity": "sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg==", + "dev": true, + "dependencies": { + "decamelize": "^1.1.0", + "map-obj": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/decamelize-keys/node_modules/map-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", + "integrity": "sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true + }, + "node_modules/define-data-property": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.1.tgz", + "integrity": "sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==", + "dev": true, + "peer": true, + "dependencies": { + "get-intrinsic": "^1.2.1", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/define-properties": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz", + "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==", + "dev": true, + "peer": true, + "dependencies": { + "define-data-property": "^1.0.1", + "has-property-descriptors": "^1.0.0", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "dev": true, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/dir-glob": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", + "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", + "dev": true, + "dependencies": { + "path-type": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/doctrine": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", + "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "dev": true, + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/electron-to-chromium": { + "version": "1.4.613", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.613.tgz", + "integrity": "sha512-r4x5+FowKG6q+/Wj0W9nidx7QO31BJwmR2uEo+Qh3YLGQ8SbBAFuDFpTxzly/I2gsbrFwBuIjrMp423L3O5U3w==", + "dev": true + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "node_modules/emojis-list": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz", + "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/enhanced-resolve": { + "version": "5.15.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.15.0.tgz", + "integrity": "sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg==", + "dev": true, + "dependencies": { + "graceful-fs": "^4.2.4", + "tapable": "^2.2.0" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, + "dependencies": { + "is-arrayish": "^0.2.1" + } + }, + "node_modules/es-abstract": { + "version": "1.22.3", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.22.3.tgz", + "integrity": "sha512-eiiY8HQeYfYH2Con2berK+To6GrK2RxbPawDkGq4UiCQQfZHb6wX9qQqkbpPqaxQFcl8d9QzZqo0tGE0VcrdwA==", + "dev": true, + "peer": true, + "dependencies": { + "array-buffer-byte-length": "^1.0.0", + "arraybuffer.prototype.slice": "^1.0.2", + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.5", + "es-set-tostringtag": "^2.0.1", + "es-to-primitive": "^1.2.1", + "function.prototype.name": "^1.1.6", + "get-intrinsic": "^1.2.2", + "get-symbol-description": "^1.0.0", + "globalthis": "^1.0.3", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.0", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0", + "internal-slot": "^1.0.5", + "is-array-buffer": "^3.0.2", + "is-callable": "^1.2.7", + "is-negative-zero": "^2.0.2", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.2", + "is-string": "^1.0.7", + "is-typed-array": "^1.1.12", + "is-weakref": "^1.0.2", + "object-inspect": "^1.13.1", + "object-keys": "^1.1.1", + "object.assign": "^4.1.4", + "regexp.prototype.flags": "^1.5.1", + "safe-array-concat": "^1.0.1", + "safe-regex-test": "^1.0.0", + "string.prototype.trim": "^1.2.8", + "string.prototype.trimend": "^1.0.7", + "string.prototype.trimstart": "^1.0.7", + "typed-array-buffer": "^1.0.0", + "typed-array-byte-length": "^1.0.0", + "typed-array-byte-offset": "^1.0.0", + "typed-array-length": "^1.0.4", + "unbox-primitive": "^1.0.2", + "which-typed-array": "^1.1.13" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es-module-lexer": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.4.1.tgz", + "integrity": "sha512-cXLGjP0c4T3flZJKQSuziYoq7MlT+rnvfZjfp7h+I7K9BNX54kP9nyWvdbwjQ4u1iWbOL4u96fgeZLToQlZC7w==", + "dev": true, + "peer": true + }, + "node_modules/es-set-tostringtag": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.2.tgz", + "integrity": "sha512-BuDyupZt65P9D2D2vA/zqcI3G5xRsklm5N3xCwuiy+/vKy8i0ifdsQP1sLgO4tZDSCaQUSnmC48khknGMV3D2Q==", + "dev": true, + "peer": true, + "dependencies": { + "get-intrinsic": "^1.2.2", + "has-tostringtag": "^1.0.0", + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-shim-unscopables": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.2.tgz", + "integrity": "sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==", + "dev": true, + "peer": true, + "dependencies": { + "hasown": "^2.0.0" + } + }, + "node_modules/es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dev": true, + "peer": true, + "dependencies": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/esbuild": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.20.tgz", + "integrity": "sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==", + "dev": true, + "hasInstallScript": true, + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/android-arm": "0.18.20", + "@esbuild/android-arm64": "0.18.20", + "@esbuild/android-x64": "0.18.20", + "@esbuild/darwin-arm64": "0.18.20", + "@esbuild/darwin-x64": "0.18.20", + "@esbuild/freebsd-arm64": "0.18.20", + "@esbuild/freebsd-x64": "0.18.20", + "@esbuild/linux-arm": "0.18.20", + "@esbuild/linux-arm64": "0.18.20", + "@esbuild/linux-ia32": "0.18.20", + "@esbuild/linux-loong64": "0.18.20", + "@esbuild/linux-mips64el": "0.18.20", + "@esbuild/linux-ppc64": "0.18.20", + "@esbuild/linux-riscv64": "0.18.20", + "@esbuild/linux-s390x": "0.18.20", + "@esbuild/linux-x64": "0.18.20", + "@esbuild/netbsd-x64": "0.18.20", + "@esbuild/openbsd-x64": "0.18.20", + "@esbuild/sunos-x64": "0.18.20", + "@esbuild/win32-arm64": "0.18.20", + "@esbuild/win32-ia32": "0.18.20", + "@esbuild/win32-x64": "0.18.20" + } + }, + "node_modules/escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "dev": true, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/eslint": { + "version": "8.55.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.55.0.tgz", + "integrity": "sha512-iyUUAM0PCKj5QpwGfmCAG9XXbZCWsqP/eWAWrG/W0umvjuLRBECwSFdt+rCntju0xEH7teIABPwXpahftIaTdA==", + "dev": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.6.1", + "@eslint/eslintrc": "^2.1.4", + "@eslint/js": "8.55.0", + "@humanwhocodes/config-array": "^0.11.13", + "@humanwhocodes/module-importer": "^1.0.1", + "@nodelib/fs.walk": "^1.2.8", + "@ungap/structured-clone": "^1.2.0", + "ajv": "^6.12.4", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.3.2", + "doctrine": "^3.0.0", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^7.2.2", + "eslint-visitor-keys": "^3.4.3", + "espree": "^9.6.1", + "esquery": "^1.4.2", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^6.0.1", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "globals": "^13.19.0", + "graphemer": "^1.4.0", + "ignore": "^5.2.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "is-path-inside": "^3.0.3", + "js-yaml": "^4.1.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3", + "strip-ansi": "^6.0.1", + "text-table": "^0.2.0" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-import-resolver-alias": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-alias/-/eslint-import-resolver-alias-1.1.2.tgz", + "integrity": "sha512-WdviM1Eu834zsfjHtcGHtGfcu+F30Od3V7I9Fi57uhBEwPkjDcii7/yW8jAT+gOhn4P/vOxxNAXbFAKsrrc15w==", + "dev": true, + "engines": { + "node": ">= 4" + }, + "peerDependencies": { + "eslint-plugin-import": ">=1.4.0" + } + }, + "node_modules/eslint-import-resolver-node": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz", + "integrity": "sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==", + "dev": true, + "peer": true, + "dependencies": { + "debug": "^3.2.7", + "is-core-module": "^2.13.0", + "resolve": "^1.22.4" + } + }, + "node_modules/eslint-import-resolver-node/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "peer": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/eslint-module-utils": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.8.0.tgz", + "integrity": "sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==", + "dev": true, + "peer": true, + "dependencies": { + "debug": "^3.2.7" + }, + "engines": { + "node": ">=4" + }, + "peerDependenciesMeta": { + "eslint": { + "optional": true + } + } + }, + "node_modules/eslint-module-utils/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "peer": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/eslint-plugin-import": { + "version": "2.29.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.29.1.tgz", + "integrity": "sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==", + "dev": true, + "peer": true, + "dependencies": { + "array-includes": "^3.1.7", + "array.prototype.findlastindex": "^1.2.3", + "array.prototype.flat": "^1.3.2", + "array.prototype.flatmap": "^1.3.2", + "debug": "^3.2.7", + "doctrine": "^2.1.0", + "eslint-import-resolver-node": "^0.3.9", + "eslint-module-utils": "^2.8.0", + "hasown": "^2.0.0", + "is-core-module": "^2.13.1", + "is-glob": "^4.0.3", + "minimatch": "^3.1.2", + "object.fromentries": "^2.0.7", + "object.groupby": "^1.0.1", + "object.values": "^1.1.7", + "semver": "^6.3.1", + "tsconfig-paths": "^3.15.0" + }, + "engines": { + "node": ">=4" + }, + "peerDependencies": { + "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8" + } + }, + "node_modules/eslint-plugin-import/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "peer": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/eslint-plugin-import/node_modules/doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "dev": true, + "peer": true, + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/eslint-plugin-vue": { + "version": "9.19.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-9.19.2.tgz", + "integrity": "sha512-CPDqTOG2K4Ni2o4J5wixkLVNwgctKXFu6oBpVJlpNq7f38lh9I80pRTouZSJ2MAebPJlINU/KTFSXyQfBUlymA==", + "dev": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.4.0", + "natural-compare": "^1.4.0", + "nth-check": "^2.1.1", + "postcss-selector-parser": "^6.0.13", + "semver": "^7.5.4", + "vue-eslint-parser": "^9.3.1", + "xml-name-validator": "^4.0.0" + }, + "engines": { + "node": "^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "^6.2.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/eslint-plugin-vue/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/eslint-plugin-vue/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/eslint-plugin-vue/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/eslint-scope": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "dev": true, + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^4.1.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/eslint/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/eslint/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/eslint/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/eslint/node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/eslint-scope": { + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", + "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", + "dev": true, + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/eslint/node_modules/globals": { + "version": "13.24.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", + "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", + "dev": true, + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/eslint/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/eslint/node_modules/type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/espree": { + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", + "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", + "dev": true, + "dependencies": { + "acorn": "^8.9.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^3.4.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/esquery": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", + "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", + "dev": true, + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esquery/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esrecurse/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estree-walker": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", + "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", + "dev": true + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/events": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", + "dev": true, + "peer": true, + "engines": { + "node": ">=0.8.x" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, + "node_modules/fast-glob": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", + "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", + "dev": true, + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/fast-glob/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true + }, + "node_modules/fastest-levenshtein": { + "version": "1.0.16", + "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.16.tgz", + "integrity": "sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg==", + "dev": true, + "engines": { + "node": ">= 4.9.1" + } + }, + "node_modules/fastq": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", + "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", + "dev": true, + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/file-entry-cache": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", + "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "dev": true, + "dependencies": { + "flat-cache": "^3.0.4" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/flat-cache": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", + "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", + "dev": true, + "dependencies": { + "flatted": "^3.2.9", + "keyv": "^4.5.3", + "rimraf": "^3.0.2" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/flatted": { + "version": "3.2.9", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.9.tgz", + "integrity": "sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==", + "dev": true + }, + "node_modules/follow-redirects": { + "version": "1.15.3", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.3.tgz", + "integrity": "sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/for-each": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", + "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "dev": true, + "peer": true, + "dependencies": { + "is-callable": "^1.1.3" + } + }, + "node_modules/form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "dev": true, + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/fs-extra": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", + "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", + "dev": true, + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + }, + "engines": { + "node": ">=6 <7 || >=8" + } + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", + "dev": true + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/function.prototype.name": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.6.tgz", + "integrity": "sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==", + "dev": true, + "peer": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "functions-have-names": "^1.2.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/functions-have-names": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", + "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", + "dev": true, + "peer": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/get-intrinsic": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.2.tgz", + "integrity": "sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==", + "dev": true, + "peer": true, + "dependencies": { + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-symbol-description": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", + "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "dev": true, + "peer": true, + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/glob-to-regexp": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", + "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", + "dev": true + }, + "node_modules/global-modules": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-2.0.0.tgz", + "integrity": "sha512-NGbfmJBp9x8IxyJSd1P+otYK8vonoJactOogrVfFRIAEY1ukil8RSKDz2Yo7wh1oihl51l/r6W4epkeKJHqL8A==", + "dev": true, + "dependencies": { + "global-prefix": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/global-prefix": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-3.0.0.tgz", + "integrity": "sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg==", + "dev": true, + "dependencies": { + "ini": "^1.3.5", + "kind-of": "^6.0.2", + "which": "^1.3.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/global-prefix/node_modules/which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "which": "bin/which" + } + }, + "node_modules/globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/globalthis": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", + "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", + "dev": true, + "peer": true, + "dependencies": { + "define-properties": "^1.1.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/globby": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", + "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", + "dev": true, + "dependencies": { + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.9", + "ignore": "^5.2.0", + "merge2": "^1.4.1", + "slash": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/globjoin": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/globjoin/-/globjoin-0.1.4.tgz", + "integrity": "sha512-xYfnw62CKG8nLkZBfWbhWwDw02CHty86jfPcc2cr3ZfeuK9ysoVPPEUxf21bAD/rWAgk52SuBrLJlefNy8mvFg==", + "dev": true + }, + "node_modules/gopd": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", + "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "dev": true, + "peer": true, + "dependencies": { + "get-intrinsic": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "dev": true + }, + "node_modules/graphemer": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", + "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", + "dev": true + }, + "node_modules/hard-rejection": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", + "integrity": "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/has-bigints": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", + "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", + "dev": true, + "peer": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/has-property-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz", + "integrity": "sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==", + "dev": true, + "peer": true, + "dependencies": { + "get-intrinsic": "^1.2.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", + "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", + "dev": true, + "peer": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-symbols": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "dev": true, + "peer": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "dev": true, + "peer": true, + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hash-sum": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/hash-sum/-/hash-sum-2.0.0.tgz", + "integrity": "sha512-WdZTbAByD+pHfl/g9QSsBIIwy8IT+EsPiKDs0KNX+zSHhdDLFKdZu0BQHljvO+0QI/BasbMSUa8wYNCZTvhslg==", + "dev": true + }, + "node_modules/hasown": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz", + "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/he": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", + "dev": true, + "bin": { + "he": "bin/he" + } + }, + "node_modules/hosted-git-info": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz", + "integrity": "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/hosted-git-info/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/hosted-git-info/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/html-tags": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/html-tags/-/html-tags-3.3.1.tgz", + "integrity": "sha512-ztqyC3kLto0e9WbNp0aeP+M3kTt+nbaIveGmUxAtZa+8iFgKLUOD4YKM5j+f3QD89bra7UeumolZHKuOXnTmeQ==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ignore": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.0.tgz", + "integrity": "sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/immutable": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.4.tgz", + "integrity": "sha512-fsXeu4J4i6WNWSikpI88v/PcVflZz+6kMhUfIwc5SY+poQRPnaf5V7qds6SUyUN3cVxEzuCab7QIoLOQ+DQ1wA==", + "dev": true + }, + "node_modules/import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dev": true, + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/import-lazy": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-4.0.0.tgz", + "integrity": "sha512-rKtvo6a868b5Hu3heneU+L4yEQ4jYKLtjpnPeUdK7h0yzXGmyBTypknlkCvHFBqfX9YlorEiMM6Dnq/5atfHkw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "dev": true, + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/indent-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", + "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", + "dev": true, + "optional": true, + "peer": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "dev": true, + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true + }, + "node_modules/ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", + "dev": true + }, + "node_modules/internal-slot": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.6.tgz", + "integrity": "sha512-Xj6dv+PsbtwyPpEflsejS+oIZxmMlV44zAhG479uYu89MsjcYOhCFnNyKrkJrihbsiasQyY0afoCl/9BLR65bg==", + "dev": true, + "peer": true, + "dependencies": { + "get-intrinsic": "^1.2.2", + "hasown": "^2.0.0", + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/is-array-buffer": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz", + "integrity": "sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==", + "dev": true, + "peer": true, + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.0", + "is-typed-array": "^1.1.10" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", + "dev": true + }, + "node_modules/is-bigint": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "dev": true, + "peer": true, + "dependencies": { + "has-bigints": "^1.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-boolean-object": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "dev": true, + "peer": true, + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-callable": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", + "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", + "dev": true, + "peer": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-core-module": { + "version": "2.13.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", + "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", + "dev": true, + "dependencies": { + "hasown": "^2.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-date-object": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "dev": true, + "peer": true, + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-negative-zero": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", + "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", + "dev": true, + "peer": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-number-object": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", + "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", + "dev": true, + "peer": true, + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-plain-obj": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", + "integrity": "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-plain-object": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-3.0.1.tgz", + "integrity": "sha512-Xnpx182SBMrr/aBik8y+GuR4U1L9FqMSojwDQwPMmxyC6bvEqly9UBCxhauBF5vNh2gwWJNX6oDV7O+OM4z34g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-regex": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "dev": true, + "peer": true, + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-shared-array-buffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz", + "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==", + "dev": true, + "peer": true, + "dependencies": { + "call-bind": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-string": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "dev": true, + "peer": true, + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-symbol": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dev": true, + "peer": true, + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-typed-array": { + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.12.tgz", + "integrity": "sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==", + "dev": true, + "peer": true, + "dependencies": { + "which-typed-array": "^1.1.11" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-weakref": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", + "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "dev": true, + "peer": true, + "dependencies": { + "call-bind": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/isarray": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", + "dev": true, + "peer": true + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true + }, + "node_modules/jest-worker": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", + "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", + "dev": true, + "peer": true, + "dependencies": { + "@types/node": "*", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "engines": { + "node": ">= 10.13.0" + } + }, + "node_modules/jest-worker/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "peer": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-worker/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "peer": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true + }, + "node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "dev": true, + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", + "dev": true + }, + "node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "dev": true + }, + "node_modules/json5": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "dev": true, + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/jsonfile": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", + "dev": true, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "dev": true, + "dependencies": { + "json-buffer": "3.0.1" + } + }, + "node_modules/kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/known-css-properties": { + "version": "0.29.0", + "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.29.0.tgz", + "integrity": "sha512-Ne7wqW7/9Cz54PDt4I3tcV+hAyat8ypyOGzYRJQfdxnnjeWsTxt1cy8pjvvKeI5kfXuyvULyeeAvwvvtAX3ayQ==", + "dev": true + }, + "node_modules/laravel-vite-plugin": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/laravel-vite-plugin/-/laravel-vite-plugin-0.8.1.tgz", + "integrity": "sha512-fxzUDjOA37kOsYq8dP+3oPIlw8/kJVXwu0hOXLun82R1LpV02shGeWGYKx2lbpKffL5I0sfPPjfqbYxuqBluAA==", + "dev": true, + "dependencies": { + "picocolors": "^1.0.0", + "vite-plugin-full-reload": "^1.0.5" + }, + "engines": { + "node": ">=14" + }, + "peerDependencies": { + "vite": "^3.0.0 || ^4.0.0" + } + }, + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "dev": true + }, + "node_modules/loader-runner": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz", + "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==", + "dev": true, + "peer": true, + "engines": { + "node": ">=6.11.5" + } + }, + "node_modules/loader-utils": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz", + "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==", + "dev": true, + "dependencies": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^2.1.2" + }, + "engines": { + "node": ">=8.9.0" + } + }, + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true + }, + "node_modules/lodash.debounce": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", + "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==", + "dev": true + }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true + }, + "node_modules/lodash.pick": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.pick/-/lodash.pick-4.4.0.tgz", + "integrity": "sha512-hXt6Ul/5yWjfklSGvLQl8vM//l3FtyHZeuelpzK6mm99pNvN9yTDruNZPEJZD1oWrqo+izBmB7oUfWgcCX7s4Q==", + "dev": true + }, + "node_modules/lodash.truncate": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/lodash.truncate/-/lodash.truncate-4.4.2.tgz", + "integrity": "sha512-jttmRe7bRse52OsWIMDLaXxWqRAmtIUccAQ3garviCqJjafXOfNMO0yMfNpdD6zbGaTU0P5Nz7e7gAT6cKmJRw==", + "dev": true + }, + "node_modules/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "dev": true, + "dependencies": { + "yallist": "^3.0.2" + } + }, + "node_modules/magic-string": { + "version": "0.30.5", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.5.tgz", + "integrity": "sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==", + "dev": true, + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.4.15" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/map-obj": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz", + "integrity": "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mathml-tag-names": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/mathml-tag-names/-/mathml-tag-names-2.1.3.tgz", + "integrity": "sha512-APMBEanjybaPzUrfqU0IMU5I0AswKMH7k8OTLs0vvV4KZpExkTkY87nR/zpbuTPj+gARop7aGUbl11pnDfW6xg==", + "dev": true, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/mdn-data": { + "version": "2.0.30", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.30.tgz", + "integrity": "sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==", + "dev": true + }, + "node_modules/meow": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/meow/-/meow-9.0.0.tgz", + "integrity": "sha512-+obSblOQmRhcyBt62furQqRAQpNyWXo8BuQ5bN7dG8wmwQ+vwHKp/rCFD4CrTP8CsDQD1sjoZ94K417XEUk8IQ==", + "dev": true, + "optional": true, + "peer": true, + "dependencies": { + "@types/minimist": "^1.2.0", + "camelcase-keys": "^6.2.2", + "decamelize": "^1.2.0", + "decamelize-keys": "^1.1.0", + "hard-rejection": "^2.1.0", + "minimist-options": "4.1.0", + "normalize-package-data": "^3.0.0", + "read-pkg-up": "^7.0.1", + "redent": "^3.0.0", + "trim-newlines": "^3.0.0", + "type-fest": "^0.18.0", + "yargs-parser": "^20.2.3" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/meow/node_modules/type-fest": { + "version": "0.18.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", + "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", + "dev": true, + "optional": true, + "peer": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true, + "peer": true + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/micromatch": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", + "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "dev": true, + "dependencies": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dev": true, + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/min-indent": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", + "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "dev": true, + "peer": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/minimist-options": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz", + "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==", + "dev": true, + "dependencies": { + "arrify": "^1.0.1", + "is-plain-obj": "^1.1.0", + "kind-of": "^6.0.3" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "node_modules/muggle-string": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/muggle-string/-/muggle-string-0.3.1.tgz", + "integrity": "sha512-ckmWDJjphvd/FvZawgygcUeQCxzvohjFO5RxTjj4eq8kw359gFF3E1brjfI+viLMxss5JrHTDRHZvu2/tuy0Qg==", + "dev": true + }, + "node_modules/nanoid": { + "version": "3.3.7", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", + "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true + }, + "node_modules/natural-compare-lite": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz", + "integrity": "sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==", + "dev": true + }, + "node_modules/neo-async": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", + "dev": true, + "peer": true + }, + "node_modules/node-releases": { + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz", + "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==", + "dev": true + }, + "node_modules/normalize-package-data": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz", + "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==", + "dev": true, + "dependencies": { + "hosted-git-info": "^4.0.1", + "is-core-module": "^2.5.0", + "semver": "^7.3.4", + "validate-npm-package-license": "^3.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/normalize-package-data/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/normalize-package-data/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/normalize-package-data/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/npm-run-path": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "dev": true, + "dependencies": { + "path-key": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/nth-check": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", + "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==", + "dev": true, + "dependencies": { + "boolbase": "^1.0.0" + }, + "funding": { + "url": "https://github.com/fb55/nth-check?sponsor=1" + } + }, + "node_modules/object-inspect": { + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz", + "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==", + "dev": true, + "peer": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true, + "peer": true, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.assign": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.5.tgz", + "integrity": "sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==", + "dev": true, + "peer": true, + "dependencies": { + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "has-symbols": "^1.0.3", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.fromentries": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.7.tgz", + "integrity": "sha512-UPbPHML6sL8PI/mOqPwsH4G6iyXcCGzLin8KvEPenOZN5lpCNBZZQ+V62vdjB1mQHrmqGQt5/OJzemUA+KJmEA==", + "dev": true, + "peer": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.1.tgz", + "integrity": "sha512-HqaQtqLnp/8Bn4GL16cj+CUYbnpe1bh0TtEaWvybszDG4tgxCJuRpV8VGuvNaI1fAnI4lUJzDG55MXcOH4JZcQ==", + "dev": true, + "peer": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "get-intrinsic": "^1.2.1" + } + }, + "node_modules/object.values": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.7.tgz", + "integrity": "sha512-aU6xnDFYT3x17e/f0IiiwlGPTy2jzMySGfUB4fq6z7CV8l85CWHDk5ErhyhpfDHhrOMwGFhSQkhMGHaIotA6Ng==", + "dev": true, + "peer": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dev": true, + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/optionator": { + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", + "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", + "dev": true, + "dependencies": { + "@aashutoshrathi/word-wrap": "^1.2.3", + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true, + "optional": true, + "peer": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/path-browserify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", + "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==", + "dev": true + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true, + "peer": true + }, + "node_modules/path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/postcss": { + "version": "8.4.32", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.32.tgz", + "integrity": "sha512-D/kj5JNu6oo2EIy+XL/26JEDTlIbB8hw85G8StOE6L74RQAVVP5rej6wxCNqyMbR4RkPfqvezVbPw81Ngd6Kcw==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "nanoid": "^3.3.7", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/postcss-discard-comments": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-6.0.1.tgz", + "integrity": "sha512-f1KYNPtqYLUeZGCHQPKzzFtsHaRuECe6jLakf/RjSRqvF5XHLZnM2+fXLhb8Qh/HBFHs3M4cSLb1k3B899RYIg==", + "dev": true, + "engines": { + "node": "^14 || ^16 || >=18.0" + }, + "peerDependencies": { + "postcss": "^8.4.31" + } + }, + "node_modules/postcss-media-query-parser": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/postcss-media-query-parser/-/postcss-media-query-parser-0.2.3.tgz", + "integrity": "sha512-3sOlxmbKcSHMjlUXQZKQ06jOswE7oVkXPxmZdoB1r5l0q6gTFTQSHxNxOrCccElbW7dxNytifNEo8qidX2Vsig==", + "dev": true + }, + "node_modules/postcss-resolve-nested-selector": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/postcss-resolve-nested-selector/-/postcss-resolve-nested-selector-0.1.1.tgz", + "integrity": "sha512-HvExULSwLqHLgUy1rl3ANIqCsvMS0WHss2UOsXhXnQaZ9VCc2oBvIpXrl00IUFT5ZDITME0o6oiXeiHr2SAIfw==", + "dev": true + }, + "node_modules/postcss-safe-parser": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-6.0.0.tgz", + "integrity": "sha512-FARHN8pwH+WiS2OPCxJI8FuRJpTVnn6ZNFiqAM2aeW2LwTHWWmWgIyKC6cUo0L8aeKiF/14MNvnpls6R2PBeMQ==", + "dev": true, + "engines": { + "node": ">=12.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + "peerDependencies": { + "postcss": "^8.3.3" + } + }, + "node_modules/postcss-scss": { + "version": "4.0.9", + "resolved": "https://registry.npmjs.org/postcss-scss/-/postcss-scss-4.0.9.tgz", + "integrity": "sha512-AjKOeiwAitL/MXxQW2DliT28EKukvvbEWx3LBmJIRN8KfBGZbRTxNYW0kSqi1COiTZ57nZ9NW06S6ux//N1c9A==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss-scss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "engines": { + "node": ">=12.0" + }, + "peerDependencies": { + "postcss": "^8.4.29" + } + }, + "node_modules/postcss-selector-parser": { + "version": "6.0.13", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz", + "integrity": "sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==", + "dev": true, + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/postcss-sorting": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/postcss-sorting/-/postcss-sorting-8.0.2.tgz", + "integrity": "sha512-M9dkSrmU00t/jK7rF6BZSZauA5MAaBW4i5EnJXspMwt4iqTh/L9j6fgMnbElEOfyRyfLfVbIHj/R52zHzAPe1Q==", + "dev": true, + "peerDependencies": { + "postcss": "^8.4.20" + } + }, + "node_modules/postcss-value-parser": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", + "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", + "dev": true + }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/prettier": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.1.tgz", + "integrity": "sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==", + "dev": true, + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "node_modules/print-js": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/print-js/-/print-js-1.6.0.tgz", + "integrity": "sha512-BfnOIzSKbqGRtO4o0rnj/K3681BSd2QUrsIZy/+WdCIugjIswjmx3lDEZpXB2ruGf9d4b3YNINri81+J0FsBWg==", + "dev": true + }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", + "dev": true + }, + "node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/quick-lru": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", + "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", + "dev": true, + "optional": true, + "peer": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, + "peer": true, + "dependencies": { + "safe-buffer": "^5.1.0" + } + }, + "node_modules/read-pkg": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", + "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", + "dev": true, + "optional": true, + "peer": true, + "dependencies": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^2.5.0", + "parse-json": "^5.0.0", + "type-fest": "^0.6.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/read-pkg-up": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", + "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", + "dev": true, + "optional": true, + "peer": true, + "dependencies": { + "find-up": "^4.1.0", + "read-pkg": "^5.2.0", + "type-fest": "^0.8.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/read-pkg-up/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "optional": true, + "peer": true, + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/read-pkg-up/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "optional": true, + "peer": true, + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/read-pkg-up/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "optional": true, + "peer": true, + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/read-pkg-up/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "optional": true, + "peer": true, + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/read-pkg-up/node_modules/type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "dev": true, + "optional": true, + "peer": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/read-pkg/node_modules/hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true, + "optional": true, + "peer": true + }, + "node_modules/read-pkg/node_modules/normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "optional": true, + "peer": true, + "dependencies": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "node_modules/read-pkg/node_modules/semver": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "dev": true, + "optional": true, + "peer": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/read-pkg/node_modules/type-fest": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", + "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", + "dev": true, + "optional": true, + "peer": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/redent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", + "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", + "dev": true, + "optional": true, + "peer": true, + "dependencies": { + "indent-string": "^4.0.0", + "strip-indent": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/regex-parser": { + "version": "2.2.11", + "resolved": "https://registry.npmjs.org/regex-parser/-/regex-parser-2.2.11.tgz", + "integrity": "sha512-jbD/FT0+9MBU2XAZluI7w2OBs1RBi6p9M83nkoZayQXXU9e8Robt69FcZc7wU4eJD/YFTjn1JdCk3rbMJajz8Q==", + "dev": true + }, + "node_modules/regexp.prototype.flags": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.1.tgz", + "integrity": "sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg==", + "dev": true, + "peer": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "set-function-name": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/resolve": { + "version": "1.22.8", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", + "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", + "dev": true, + "peer": true, + "dependencies": { + "is-core-module": "^2.13.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/resolve-url-loader": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-url-loader/-/resolve-url-loader-5.0.0.tgz", + "integrity": "sha512-uZtduh8/8srhBoMx//5bwqjQ+rfYOUq8zC9NrMUGtjBiGTtFJM42s58/36+hTqeqINcnYe08Nj3LkK9lW4N8Xg==", + "dev": true, + "dependencies": { + "adjust-sourcemap-loader": "^4.0.0", + "convert-source-map": "^1.7.0", + "loader-utils": "^2.0.0", + "postcss": "^8.2.14", + "source-map": "0.6.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/resolve-url-loader/node_modules/convert-source-map": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", + "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==", + "dev": true + }, + "node_modules/reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "dev": true, + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/rollup": { + "version": "3.29.4", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.4.tgz", + "integrity": "sha512-oWzmBZwvYrU0iJHtDmhsm662rC15FRXmcjCk1xD771dFDx5jJ02ufAQQTn0etB2emNk4J9EZg/yWKpsn9BWGRw==", + "dev": true, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=14.18.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/rollup-plugin-copy": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-copy/-/rollup-plugin-copy-3.5.0.tgz", + "integrity": "sha512-wI8D5dvYovRMx/YYKtUNt3Yxaw4ORC9xo6Gt9t22kveWz1enG9QrhVlagzwrxSC455xD1dHMKhIJkbsQ7d48BA==", + "dev": true, + "dependencies": { + "@types/fs-extra": "^8.0.1", + "colorette": "^1.1.0", + "fs-extra": "^8.1.0", + "globby": "10.0.1", + "is-plain-object": "^3.0.0" + }, + "engines": { + "node": ">=8.3" + } + }, + "node_modules/rollup-plugin-copy/node_modules/globby": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/globby/-/globby-10.0.1.tgz", + "integrity": "sha512-sSs4inE1FB2YQiymcmTv6NWENryABjUNPeWhOvmn4SjtKybglsyPZxFB3U1/+L1bYi0rNZDqCLlHyLYDl1Pq5A==", + "dev": true, + "dependencies": { + "@types/glob": "^7.1.1", + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.0.3", + "glob": "^7.1.3", + "ignore": "^5.1.1", + "merge2": "^1.2.3", + "slash": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/safe-array-concat": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.0.1.tgz", + "integrity": "sha512-6XbUAseYE2KtOuGueyeobCySj9L4+66Tn6KQMOPQJrAJEowYKW/YR/MGJZl7FdydUdaFu4LYyDZjxf4/Nmo23Q==", + "dev": true, + "peer": true, + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.1", + "has-symbols": "^1.0.3", + "isarray": "^2.0.5" + }, + "engines": { + "node": ">=0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "peer": true + }, + "node_modules/safe-regex-test": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.0.tgz", + "integrity": "sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==", + "dev": true, + "peer": true, + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.3", + "is-regex": "^1.1.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/sass": { + "version": "1.69.5", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.69.5.tgz", + "integrity": "sha512-qg2+UCJibLr2LCVOt3OlPhr/dqVHWOa9XtZf2OjbLs/T4VPSJ00udtgJxH3neXZm+QqX8B+3cU7RaLqp1iVfcQ==", + "dev": true, + "dependencies": { + "chokidar": ">=3.0.0 <4.0.0", + "immutable": "^4.0.0", + "source-map-js": ">=0.6.2 <2.0.0" + }, + "bin": { + "sass": "sass.js" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/schema-utils": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz", + "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", + "dev": true, + "peer": true, + "dependencies": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/serialize-javascript": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.1.tgz", + "integrity": "sha512-owoXEFjWRllis8/M1Q+Cw5k8ZH40e3zhp/ovX+Xr/vi1qj6QesbyXXViFbpNvWvPNAD62SutwEXavefrLJWj7w==", + "dev": true, + "peer": true, + "dependencies": { + "randombytes": "^2.1.0" + } + }, + "node_modules/set-function-length": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.1.1.tgz", + "integrity": "sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ==", + "dev": true, + "peer": true, + "dependencies": { + "define-data-property": "^1.1.1", + "get-intrinsic": "^1.2.1", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/set-function-name": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.1.tgz", + "integrity": "sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA==", + "dev": true, + "peer": true, + "dependencies": { + "define-data-property": "^1.0.1", + "functions-have-names": "^1.2.3", + "has-property-descriptors": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "dev": true, + "peer": true, + "dependencies": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/slice-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", + "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/slice-ansi?sponsor=1" + } + }, + "node_modules/slice-ansi/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/slice-ansi/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/slice-ansi/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/slugify": { + "version": "1.6.6", + "resolved": "https://registry.npmjs.org/slugify/-/slugify-1.6.6.tgz", + "integrity": "sha512-h+z7HKHYXj6wJU+AnS/+IH8Uh9fdcX1Lrhg1/VMdf9PwoBQXFcXiAdsy2tSK0P6gKwJLXp02r90ahUCqHk9rrw==", + "dev": true, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-js": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", + "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-support": { + "version": "0.5.21", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "dev": true, + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "node_modules/spdx-correct": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", + "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", + "dev": true, + "dependencies": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-exceptions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", + "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", + "dev": true + }, + "node_modules/spdx-expression-parse": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "dev": true, + "dependencies": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-license-ids": { + "version": "3.0.16", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.16.tgz", + "integrity": "sha512-eWN+LnM3GR6gPu35WxNgbGl8rmY1AEmoMDvL/QD6zYmPWgywxWqJWNdLGT+ke8dKNWrcYgYjPpG5gbTfghP8rw==", + "dev": true + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string.prototype.trim": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.8.tgz", + "integrity": "sha512-lfjY4HcixfQXOfaqCvcBuOIapyaroTXhbkfJN3gcB1OtyupngWK4sEET9Knd0cXd28kTUqu/kHoV4HKSJdnjiQ==", + "dev": true, + "peer": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimend": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.7.tgz", + "integrity": "sha512-Ni79DqeB72ZFq1uH/L6zJ+DKZTkOtPIHovb3YZHQViE+HDouuU4mBrLOLDn5Dde3RF8qw5qVETEjhu9locMLvA==", + "dev": true, + "peer": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimstart": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.7.tgz", + "integrity": "sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg==", + "dev": true, + "peer": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", + "dev": true, + "peer": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/strip-indent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", + "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", + "dev": true, + "optional": true, + "peer": true, + "dependencies": { + "min-indent": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/style-search": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/style-search/-/style-search-0.1.0.tgz", + "integrity": "sha512-Dj1Okke1C3uKKwQcetra4jSuk0DqbzbYtXipzFlFMZtowbF1x7BKJwB9AayVMyFARvU8EDrZdcax4At/452cAg==", + "dev": true + }, + "node_modules/stylelint": { + "version": "15.11.0", + "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-15.11.0.tgz", + "integrity": "sha512-78O4c6IswZ9TzpcIiQJIN49K3qNoXTM8zEJzhaTE/xRTCZswaovSEVIa/uwbOltZrk16X4jAxjaOhzz/hTm1Kw==", + "dev": true, + "dependencies": { + "@csstools/css-parser-algorithms": "^2.3.1", + "@csstools/css-tokenizer": "^2.2.0", + "@csstools/media-query-list-parser": "^2.1.4", + "@csstools/selector-specificity": "^3.0.0", + "balanced-match": "^2.0.0", + "colord": "^2.9.3", + "cosmiconfig": "^8.2.0", + "css-functions-list": "^3.2.1", + "css-tree": "^2.3.1", + "debug": "^4.3.4", + "fast-glob": "^3.3.1", + "fastest-levenshtein": "^1.0.16", + "file-entry-cache": "^7.0.0", + "global-modules": "^2.0.0", + "globby": "^11.1.0", + "globjoin": "^0.1.4", + "html-tags": "^3.3.1", + "ignore": "^5.2.4", + "import-lazy": "^4.0.0", + "imurmurhash": "^0.1.4", + "is-plain-object": "^5.0.0", + "known-css-properties": "^0.29.0", + "mathml-tag-names": "^2.1.3", + "meow": "^10.1.5", + "micromatch": "^4.0.5", + "normalize-path": "^3.0.0", + "picocolors": "^1.0.0", + "postcss": "^8.4.28", + "postcss-resolve-nested-selector": "^0.1.1", + "postcss-safe-parser": "^6.0.0", + "postcss-selector-parser": "^6.0.13", + "postcss-value-parser": "^4.2.0", + "resolve-from": "^5.0.0", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1", + "style-search": "^0.1.0", + "supports-hyperlinks": "^3.0.0", + "svg-tags": "^1.0.0", + "table": "^6.8.1", + "write-file-atomic": "^5.0.1" + }, + "bin": { + "stylelint": "bin/stylelint.mjs" + }, + "engines": { + "node": "^14.13.1 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/stylelint" + } + }, + "node_modules/stylelint-config-idiomatic-order": { + "version": "10.0.0", + "resolved": "git+ssh://git@github.com/ream88/stylelint-config-idiomatic-order.git#2b456525ef46ed343959a664adbff608899f70de", + "dev": true, + "license": "MIT", + "dependencies": { + "stylelint-order": "^6.0.2" + }, + "engines": { + "node": ">=12" + }, + "peerDependencies": { + "stylelint": ">=11" + } + }, + "node_modules/stylelint-config-recommended": { + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-13.0.0.tgz", + "integrity": "sha512-EH+yRj6h3GAe/fRiyaoO2F9l9Tgg50AOFhaszyfov9v6ayXJ1IkSHwTxd7lB48FmOeSGDPLjatjO11fJpmarkQ==", + "dev": true, + "engines": { + "node": "^14.13.1 || >=16.0.0" + }, + "peerDependencies": { + "stylelint": "^15.10.0" + } + }, + "node_modules/stylelint-config-recommended-scss": { + "version": "13.1.0", + "resolved": "https://registry.npmjs.org/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-13.1.0.tgz", + "integrity": "sha512-8L5nDfd+YH6AOoBGKmhH8pLWF1dpfY816JtGMePcBqqSsLU+Ysawx44fQSlMOJ2xTfI9yTGpup5JU77c17w1Ww==", + "dev": true, + "dependencies": { + "postcss-scss": "^4.0.9", + "stylelint-config-recommended": "^13.0.0", + "stylelint-scss": "^5.3.0" + }, + "peerDependencies": { + "postcss": "^8.3.3", + "stylelint": "^15.10.0" + }, + "peerDependenciesMeta": { + "postcss": { + "optional": true + } + } + }, + "node_modules/stylelint-config-sass-guidelines": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/stylelint-config-sass-guidelines/-/stylelint-config-sass-guidelines-10.0.0.tgz", + "integrity": "sha512-+Rr2Dd4b72CWA4qoj1Kk+y449nP/WJsrD0nzQAWkmPPIuyVcy2GMIcfNr0Z8JJOLjRvtlkKxa49FCNXMePBikQ==", + "dev": true, + "dependencies": { + "postcss-scss": "^4.0.6", + "stylelint-scss": "^4.4.0" + }, + "engines": { + "node": "^14.13.1 || >=16.13.0 || >=18.0.0" + }, + "peerDependencies": { + "postcss": "^8.4.21", + "stylelint": "^15.2.0" + } + }, + "node_modules/stylelint-config-sass-guidelines/node_modules/stylelint-scss": { + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-4.7.0.tgz", + "integrity": "sha512-TSUgIeS0H3jqDZnby1UO1Qv3poi1N8wUYIJY6D1tuUq2MN3lwp/rITVo0wD+1SWTmRm0tNmGO0b7nKInnqF6Hg==", + "dev": true, + "dependencies": { + "postcss-media-query-parser": "^0.2.3", + "postcss-resolve-nested-selector": "^0.1.1", + "postcss-selector-parser": "^6.0.11", + "postcss-value-parser": "^4.2.0" + }, + "peerDependencies": { + "stylelint": "^14.5.1 || ^15.0.0" + } + }, + "node_modules/stylelint-config-standard": { + "version": "34.0.0", + "resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-34.0.0.tgz", + "integrity": "sha512-u0VSZnVyW9VSryBG2LSO+OQTjN7zF9XJaAJRX/4EwkmU0R2jYwmBSN10acqZisDitS0CLiEiGjX7+Hrq8TAhfQ==", + "dev": true, + "dependencies": { + "stylelint-config-recommended": "^13.0.0" + }, + "engines": { + "node": "^14.13.1 || >=16.0.0" + }, + "peerDependencies": { + "stylelint": "^15.10.0" + } + }, + "node_modules/stylelint-config-standard-scss": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/stylelint-config-standard-scss/-/stylelint-config-standard-scss-11.1.0.tgz", + "integrity": "sha512-5gnBgeNTgRVdchMwiFQPuBOtj9QefYtfXiddrOMJA2pI22zxt6ddI2s+e5Oh7/6QYl7QLJujGnaUR5YyGq72ow==", + "dev": true, + "dependencies": { + "stylelint-config-recommended-scss": "^13.1.0", + "stylelint-config-standard": "^34.0.0" + }, + "peerDependencies": { + "postcss": "^8.3.3", + "stylelint": "^15.10.0" + }, + "peerDependenciesMeta": { + "postcss": { + "optional": true + } + } + }, + "node_modules/stylelint-order": { + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/stylelint-order/-/stylelint-order-6.0.4.tgz", + "integrity": "sha512-0UuKo4+s1hgQ/uAxlYU4h0o0HS4NiQDud0NAUNI0aa8FJdmYHA5ZZTFHiV5FpmE3071e9pZx5j0QpVJW5zOCUA==", + "dev": true, + "dependencies": { + "postcss": "^8.4.32", + "postcss-sorting": "^8.0.2" + }, + "peerDependencies": { + "stylelint": "^14.0.0 || ^15.0.0 || ^16.0.1" + } + }, + "node_modules/stylelint-scss": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-5.3.2.tgz", + "integrity": "sha512-4LzLaayFhFyneJwLo0IUa8knuIvj+zF0vBFueQs4e3tEaAMIQX8q5th8ziKkgOavr6y/y9yoBe+RXN/edwLzsQ==", + "dev": true, + "dependencies": { + "known-css-properties": "^0.29.0", + "postcss-media-query-parser": "^0.2.3", + "postcss-resolve-nested-selector": "^0.1.1", + "postcss-selector-parser": "^6.0.13", + "postcss-value-parser": "^4.2.0" + }, + "peerDependencies": { + "stylelint": "^14.5.1 || ^15.0.0" + } + }, + "node_modules/stylelint/node_modules/balanced-match": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-2.0.0.tgz", + "integrity": "sha512-1ugUSr8BHXRnK23KfuYS+gVMC3LB8QGH9W1iGtDPsNWoQbgtXSExkBu2aDR4epiGWZOjZsj6lDl/N/AqqTC3UA==", + "dev": true + }, + "node_modules/stylelint/node_modules/camelcase": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", + "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/stylelint/node_modules/camelcase-keys": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-7.0.2.tgz", + "integrity": "sha512-Rjs1H+A9R+Ig+4E/9oyB66UC5Mj9Xq3N//vcLf2WzgdTi/3gUu3Z9KoqmlrEG4VuuLK8wJHofxzdQXz/knhiYg==", + "dev": true, + "dependencies": { + "camelcase": "^6.3.0", + "map-obj": "^4.1.0", + "quick-lru": "^5.1.1", + "type-fest": "^1.2.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/stylelint/node_modules/decamelize": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-5.0.1.tgz", + "integrity": "sha512-VfxadyCECXgQlkoEAjeghAr5gY3Hf+IKjKb+X8tGVDtveCjN+USwprd2q3QXBR9T1+x2DG0XZF5/w+7HAtSaXA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/stylelint/node_modules/file-entry-cache": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-7.0.2.tgz", + "integrity": "sha512-TfW7/1iI4Cy7Y8L6iqNdZQVvdXn0f8B4QcIXmkIbtTIe/Okm/nSlHb4IwGzRVOd3WfSieCgvf5cMzEfySAIl0g==", + "dev": true, + "dependencies": { + "flat-cache": "^3.2.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/stylelint/node_modules/indent-string": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", + "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/stylelint/node_modules/is-plain-object": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", + "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/stylelint/node_modules/meow": { + "version": "10.1.5", + "resolved": "https://registry.npmjs.org/meow/-/meow-10.1.5.tgz", + "integrity": "sha512-/d+PQ4GKmGvM9Bee/DPa8z3mXs/pkvJE2KEThngVNOqtmljC6K7NMPxtc2JeZYTmpWb9k/TmxjeL18ez3h7vCw==", + "dev": true, + "dependencies": { + "@types/minimist": "^1.2.2", + "camelcase-keys": "^7.0.0", + "decamelize": "^5.0.0", + "decamelize-keys": "^1.1.0", + "hard-rejection": "^2.1.0", + "minimist-options": "4.1.0", + "normalize-package-data": "^3.0.2", + "read-pkg-up": "^8.0.0", + "redent": "^4.0.0", + "trim-newlines": "^4.0.2", + "type-fest": "^1.2.2", + "yargs-parser": "^20.2.9" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/stylelint/node_modules/quick-lru": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz", + "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/stylelint/node_modules/read-pkg": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-6.0.0.tgz", + "integrity": "sha512-X1Fu3dPuk/8ZLsMhEj5f4wFAF0DWoK7qhGJvgaijocXxBmSToKfbFtqbxMO7bVjNA1dmE5huAzjXj/ey86iw9Q==", + "dev": true, + "dependencies": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^3.0.2", + "parse-json": "^5.2.0", + "type-fest": "^1.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/stylelint/node_modules/read-pkg-up": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-8.0.0.tgz", + "integrity": "sha512-snVCqPczksT0HS2EC+SxUndvSzn6LRCwpfSvLrIfR5BKDQQZMaI6jPRC9dYvYFDRAuFEAnkwww8kBBNE/3VvzQ==", + "dev": true, + "dependencies": { + "find-up": "^5.0.0", + "read-pkg": "^6.0.0", + "type-fest": "^1.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/stylelint/node_modules/redent": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-4.0.0.tgz", + "integrity": "sha512-tYkDkVVtYkSVhuQ4zBgfvciymHaeuel+zFKXShfDnFP5SyVEP7qo70Rf1jTOTCx3vGNAbnEi/xFkcfQVMIBWag==", + "dev": true, + "dependencies": { + "indent-string": "^5.0.0", + "strip-indent": "^4.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/stylelint/node_modules/resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/stylelint/node_modules/strip-indent": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-4.0.0.tgz", + "integrity": "sha512-mnVSV2l+Zv6BLpSD/8V87CW/y9EmmbYzGCIavsnsI6/nwn26DwffM/yztm30Z/I2DY9wdS3vXVCMnHDgZaVNoA==", + "dev": true, + "dependencies": { + "min-indent": "^1.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/stylelint/node_modules/trim-newlines": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-4.1.1.tgz", + "integrity": "sha512-jRKj0n0jXWo6kh62nA5TEh3+4igKDXLvzBJcPpiizP7oOolUrYIxmVBG9TOtHYFHoddUk6YvAkGeGoSVTXfQXQ==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/stylelint/node_modules/type-fest": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz", + "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/supports-hyperlinks": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-3.0.0.tgz", + "integrity": "sha512-QBDPHyPQDRTy9ku4URNGY5Lah8PAaXs6tAAwp55sL5WCsSW7GIfdf6W5ixfziW+t7wh3GVvHyHHyQ1ESsoRvaA==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0", + "supports-color": "^7.0.0" + }, + "engines": { + "node": ">=14.18" + } + }, + "node_modules/supports-hyperlinks/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/supports-hyperlinks/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true, + "peer": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/svg-tags": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/svg-tags/-/svg-tags-1.0.0.tgz", + "integrity": "sha512-ovssysQTa+luh7A5Weu3Rta6FJlFBBbInjOh722LIt6klpU2/HtdUbszju/G4devcvk8PGt7FCLv5wftu3THUA==", + "dev": true + }, + "node_modules/sweetalert2": { + "version": "11.10.1", + "resolved": "https://registry.npmjs.org/sweetalert2/-/sweetalert2-11.10.1.tgz", + "integrity": "sha512-qu145oBuFfjYr5yZW9OSdG6YmRxDf8CnkgT/sXMfrXGe+asFy2imC2vlaLQ/L/naZ/JZna1MPAY56G4qYM0VUQ==", + "dev": true, + "funding": { + "type": "individual", + "url": "https://github.com/sponsors/limonte" + } + }, + "node_modules/swiper": { + "version": "11.0.5", + "resolved": "https://registry.npmjs.org/swiper/-/swiper-11.0.5.tgz", + "integrity": "sha512-rhCwupqSyRnWrtNzWzemnBLMoyYuoDgGgspAm/8iBD3jCvAWycPLH4Z3TB0O5520DHLzMx94yUMH/B9Efpa48w==", + "dev": true, + "funding": [ + { + "type": "patreon", + "url": "https://www.patreon.com/swiperjs" + }, + { + "type": "open_collective", + "url": "http://opencollective.com/swiper" + } + ], + "engines": { + "node": ">= 4.7.0" + } + }, + "node_modules/table": { + "version": "6.8.1", + "resolved": "https://registry.npmjs.org/table/-/table-6.8.1.tgz", + "integrity": "sha512-Y4X9zqrCftUhMeH2EptSSERdVKt/nEdijTOacGD/97EKjhQ/Qs8RTlEGABSJNNN8lac9kheH+af7yAkEWlgneA==", + "dev": true, + "dependencies": { + "ajv": "^8.0.1", + "lodash.truncate": "^4.4.2", + "slice-ansi": "^4.0.0", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/table/node_modules/ajv": { + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", + "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/table/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true + }, + "node_modules/tapable": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", + "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/terser": { + "version": "5.26.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.26.0.tgz", + "integrity": "sha512-dytTGoE2oHgbNV9nTzgBEPaqAWvcJNl66VZ0BkJqlvp71IjO8CxdBx/ykCNb47cLnCmCvRZ6ZR0tLkqvZCdVBQ==", + "dev": true, + "dependencies": { + "@jridgewell/source-map": "^0.3.3", + "acorn": "^8.8.2", + "commander": "^2.20.0", + "source-map-support": "~0.5.20" + }, + "bin": { + "terser": "bin/terser" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/terser-webpack-plugin": { + "version": "5.3.9", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.9.tgz", + "integrity": "sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==", + "dev": true, + "peer": true, + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.17", + "jest-worker": "^27.4.5", + "schema-utils": "^3.1.1", + "serialize-javascript": "^6.0.1", + "terser": "^5.16.8" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.1.0" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "esbuild": { + "optional": true + }, + "uglify-js": { + "optional": true + } + } + }, + "node_modules/text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", + "dev": true + }, + "node_modules/tiny-invariant": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.1.tgz", + "integrity": "sha512-AD5ih2NlSssTCwsMznbvwMZpJ1cbhkGd2uueNxzv2jDlEeZdU04JQfRnggJQ8DrcVBGjAsCKwFBbDlVNtEMlzw==", + "dev": true + }, + "node_modules/to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/toastify-js": { + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/toastify-js/-/toastify-js-1.12.0.tgz", + "integrity": "sha512-HeMHCO9yLPvP9k0apGSdPUWrUbLnxUKNFzgUoZp1PHCLploIX/4DSQ7V8H25ef+h4iO9n0he7ImfcndnN6nDrQ==", + "dev": true + }, + "node_modules/trim-newlines": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", + "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==", + "dev": true, + "optional": true, + "peer": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/ts-api-utils": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.0.3.tgz", + "integrity": "sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==", + "dev": true, + "engines": { + "node": ">=16.13.0" + }, + "peerDependencies": { + "typescript": ">=4.2.0" + } + }, + "node_modules/ts-loader": { + "version": "9.5.1", + "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-9.5.1.tgz", + "integrity": "sha512-rNH3sK9kGZcH9dYzC7CewQm4NtxJTjSEVRJ2DyBZR7f8/wcta+iV44UPCXc5+nzDzivKtlzV6c9P4e+oFhDLYg==", + "dev": true, + "dependencies": { + "chalk": "^4.1.0", + "enhanced-resolve": "^5.0.0", + "micromatch": "^4.0.0", + "semver": "^7.3.4", + "source-map": "^0.7.4" + }, + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "typescript": "*", + "webpack": "^5.0.0" + } + }, + "node_modules/ts-loader/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/ts-loader/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/ts-loader/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/ts-loader/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/ts-loader/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/ts-loader/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/ts-loader/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/ts-loader/node_modules/source-map": { + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", + "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/ts-loader/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/ts-loader/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/tsconfig-paths": { + "version": "3.15.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz", + "integrity": "sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==", + "dev": true, + "peer": true, + "dependencies": { + "@types/json5": "^0.0.29", + "json5": "^1.0.2", + "minimist": "^1.2.6", + "strip-bom": "^3.0.0" + } + }, + "node_modules/tsconfig-paths/node_modules/json5": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", + "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", + "dev": true, + "peer": true, + "dependencies": { + "minimist": "^1.2.0" + }, + "bin": { + "json5": "lib/cli.js" + } + }, + "node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "dev": true + }, + "node_modules/tsutils": { + "version": "3.21.0", + "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", + "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", + "dev": true, + "dependencies": { + "tslib": "^1.8.1" + }, + "engines": { + "node": ">= 6" + }, + "peerDependencies": { + "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" + } + }, + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/type-fest": { + "version": "0.21.3", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", + "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/typed-array-buffer": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.0.tgz", + "integrity": "sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==", + "dev": true, + "peer": true, + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.1", + "is-typed-array": "^1.1.10" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/typed-array-byte-length": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.0.tgz", + "integrity": "sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA==", + "dev": true, + "peer": true, + "dependencies": { + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "has-proto": "^1.0.1", + "is-typed-array": "^1.1.10" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/typed-array-byte-offset": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.0.tgz", + "integrity": "sha512-RD97prjEt9EL8YgAgpOkf3O4IF9lhJFr9g0htQkm0rchFp/Vx7LW5Q8fSXXub7BXAODyUQohRMyOc3faCPd0hg==", + "dev": true, + "peer": true, + "dependencies": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "has-proto": "^1.0.1", + "is-typed-array": "^1.1.10" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/typed-array-length": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.4.tgz", + "integrity": "sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==", + "dev": true, + "peer": true, + "dependencies": { + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "is-typed-array": "^1.1.9" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/typescript": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz", + "integrity": "sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/typescript-eslint": { + "version": "0.0.1-alpha.0", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-0.0.1-alpha.0.tgz", + "integrity": "sha512-1hNKM37dAWML/2ltRXupOq2uqcdRQyDFphl+341NTPXFLLLiDhErXx8VtaSLh3xP7SyHZdcCgpt9boYYVb3fQg==", + "dev": true + }, + "node_modules/unbox-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", + "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", + "dev": true, + "peer": true, + "dependencies": { + "call-bind": "^1.0.2", + "has-bigints": "^1.0.2", + "has-symbols": "^1.0.3", + "which-boxed-primitive": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", + "dev": true + }, + "node_modules/universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "dev": true, + "engines": { + "node": ">= 4.0.0" + } + }, + "node_modules/update-browserslist-db": { + "version": "1.0.13", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz", + "integrity": "sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "escalade": "^3.1.1", + "picocolors": "^1.0.0" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "dev": true + }, + "node_modules/validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, + "dependencies": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, + "node_modules/vite": { + "version": "4.5.1", + "resolved": "https://registry.npmjs.org/vite/-/vite-4.5.1.tgz", + "integrity": "sha512-AXXFaAJ8yebyqzoNB9fu2pHoo/nWX+xZlaRwoeYUxEqBO+Zj4msE5G+BhGBll9lYEKv9Hfks52PAF2X7qDYXQA==", + "dev": true, + "dependencies": { + "esbuild": "^0.18.10", + "postcss": "^8.4.27", + "rollup": "^3.27.1" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + }, + "peerDependencies": { + "@types/node": ">= 14", + "less": "*", + "lightningcss": "^1.21.0", + "sass": "*", + "stylus": "*", + "sugarss": "*", + "terser": "^5.4.0" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + } + } + }, + "node_modules/vite-plugin-babel": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/vite-plugin-babel/-/vite-plugin-babel-1.1.3.tgz", + "integrity": "sha512-WE8ORQm8530kj0geiDL1r/+P2MaU0b+5wL5E8Jq07aounFwRIUeJXziGiMr2DFQs78vaefB5GRKh257M8Z6gFQ==", + "dev": true, + "peerDependencies": { + "@babel/core": "^7.0.0", + "vite": "^2.7.0 || ^3.0.0 || ^4.0.0" + } + }, + "node_modules/vite-plugin-checker": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/vite-plugin-checker/-/vite-plugin-checker-0.6.2.tgz", + "integrity": "sha512-YvvvQ+IjY09BX7Ab+1pjxkELQsBd4rPhWNw8WLBeFVxu/E7O+n6VYAqNsKdK/a2luFlX/sMpoWdGFfg4HvwdJQ==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.12.13", + "ansi-escapes": "^4.3.0", + "chalk": "^4.1.1", + "chokidar": "^3.5.1", + "commander": "^8.0.0", + "fast-glob": "^3.2.7", + "fs-extra": "^11.1.0", + "lodash.debounce": "^4.0.8", + "lodash.pick": "^4.4.0", + "npm-run-path": "^4.0.1", + "semver": "^7.5.0", + "strip-ansi": "^6.0.0", + "tiny-invariant": "^1.1.0", + "vscode-languageclient": "^7.0.0", + "vscode-languageserver": "^7.0.0", + "vscode-languageserver-textdocument": "^1.0.1", + "vscode-uri": "^3.0.2" + }, + "engines": { + "node": ">=14.16" + }, + "peerDependencies": { + "eslint": ">=7", + "meow": "^9.0.0", + "optionator": "^0.9.1", + "stylelint": ">=13", + "typescript": "*", + "vite": ">=2.0.0", + "vls": "*", + "vti": "*", + "vue-tsc": ">=1.3.9" + }, + "peerDependenciesMeta": { + "eslint": { + "optional": true + }, + "meow": { + "optional": true + }, + "optionator": { + "optional": true + }, + "stylelint": { + "optional": true + }, + "typescript": { + "optional": true + }, + "vls": { + "optional": true + }, + "vti": { + "optional": true + }, + "vue-tsc": { + "optional": true + } + } + }, + "node_modules/vite-plugin-checker/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/vite-plugin-checker/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/vite-plugin-checker/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/vite-plugin-checker/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/vite-plugin-checker/node_modules/commander": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", + "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==", + "dev": true, + "engines": { + "node": ">= 12" + } + }, + "node_modules/vite-plugin-checker/node_modules/fs-extra": { + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz", + "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==", + "dev": true, + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/vite-plugin-checker/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/vite-plugin-checker/node_modules/jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "dependencies": { + "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/vite-plugin-checker/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/vite-plugin-checker/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/vite-plugin-checker/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/vite-plugin-checker/node_modules/universalify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", + "dev": true, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/vite-plugin-checker/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/vite-plugin-eslint": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/vite-plugin-eslint/-/vite-plugin-eslint-1.8.1.tgz", + "integrity": "sha512-PqdMf3Y2fLO9FsNPmMX+//2BF5SF8nEWspZdgl4kSt7UvHDRHVVfHvxsD7ULYzZrJDGRxR81Nq7TOFgwMnUang==", + "dev": true, + "dependencies": { + "@rollup/pluginutils": "^4.2.1", + "@types/eslint": "^8.4.5", + "rollup": "^2.77.2" + }, + "peerDependencies": { + "eslint": ">=7", + "vite": ">=2" + } + }, + "node_modules/vite-plugin-eslint/node_modules/rollup": { + "version": "2.79.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.79.1.tgz", + "integrity": "sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==", + "dev": true, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=10.0.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/vite-plugin-full-reload": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/vite-plugin-full-reload/-/vite-plugin-full-reload-1.1.0.tgz", + "integrity": "sha512-3cObNDzX6DdfhD9E7kf6w2mNunFpD7drxyNgHLw+XwIYAgb+Xt16SEXo0Up4VH+TMf3n+DSVJZtW2POBGcBYAA==", + "dev": true, + "dependencies": { + "picocolors": "^1.0.0", + "picomatch": "^2.3.1" + } + }, + "node_modules/vite-plugin-stylelint": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/vite-plugin-stylelint/-/vite-plugin-stylelint-5.3.0.tgz", + "integrity": "sha512-pbZ0qNikukazwZK6rItIjuTcABc7wfDBKQSQaVTPBYqGEJTVzFzuPJcxR4OMwlddIIk1Xp7vPMQTu9m2pGZ5HQ==", + "dev": true, + "dependencies": { + "@rollup/pluginutils": "^5.1.0", + "chokidar": "^3.5.3", + "debug": "^4.3.4" + }, + "engines": { + "node": ">=14.18" + }, + "peerDependencies": { + "@types/stylelint": "^13.0.0", + "postcss": "^7.0.0 || ^8.0.0", + "rollup": "^2.0.0 || ^3.0.0 || ^4.0.0", + "stylelint": "^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0", + "vite": "^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0" + }, + "peerDependenciesMeta": { + "@types/stylelint": { + "optional": true + }, + "postcss": { + "optional": true + }, + "rollup": { + "optional": true + } + } + }, + "node_modules/vite-plugin-stylelint/node_modules/@rollup/pluginutils": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.1.0.tgz", + "integrity": "sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==", + "dev": true, + "dependencies": { + "@types/estree": "^1.0.0", + "estree-walker": "^2.0.2", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0" + }, + "peerDependenciesMeta": { + "rollup": { + "optional": true + } + } + }, + "node_modules/vscode-jsonrpc": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-6.0.0.tgz", + "integrity": "sha512-wnJA4BnEjOSyFMvjZdpiOwhSq9uDoK8e/kpRJDTaMYzwlkrhG1fwDIZI94CLsLzlCK5cIbMMtFlJlfR57Lavmg==", + "dev": true, + "engines": { + "node": ">=8.0.0 || >=10.0.0" + } + }, + "node_modules/vscode-languageclient": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/vscode-languageclient/-/vscode-languageclient-7.0.0.tgz", + "integrity": "sha512-P9AXdAPlsCgslpP9pRxYPqkNYV7Xq8300/aZDpO35j1fJm/ncize8iGswzYlcvFw5DQUx4eVk+KvfXdL0rehNg==", + "dev": true, + "dependencies": { + "minimatch": "^3.0.4", + "semver": "^7.3.4", + "vscode-languageserver-protocol": "3.16.0" + }, + "engines": { + "vscode": "^1.52.0" + } + }, + "node_modules/vscode-languageclient/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/vscode-languageclient/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/vscode-languageclient/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/vscode-languageserver": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/vscode-languageserver/-/vscode-languageserver-7.0.0.tgz", + "integrity": "sha512-60HTx5ID+fLRcgdHfmz0LDZAXYEV68fzwG0JWwEPBode9NuMYTIxuYXPg4ngO8i8+Ou0lM7y6GzaYWbiDL0drw==", + "dev": true, + "dependencies": { + "vscode-languageserver-protocol": "3.16.0" + }, + "bin": { + "installServerIntoExtension": "bin/installServerIntoExtension" + } + }, + "node_modules/vscode-languageserver-protocol": { + "version": "3.16.0", + "resolved": "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.16.0.tgz", + "integrity": "sha512-sdeUoAawceQdgIfTI+sdcwkiK2KU+2cbEYA0agzM2uqaUy2UpnnGHtWTHVEtS0ES4zHU0eMFRGN+oQgDxlD66A==", + "dev": true, + "dependencies": { + "vscode-jsonrpc": "6.0.0", + "vscode-languageserver-types": "3.16.0" + } + }, + "node_modules/vscode-languageserver-textdocument": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/vscode-languageserver-textdocument/-/vscode-languageserver-textdocument-1.0.11.tgz", + "integrity": "sha512-X+8T3GoiwTVlJbicx/sIAF+yuJAqz8VvwJyoMVhwEMoEKE/fkDmrqUgDMyBECcM2A2frVZIUj5HI/ErRXCfOeA==", + "dev": true + }, + "node_modules/vscode-languageserver-types": { + "version": "3.16.0", + "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.16.0.tgz", + "integrity": "sha512-k8luDIWJWyenLc5ToFQQMaSrqCHiLwyKPHKPQZ5zz21vM+vIVUSvsRpcbiECH4WR88K2XZqc4ScRcZ7nk/jbeA==", + "dev": true + }, + "node_modules/vscode-uri": { + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-3.0.8.tgz", + "integrity": "sha512-AyFQ0EVmsOZOlAnxoFOGOq1SQDWAB7C6aqMGS23svWAllfOaxbuFvcT8D1i8z3Gyn8fraVeZNNmN6e9bxxXkKw==", + "dev": true + }, + "node_modules/vue": { + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.3.11.tgz", + "integrity": "sha512-d4oBctG92CRO1cQfVBZp6WJAs0n8AK4Xf5fNjQCBeKCvMI1efGQ5E3Alt1slFJS9fZuPcFoiAiqFvQlv1X7t/w==", + "dev": true, + "dependencies": { + "@vue/compiler-dom": "3.3.11", + "@vue/compiler-sfc": "3.3.11", + "@vue/runtime-dom": "3.3.11", + "@vue/server-renderer": "3.3.11", + "@vue/shared": "3.3.11" + }, + "peerDependencies": { + "typescript": "*" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/vue-eslint-parser": { + "version": "9.3.2", + "resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-9.3.2.tgz", + "integrity": "sha512-q7tWyCVaV9f8iQyIA5Mkj/S6AoJ9KBN8IeUSf3XEmBrOtxOZnfTg5s4KClbZBCK3GtnT/+RyCLZyDHuZwTuBjg==", + "dev": true, + "dependencies": { + "debug": "^4.3.4", + "eslint-scope": "^7.1.1", + "eslint-visitor-keys": "^3.3.0", + "espree": "^9.3.1", + "esquery": "^1.4.0", + "lodash": "^4.17.21", + "semver": "^7.3.6" + }, + "engines": { + "node": "^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" + }, + "peerDependencies": { + "eslint": ">=6.0.0" + } + }, + "node_modules/vue-eslint-parser/node_modules/eslint-scope": { + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", + "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", + "dev": true, + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/vue-eslint-parser/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/vue-eslint-parser/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/vue-eslint-parser/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/vue-eslint-parser/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/vue-loader": { + "version": "17.3.1", + "resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-17.3.1.tgz", + "integrity": "sha512-nmVu7KU8geOyzsStyyaxID/uBGDMS8BkPXb6Lu2SNkMawriIbb+hYrNtgftHMKxOSkjjjTF5OSSwPo3KP59egg==", + "dev": true, + "dependencies": { + "chalk": "^4.1.0", + "hash-sum": "^2.0.0", + "watchpack": "^2.4.0" + }, + "peerDependencies": { + "webpack": "^4.1.0 || ^5.0.0-0" + }, + "peerDependenciesMeta": { + "@vue/compiler-sfc": { + "optional": true + }, + "vue": { + "optional": true + } + } + }, + "node_modules/vue-loader/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/vue-loader/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/vue-loader/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/vue-loader/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/vue-loader/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/vue-loader/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/vue-template-compiler": { + "version": "2.7.15", + "resolved": "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.7.15.tgz", + "integrity": "sha512-yQxjxMptBL7UAog00O8sANud99C6wJF+7kgbcwqkvA38vCGF7HWE66w0ZFnS/kX5gSoJr/PQ4/oS3Ne2pW37Og==", + "dev": true, + "dependencies": { + "de-indent": "^1.0.2", + "he": "^1.2.0" + } + }, + "node_modules/vue-tsc": { + "version": "1.8.11", + "resolved": "https://registry.npmjs.org/vue-tsc/-/vue-tsc-1.8.11.tgz", + "integrity": "sha512-BzfiMdPqDHBlysx4g26NkfVHSQwGD/lTRausmxN9sFyjXz34OWfsbkh0YsVkX84Hu65In1fFlxHiG39Tr4Vojg==", + "dev": true, + "dependencies": { + "@vue/language-core": "1.8.11", + "@vue/typescript": "1.8.11", + "semver": "^7.3.8" + }, + "bin": { + "vue-tsc": "bin/vue-tsc.js" + }, + "peerDependencies": { + "typescript": "*" + } + }, + "node_modules/vue-tsc/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/vue-tsc/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/vue-tsc/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/watchpack": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.0.tgz", + "integrity": "sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg==", + "dev": true, + "dependencies": { + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.1.2" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/webpack": { + "version": "5.89.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.89.0.tgz", + "integrity": "sha512-qyfIC10pOr70V+jkmud8tMfajraGCZMBWJtrmuBymQKCrLTRejBI8STDp1MCyZu/QTdZSeacCQYpYNQVOzX5kw==", + "dev": true, + "peer": true, + "dependencies": { + "@types/eslint-scope": "^3.7.3", + "@types/estree": "^1.0.0", + "@webassemblyjs/ast": "^1.11.5", + "@webassemblyjs/wasm-edit": "^1.11.5", + "@webassemblyjs/wasm-parser": "^1.11.5", + "acorn": "^8.7.1", + "acorn-import-assertions": "^1.9.0", + "browserslist": "^4.14.5", + "chrome-trace-event": "^1.0.2", + "enhanced-resolve": "^5.15.0", + "es-module-lexer": "^1.2.1", + "eslint-scope": "5.1.1", + "events": "^3.2.0", + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.2.9", + "json-parse-even-better-errors": "^2.3.1", + "loader-runner": "^4.2.0", + "mime-types": "^2.1.27", + "neo-async": "^2.6.2", + "schema-utils": "^3.2.0", + "tapable": "^2.1.1", + "terser-webpack-plugin": "^5.3.7", + "watchpack": "^2.4.0", + "webpack-sources": "^3.2.3" + }, + "bin": { + "webpack": "bin/webpack.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependenciesMeta": { + "webpack-cli": { + "optional": true + } + } + }, + "node_modules/webpack-sources": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz", + "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==", + "dev": true, + "peer": true, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dev": true, + "peer": true, + "dependencies": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/which-typed-array": { + "version": "1.1.13", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.13.tgz", + "integrity": "sha512-P5Nra0qjSncduVPEAr7xhoF5guty49ArDTwzJ/yNuPIbZppyRxFQsRCWrocxIY+CnMVG+qfbU2FmDKyvSGClow==", + "dev": true, + "peer": true, + "dependencies": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.4", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "dev": true + }, + "node_modules/write-file-atomic": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.1.tgz", + "integrity": "sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw==", + "dev": true, + "dependencies": { + "imurmurhash": "^0.1.4", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/xml-name-validator": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-4.0.0.tgz", + "integrity": "sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==", + "dev": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "dev": true + }, + "node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..58531d2 --- /dev/null +++ b/package.json @@ -0,0 +1,72 @@ +{ + "private": true, + "name": "srcs", + "scripts": { + "vite": "vite --clearScreen false", + "prod": "vite build --mode production", + "dev": "NODE_ENV=development vite build -d --mode development", + "watch": "NODE_ENV=development vite build --mode development --watch", + "eslint": "node ./node_modules/.bin/eslint --max-warnings 0 -c .eslintrc.json ./resources", + "eslint-fix": "node ./node_modules/.bin/eslint --fix --max-warnings 0 -c .eslintrc.json ./resources", + "eslint-ci": "node ./node_modules/.bin/eslint --max-warnings 0 -c .eslintrc.json ./resources -f junit", + "stylelint": "node ./node_modules/.bin/stylelint --config './.stylelintrc.json' --max-warnings 0 '**/resources/**/*.scss'", + "stylelint-fix": "node ./node_modules/.bin/stylelint --config './.stylelintrc.json' --fix --max-warnings 0 '**/resources/**/*.scss'", + "stylelint-ci": "node ./node_modules/.bin/stylelint --config './.stylelintrc.json' --max-warnings 0 '**/resources/**/*.scss' -f json" + }, + "devDependencies": { + "@babel/core": "^7.22.11", + "@babel/types": "^7.21.2", + "@fortawesome/fontawesome-svg-core": "^6.5.1", + "@fortawesome/free-regular-svg-icons": "^6.5.1", + "@fortawesome/free-solid-svg-icons": "^6.5.1", + "@fortawesome/vue-fontawesome": "^3.0.5", + "@ldc-web/cookie-notice": "^3.1.2", + "@sipec/vue3-tags-input": "^3.0.4", + "@types/bootstrap": "^5.2.7", + "@types/node": "^20.8.2", + "@types/toastify-js": "^1.12.1", + "@typescript-eslint/eslint-plugin": "^5.62.0", + "@typescript-eslint/parser": "^5.36.2", + "@vitejs/plugin-basic-ssl": "^1.0.1", + "@vitejs/plugin-vue": "latest", + "@vue/compiler-sfc": "latest", + "@vue/eslint-config-typescript": "latest", + "@vue/tsconfig": "^0.4.0", + "axios": "^1.5.1", + "bootstrap": "^5.3.2", + "chart.js": "^4.4.0", + "cropperjs": "^1.6.1", + "eslint": "latest", + "eslint-import-resolver-alias": "^1.1.2", + "eslint-plugin-vue": "latest", + "laravel-vite-plugin": "latest", + "postcss-discard-comments": "^6.0.0", + "prettier": "latest", + "print-js": "^1.6.0", + "resolve-url-loader": "^5.0.0", + "rollup-plugin-copy": "^3.5.0", + "sass": "latest", + "slugify": "^1.6.6", + "stylelint": "^15.11.0", + "stylelint-config-idiomatic-order": "github:ream88/stylelint-config-idiomatic-order", + "stylelint-config-sass-guidelines": "^10.0.0", + "stylelint-config-standard-scss": "^11.1.0", + "stylelint-scss": "^5.3.2", + "sweetalert2": "^11.7.31", + "swiper": "^11.0.5", + "terser": "latest", + "toastify-js": "^1.12.0", + "ts-loader": "^9.3.1", + "typescript": ">=3.3.1 <5.2.0", + "typescript-eslint": "latest", + "vite": "^4.5.1", + "vite-plugin-babel": "latest", + "vite-plugin-checker": "latest", + "vite-plugin-eslint": "latest", + "vite-plugin-stylelint": "latest", + "vue": "latest", + "vue-eslint-parser": "^9.3.2", + "vue-loader": "^17.3.1", + "vue-tsc": "1.8.11" + } +} diff --git a/phpcs.xml b/phpcs.xml new file mode 100644 index 0000000..8edd8ef --- /dev/null +++ b/phpcs.xml @@ -0,0 +1,130 @@ + + + Created with the PHP Coding Standard Generator. http://edorian.github.com/php-coding-standard-generator/ + + + app/ + config/ + database/factories + routes/ + app/Lib/vendor + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */database/migrations/* + + + diff --git a/phpunit.xml b/phpunit.xml new file mode 100644 index 0000000..eb13aff --- /dev/null +++ b/phpunit.xml @@ -0,0 +1,31 @@ + + + + + ./tests/Unit + + + ./tests/Feature + + + + + ./app + + + + + + + + + + + + + + diff --git a/public/.htaccess b/public/.htaccess new file mode 100644 index 0000000..3aec5e2 --- /dev/null +++ b/public/.htaccess @@ -0,0 +1,21 @@ + + + Options -MultiViews -Indexes + + + RewriteEngine On + + # Handle Authorization Header + RewriteCond %{HTTP:Authorization} . + RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] + + # Redirect Trailing Slashes If Not A Folder... + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_URI} (.+)/$ + RewriteRule ^ %1 [L,R=301] + + # Send Requests To Front Controller... + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_FILENAME} !-f + RewriteRule ^ index.php [L] + diff --git a/public/index.php b/public/index.php new file mode 100644 index 0000000..1d69f3a --- /dev/null +++ b/public/index.php @@ -0,0 +1,55 @@ +make(Kernel::class); + +$response = $kernel->handle( + $request = Request::capture() +)->send(); + +$kernel->terminate($request, $response); diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..eb05362 --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: diff --git a/resources/assets/fonts/AmaticSC-Bold.woff b/resources/assets/fonts/AmaticSC-Bold.woff new file mode 100644 index 0000000..e7e953a Binary files /dev/null and b/resources/assets/fonts/AmaticSC-Bold.woff differ diff --git a/resources/assets/fonts/AmaticSC-Bold.woff2 b/resources/assets/fonts/AmaticSC-Bold.woff2 new file mode 100644 index 0000000..93963a3 Binary files /dev/null and b/resources/assets/fonts/AmaticSC-Bold.woff2 differ diff --git a/resources/assets/fonts/AmaticSC-Regular.woff b/resources/assets/fonts/AmaticSC-Regular.woff new file mode 100644 index 0000000..0891139 Binary files /dev/null and b/resources/assets/fonts/AmaticSC-Regular.woff differ diff --git a/resources/assets/fonts/AmaticSC-Regular.woff2 b/resources/assets/fonts/AmaticSC-Regular.woff2 new file mode 100644 index 0000000..4be4e10 Binary files /dev/null and b/resources/assets/fonts/AmaticSC-Regular.woff2 differ diff --git a/resources/assets/fonts/BritoTri-Regular.woff b/resources/assets/fonts/BritoTri-Regular.woff new file mode 100644 index 0000000..ab2a857 Binary files /dev/null and b/resources/assets/fonts/BritoTri-Regular.woff differ diff --git a/resources/assets/fonts/BritoTri-Regular.woff2 b/resources/assets/fonts/BritoTri-Regular.woff2 new file mode 100644 index 0000000..6f57ae5 Binary files /dev/null and b/resources/assets/fonts/BritoTri-Regular.woff2 differ diff --git a/resources/assets/fonts/IntroHeadB-Base.woff b/resources/assets/fonts/IntroHeadB-Base.woff new file mode 100644 index 0000000..d432076 Binary files /dev/null and b/resources/assets/fonts/IntroHeadB-Base.woff differ diff --git a/resources/assets/fonts/IntroHeadB-Base.woff2 b/resources/assets/fonts/IntroHeadB-Base.woff2 new file mode 100644 index 0000000..e08a532 Binary files /dev/null and b/resources/assets/fonts/IntroHeadB-Base.woff2 differ diff --git a/resources/assets/fonts/IntroHeadH-Base.woff b/resources/assets/fonts/IntroHeadH-Base.woff new file mode 100644 index 0000000..c6bdc5b Binary files /dev/null and b/resources/assets/fonts/IntroHeadH-Base.woff differ diff --git a/resources/assets/fonts/IntroHeadH-Base.woff2 b/resources/assets/fonts/IntroHeadH-Base.woff2 new file mode 100644 index 0000000..51ccfa1 Binary files /dev/null and b/resources/assets/fonts/IntroHeadH-Base.woff2 differ diff --git a/resources/assets/fonts/IntroScriptB-Base.woff b/resources/assets/fonts/IntroScriptB-Base.woff new file mode 100644 index 0000000..60252a9 Binary files /dev/null and b/resources/assets/fonts/IntroScriptB-Base.woff differ diff --git a/resources/assets/fonts/IntroScriptB-Base.woff2 b/resources/assets/fonts/IntroScriptB-Base.woff2 new file mode 100644 index 0000000..1b77035 Binary files /dev/null and b/resources/assets/fonts/IntroScriptB-Base.woff2 differ diff --git a/resources/assets/fonts/KeepCalm-Medium.woff b/resources/assets/fonts/KeepCalm-Medium.woff new file mode 100644 index 0000000..0e55620 Binary files /dev/null and b/resources/assets/fonts/KeepCalm-Medium.woff differ diff --git a/resources/assets/fonts/KeepCalm-Medium.woff2 b/resources/assets/fonts/KeepCalm-Medium.woff2 new file mode 100644 index 0000000..57aea5b Binary files /dev/null and b/resources/assets/fonts/KeepCalm-Medium.woff2 differ diff --git a/resources/assets/fonts/Lobster14.woff b/resources/assets/fonts/Lobster14.woff new file mode 100644 index 0000000..aa09218 Binary files /dev/null and b/resources/assets/fonts/Lobster14.woff differ diff --git a/resources/assets/fonts/Lobster14.woff2 b/resources/assets/fonts/Lobster14.woff2 new file mode 100644 index 0000000..338bf85 Binary files /dev/null and b/resources/assets/fonts/Lobster14.woff2 differ diff --git a/resources/assets/fonts/MyriadPro-Black.woff b/resources/assets/fonts/MyriadPro-Black.woff new file mode 100644 index 0000000..bccecdf Binary files /dev/null and b/resources/assets/fonts/MyriadPro-Black.woff differ diff --git a/resources/assets/fonts/MyriadPro-Black.woff2 b/resources/assets/fonts/MyriadPro-Black.woff2 new file mode 100644 index 0000000..2dbef26 Binary files /dev/null and b/resources/assets/fonts/MyriadPro-Black.woff2 differ diff --git a/resources/assets/fonts/MyriadPro-Bold.woff b/resources/assets/fonts/MyriadPro-Bold.woff new file mode 100644 index 0000000..5df5f41 Binary files /dev/null and b/resources/assets/fonts/MyriadPro-Bold.woff differ diff --git a/resources/assets/fonts/MyriadPro-Bold.woff2 b/resources/assets/fonts/MyriadPro-Bold.woff2 new file mode 100644 index 0000000..5b5d82a Binary files /dev/null and b/resources/assets/fonts/MyriadPro-Bold.woff2 differ diff --git a/resources/assets/fonts/MyriadPro-Regular.woff b/resources/assets/fonts/MyriadPro-Regular.woff new file mode 100644 index 0000000..5a259d9 Binary files /dev/null and b/resources/assets/fonts/MyriadPro-Regular.woff differ diff --git a/resources/assets/fonts/MyriadPro-Regular.woff2 b/resources/assets/fonts/MyriadPro-Regular.woff2 new file mode 100644 index 0000000..ce47f9f Binary files /dev/null and b/resources/assets/fonts/MyriadPro-Regular.woff2 differ diff --git a/resources/assets/fonts/MyriadPro-Semibold.woff b/resources/assets/fonts/MyriadPro-Semibold.woff new file mode 100644 index 0000000..43b5ce8 Binary files /dev/null and b/resources/assets/fonts/MyriadPro-Semibold.woff differ diff --git a/resources/assets/fonts/MyriadPro-Semibold.woff2 b/resources/assets/fonts/MyriadPro-Semibold.woff2 new file mode 100644 index 0000000..07c87e9 Binary files /dev/null and b/resources/assets/fonts/MyriadPro-Semibold.woff2 differ diff --git a/resources/assets/images/commitments/bg-environnement.jpg b/resources/assets/images/commitments/bg-environnement.jpg new file mode 100644 index 0000000..772414b Binary files /dev/null and b/resources/assets/images/commitments/bg-environnement.jpg differ diff --git a/resources/assets/images/commitments/bg-header.jpg b/resources/assets/images/commitments/bg-header.jpg new file mode 100644 index 0000000..68f1785 Binary files /dev/null and b/resources/assets/images/commitments/bg-header.jpg differ diff --git a/resources/assets/images/commitments/bg-qualite.jpg b/resources/assets/images/commitments/bg-qualite.jpg new file mode 100644 index 0000000..0963efb Binary files /dev/null and b/resources/assets/images/commitments/bg-qualite.jpg differ diff --git a/resources/assets/images/commitments/cochon.svg b/resources/assets/images/commitments/cochon.svg new file mode 100644 index 0000000..e57b34a --- /dev/null +++ b/resources/assets/images/commitments/cochon.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/assets/images/commitments/farine.svg b/resources/assets/images/commitments/farine.svg new file mode 100644 index 0000000..5aa9908 --- /dev/null +++ b/resources/assets/images/commitments/farine.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/resources/assets/images/commitments/lait.svg b/resources/assets/images/commitments/lait.svg new file mode 100644 index 0000000..56568c0 --- /dev/null +++ b/resources/assets/images/commitments/lait.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/resources/assets/images/commitments/poule.svg b/resources/assets/images/commitments/poule.svg new file mode 100644 index 0000000..0e278f0 --- /dev/null +++ b/resources/assets/images/commitments/poule.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/resources/assets/images/commitments/rounded-handline.svg b/resources/assets/images/commitments/rounded-handline.svg new file mode 100644 index 0000000..ce58ca1 --- /dev/null +++ b/resources/assets/images/commitments/rounded-handline.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/assets/images/commitments/seagull.svg b/resources/assets/images/commitments/seagull.svg new file mode 100644 index 0000000..e6ad8cf --- /dev/null +++ b/resources/assets/images/commitments/seagull.svg @@ -0,0 +1,11 @@ + + + + + + + + + + diff --git a/resources/assets/images/contact/contact-bg.jpg b/resources/assets/images/contact/contact-bg.jpg new file mode 100644 index 0000000..d2188c9 Binary files /dev/null and b/resources/assets/images/contact/contact-bg.jpg differ diff --git a/resources/assets/images/contact/ship.svg b/resources/assets/images/contact/ship.svg new file mode 100644 index 0000000..4ed5274 --- /dev/null +++ b/resources/assets/images/contact/ship.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + diff --git a/resources/assets/images/contact/suzette-contact.png b/resources/assets/images/contact/suzette-contact.png new file mode 100644 index 0000000..d04ecec Binary files /dev/null and b/resources/assets/images/contact/suzette-contact.png differ diff --git a/resources/assets/images/global/arrow-desktop.png b/resources/assets/images/global/arrow-desktop.png new file mode 100644 index 0000000..668a1d1 Binary files /dev/null and b/resources/assets/images/global/arrow-desktop.png differ diff --git a/resources/assets/images/global/bg-white-bubble.svg b/resources/assets/images/global/bg-white-bubble.svg new file mode 100644 index 0000000..b7f0ce5 --- /dev/null +++ b/resources/assets/images/global/bg-white-bubble.svg @@ -0,0 +1,8 @@ + + + + + + + diff --git a/resources/assets/images/global/border-beige-top.svg b/resources/assets/images/global/border-beige-top.svg new file mode 100644 index 0000000..decca86 --- /dev/null +++ b/resources/assets/images/global/border-beige-top.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/images/global/border-yellow-bottom.svg b/resources/assets/images/global/border-yellow-bottom.svg new file mode 100644 index 0000000..2c11a96 --- /dev/null +++ b/resources/assets/images/global/border-yellow-bottom.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/assets/images/global/border-yellow-top.svg b/resources/assets/images/global/border-yellow-top.svg new file mode 100644 index 0000000..26c46c8 --- /dev/null +++ b/resources/assets/images/global/border-yellow-top.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/assets/images/global/btn-arrow-dark.png b/resources/assets/images/global/btn-arrow-dark.png new file mode 100644 index 0000000..5b78c2c Binary files /dev/null and b/resources/assets/images/global/btn-arrow-dark.png differ diff --git a/resources/assets/images/global/btn-arrow.png b/resources/assets/images/global/btn-arrow.png new file mode 100644 index 0000000..fcb13b5 Binary files /dev/null and b/resources/assets/images/global/btn-arrow.png differ diff --git a/resources/assets/images/global/ellipse_blue.png b/resources/assets/images/global/ellipse_blue.png new file mode 100644 index 0000000..9d2cec6 Binary files /dev/null and b/resources/assets/images/global/ellipse_blue.png differ diff --git a/resources/assets/images/global/ellipse_white.png b/resources/assets/images/global/ellipse_white.png new file mode 100644 index 0000000..579b7e7 Binary files /dev/null and b/resources/assets/images/global/ellipse_white.png differ diff --git a/resources/assets/images/global/ellipse_yellow.png b/resources/assets/images/global/ellipse_yellow.png new file mode 100644 index 0000000..a6d28a1 Binary files /dev/null and b/resources/assets/images/global/ellipse_yellow.png differ diff --git a/resources/assets/images/global/mouettes.svg b/resources/assets/images/global/mouettes.svg new file mode 100644 index 0000000..d9cd58f --- /dev/null +++ b/resources/assets/images/global/mouettes.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + diff --git a/resources/assets/images/global/plate.png b/resources/assets/images/global/plate.png new file mode 100644 index 0000000..377638c Binary files /dev/null and b/resources/assets/images/global/plate.png differ diff --git a/resources/assets/images/global/seagulls.png b/resources/assets/images/global/seagulls.png new file mode 100644 index 0000000..42ba8c3 Binary files /dev/null and b/resources/assets/images/global/seagulls.png differ diff --git a/resources/assets/images/global/ship-blue.svg b/resources/assets/images/global/ship-blue.svg new file mode 100644 index 0000000..976730c --- /dev/null +++ b/resources/assets/images/global/ship-blue.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/resources/assets/images/global/slider-nav-active.png b/resources/assets/images/global/slider-nav-active.png new file mode 100644 index 0000000..53c73c3 Binary files /dev/null and b/resources/assets/images/global/slider-nav-active.png differ diff --git a/resources/assets/images/global/slider-nav.png b/resources/assets/images/global/slider-nav.png new file mode 100644 index 0000000..1856c7b Binary files /dev/null and b/resources/assets/images/global/slider-nav.png differ diff --git a/resources/assets/images/global/underline-white.svg b/resources/assets/images/global/underline-white.svg new file mode 100644 index 0000000..3c75f2d --- /dev/null +++ b/resources/assets/images/global/underline-white.svg @@ -0,0 +1,4 @@ + + + diff --git a/resources/assets/images/global/underline-yellow.svg b/resources/assets/images/global/underline-yellow.svg new file mode 100644 index 0000000..fbc34ef --- /dev/null +++ b/resources/assets/images/global/underline-yellow.svg @@ -0,0 +1,4 @@ + + + diff --git a/resources/assets/images/global/yellow-lighthouse.png b/resources/assets/images/global/yellow-lighthouse.png new file mode 100644 index 0000000..edca527 Binary files /dev/null and b/resources/assets/images/global/yellow-lighthouse.png differ diff --git a/resources/assets/images/historypage/bg-history.jpg b/resources/assets/images/historypage/bg-history.jpg new file mode 100644 index 0000000..6b1c8e9 Binary files /dev/null and b/resources/assets/images/historypage/bg-history.jpg differ diff --git a/resources/assets/images/historypage/suzette.png b/resources/assets/images/historypage/suzette.png new file mode 100644 index 0000000..e625e6e Binary files /dev/null and b/resources/assets/images/historypage/suzette.png differ diff --git a/resources/assets/images/historypage/vector_yellow.svg b/resources/assets/images/historypage/vector_yellow.svg new file mode 100644 index 0000000..ad966c7 --- /dev/null +++ b/resources/assets/images/historypage/vector_yellow.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/images/historypage/wheat.png b/resources/assets/images/historypage/wheat.png new file mode 100644 index 0000000..7ec550c Binary files /dev/null and b/resources/assets/images/historypage/wheat.png differ diff --git a/resources/assets/images/homepage/arrow.png b/resources/assets/images/homepage/arrow.png new file mode 100644 index 0000000..7804c1f Binary files /dev/null and b/resources/assets/images/homepage/arrow.png differ diff --git a/resources/assets/images/homepage/bg-commitments.png b/resources/assets/images/homepage/bg-commitments.png new file mode 100644 index 0000000..1c749b0 Binary files /dev/null and b/resources/assets/images/homepage/bg-commitments.png differ diff --git a/resources/assets/images/homepage/border-actu-bottom.svg b/resources/assets/images/homepage/border-actu-bottom.svg new file mode 100644 index 0000000..8630f17 --- /dev/null +++ b/resources/assets/images/homepage/border-actu-bottom.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/assets/images/homepage/border-actu-top.svg b/resources/assets/images/homepage/border-actu-top.svg new file mode 100644 index 0000000..a139767 --- /dev/null +++ b/resources/assets/images/homepage/border-actu-top.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/images/homepage/bubble1-text.png b/resources/assets/images/homepage/bubble1-text.png new file mode 100644 index 0000000..471d9f9 Binary files /dev/null and b/resources/assets/images/homepage/bubble1-text.png differ diff --git a/resources/assets/images/homepage/bubble1-with-text.png b/resources/assets/images/homepage/bubble1-with-text.png new file mode 100644 index 0000000..1f4ef7f Binary files /dev/null and b/resources/assets/images/homepage/bubble1-with-text.png differ diff --git a/resources/assets/images/homepage/bubble1.png b/resources/assets/images/homepage/bubble1.png new file mode 100644 index 0000000..9f7632c Binary files /dev/null and b/resources/assets/images/homepage/bubble1.png differ diff --git a/resources/assets/images/homepage/made-in-breizh.png b/resources/assets/images/homepage/made-in-breizh.png new file mode 100644 index 0000000..63967b5 Binary files /dev/null and b/resources/assets/images/homepage/made-in-breizh.png differ diff --git a/resources/assets/images/homepage/nav-next.png b/resources/assets/images/homepage/nav-next.png new file mode 100644 index 0000000..8fc9059 Binary files /dev/null and b/resources/assets/images/homepage/nav-next.png differ diff --git a/resources/assets/images/homepage/nav-prev.png b/resources/assets/images/homepage/nav-prev.png new file mode 100644 index 0000000..78a4c3d Binary files /dev/null and b/resources/assets/images/homepage/nav-prev.png differ diff --git a/resources/assets/images/homepage/suzette-empty-hand.png b/resources/assets/images/homepage/suzette-empty-hand.png new file mode 100644 index 0000000..7c56740 Binary files /dev/null and b/resources/assets/images/homepage/suzette-empty-hand.png differ diff --git a/resources/assets/images/homepage/suzette2.png b/resources/assets/images/homepage/suzette2.png new file mode 100644 index 0000000..111e036 Binary files /dev/null and b/resources/assets/images/homepage/suzette2.png differ diff --git a/resources/assets/images/homepage/wheat-transparent.png b/resources/assets/images/homepage/wheat-transparent.png new file mode 100644 index 0000000..ee7bb37 Binary files /dev/null and b/resources/assets/images/homepage/wheat-transparent.png differ diff --git a/resources/assets/images/homepage/yellow-boat.png b/resources/assets/images/homepage/yellow-boat.png new file mode 100644 index 0000000..05d54dc Binary files /dev/null and b/resources/assets/images/homepage/yellow-boat.png differ diff --git a/resources/assets/images/klub/br-bg.svg b/resources/assets/images/klub/br-bg.svg new file mode 100644 index 0000000..bb11b45 --- /dev/null +++ b/resources/assets/images/klub/br-bg.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/resources/assets/images/klub/br.svg b/resources/assets/images/klub/br.svg new file mode 100644 index 0000000..0988873 --- /dev/null +++ b/resources/assets/images/klub/br.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + diff --git a/resources/assets/images/klub/dices.svg b/resources/assets/images/klub/dices.svg new file mode 100644 index 0000000..5df395f --- /dev/null +++ b/resources/assets/images/klub/dices.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + diff --git a/resources/assets/images/klub/suzette.png b/resources/assets/images/klub/suzette.png new file mode 100644 index 0000000..4a2b0ac Binary files /dev/null and b/resources/assets/images/klub/suzette.png differ diff --git a/resources/assets/images/klub/tablet.png b/resources/assets/images/klub/tablet.png new file mode 100644 index 0000000..fcda4c3 Binary files /dev/null and b/resources/assets/images/klub/tablet.png differ diff --git a/resources/assets/images/layout/btn-bg.svg b/resources/assets/images/layout/btn-bg.svg new file mode 100644 index 0000000..6aa306b --- /dev/null +++ b/resources/assets/images/layout/btn-bg.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/images/layout/hamburger-menu.svg b/resources/assets/images/layout/hamburger-menu.svg new file mode 100644 index 0000000..830a184 --- /dev/null +++ b/resources/assets/images/layout/hamburger-menu.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + diff --git a/resources/assets/images/layout/klub-btn-outline.svg b/resources/assets/images/layout/klub-btn-outline.svg new file mode 100644 index 0000000..471431e --- /dev/null +++ b/resources/assets/images/layout/klub-btn-outline.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/assets/images/layout/klub-btn-underline.svg b/resources/assets/images/layout/klub-btn-underline.svg new file mode 100644 index 0000000..e556dd1 --- /dev/null +++ b/resources/assets/images/layout/klub-btn-underline.svg @@ -0,0 +1,4 @@ + + + diff --git a/resources/assets/images/layout/menu-bg.svg b/resources/assets/images/layout/menu-bg.svg new file mode 100644 index 0000000..00c0054 --- /dev/null +++ b/resources/assets/images/layout/menu-bg.svg @@ -0,0 +1,4 @@ + + + diff --git a/resources/assets/images/layout/textured-bg.jpg b/resources/assets/images/layout/textured-bg.jpg new file mode 100644 index 0000000..250d662 Binary files /dev/null and b/resources/assets/images/layout/textured-bg.jpg differ diff --git a/resources/assets/images/logo-regalette.png b/resources/assets/images/logo-regalette.png new file mode 100644 index 0000000..61833fa Binary files /dev/null and b/resources/assets/images/logo-regalette.png differ diff --git a/resources/assets/images/logo.png b/resources/assets/images/logo.png new file mode 100644 index 0000000..547c267 Binary files /dev/null and b/resources/assets/images/logo.png differ diff --git a/resources/assets/images/product/beacon.png b/resources/assets/images/product/beacon.png new file mode 100644 index 0000000..5308221 Binary files /dev/null and b/resources/assets/images/product/beacon.png differ diff --git a/resources/assets/images/product/bg-product-data.jpg b/resources/assets/images/product/bg-product-data.jpg new file mode 100644 index 0000000..0eee62a Binary files /dev/null and b/resources/assets/images/product/bg-product-data.jpg differ diff --git a/resources/assets/images/product/nutriscore-1.png b/resources/assets/images/product/nutriscore-1.png new file mode 100644 index 0000000..0d63ea4 Binary files /dev/null and b/resources/assets/images/product/nutriscore-1.png differ diff --git a/resources/assets/images/product/nutriscore-2.png b/resources/assets/images/product/nutriscore-2.png new file mode 100644 index 0000000..2b6d518 Binary files /dev/null and b/resources/assets/images/product/nutriscore-2.png differ diff --git a/resources/assets/images/product/nutriscore-3.png b/resources/assets/images/product/nutriscore-3.png new file mode 100644 index 0000000..e5e96ee Binary files /dev/null and b/resources/assets/images/product/nutriscore-3.png differ diff --git a/resources/assets/images/product/nutriscore-4.png b/resources/assets/images/product/nutriscore-4.png new file mode 100644 index 0000000..c5c9d7f Binary files /dev/null and b/resources/assets/images/product/nutriscore-4.png differ diff --git a/resources/assets/images/product/nutriscore-5.png b/resources/assets/images/product/nutriscore-5.png new file mode 100644 index 0000000..c4085b8 Binary files /dev/null and b/resources/assets/images/product/nutriscore-5.png differ diff --git a/resources/assets/images/product/slider-arrow.png b/resources/assets/images/product/slider-arrow.png new file mode 100644 index 0000000..0ec203f Binary files /dev/null and b/resources/assets/images/product/slider-arrow.png differ diff --git a/resources/assets/images/ranges/arrow-mobile.png b/resources/assets/images/ranges/arrow-mobile.png new file mode 100644 index 0000000..407cb26 Binary files /dev/null and b/resources/assets/images/ranges/arrow-mobile.png differ diff --git a/resources/assets/images/ranges/picto-flour.png b/resources/assets/images/ranges/picto-flour.png new file mode 100644 index 0000000..b7c3c60 Binary files /dev/null and b/resources/assets/images/ranges/picto-flour.png differ diff --git a/resources/assets/images/ranges/picto-hen.png b/resources/assets/images/ranges/picto-hen.png new file mode 100644 index 0000000..c7e607d Binary files /dev/null and b/resources/assets/images/ranges/picto-hen.png differ diff --git a/resources/assets/images/ranges/picto-milk.png b/resources/assets/images/ranges/picto-milk.png new file mode 100644 index 0000000..959a287 Binary files /dev/null and b/resources/assets/images/ranges/picto-milk.png differ diff --git a/resources/assets/images/ranges/picto-pork.png b/resources/assets/images/ranges/picto-pork.png new file mode 100644 index 0000000..c59ae69 Binary files /dev/null and b/resources/assets/images/ranges/picto-pork.png differ diff --git a/resources/assets/images/ranges/suzette_whithout_items.png b/resources/assets/images/ranges/suzette_whithout_items.png new file mode 100644 index 0000000..758abc8 Binary files /dev/null and b/resources/assets/images/ranges/suzette_whithout_items.png differ diff --git a/resources/assets/images/socials/btn-fb-head.svg b/resources/assets/images/socials/btn-fb-head.svg new file mode 100644 index 0000000..7a95bf3 --- /dev/null +++ b/resources/assets/images/socials/btn-fb-head.svg @@ -0,0 +1,11 @@ + + + + + + + + + + diff --git a/resources/assets/images/socials/btn-it-head.svg b/resources/assets/images/socials/btn-it-head.svg new file mode 100644 index 0000000..d6a723a --- /dev/null +++ b/resources/assets/images/socials/btn-it-head.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + diff --git a/resources/assets/images/socials/btn-lkdin-footer.svg b/resources/assets/images/socials/btn-lkdin-footer.svg new file mode 100644 index 0000000..ddae0d9 --- /dev/null +++ b/resources/assets/images/socials/btn-lkdin-footer.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + diff --git a/resources/favicon/android-chrome-192x192.png b/resources/favicon/android-chrome-192x192.png new file mode 100644 index 0000000..2aea2bb Binary files /dev/null and b/resources/favicon/android-chrome-192x192.png differ diff --git a/resources/favicon/android-chrome-256x256.png b/resources/favicon/android-chrome-256x256.png new file mode 100644 index 0000000..92104ba Binary files /dev/null and b/resources/favicon/android-chrome-256x256.png differ diff --git a/resources/favicon/apple-touch-icon.png b/resources/favicon/apple-touch-icon.png new file mode 100644 index 0000000..baa1687 Binary files /dev/null and b/resources/favicon/apple-touch-icon.png differ diff --git a/resources/favicon/browserconfig.xml b/resources/favicon/browserconfig.xml new file mode 100644 index 0000000..249c5c1 --- /dev/null +++ b/resources/favicon/browserconfig.xml @@ -0,0 +1,9 @@ + + + + + + #ffc40d + + + diff --git a/resources/favicon/favicon-16x16.png b/resources/favicon/favicon-16x16.png new file mode 100644 index 0000000..ce0ca12 Binary files /dev/null and b/resources/favicon/favicon-16x16.png differ diff --git a/resources/favicon/favicon-32x32.png b/resources/favicon/favicon-32x32.png new file mode 100644 index 0000000..1951cbe Binary files /dev/null and b/resources/favicon/favicon-32x32.png differ diff --git a/resources/favicon/favicon.ico b/resources/favicon/favicon.ico new file mode 100644 index 0000000..78cd8da Binary files /dev/null and b/resources/favicon/favicon.ico differ diff --git a/resources/favicon/mstile-150x150.png b/resources/favicon/mstile-150x150.png new file mode 100644 index 0000000..32bf6a8 Binary files /dev/null and b/resources/favicon/mstile-150x150.png differ diff --git a/resources/favicon/safari-pinned-tab.svg b/resources/favicon/safari-pinned-tab.svg new file mode 100644 index 0000000..5456cf3 --- /dev/null +++ b/resources/favicon/safari-pinned-tab.svg @@ -0,0 +1,223 @@ + + + + +Created by potrace 1.14, written by Peter Selinger 2001-2017 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/favicon/site.webmanifest b/resources/favicon/site.webmanifest new file mode 100644 index 0000000..6ef6877 --- /dev/null +++ b/resources/favicon/site.webmanifest @@ -0,0 +1,19 @@ +{ + "name": "Tregalette", + "short_name": "Tregalette", + "icons": [ + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/android-chrome-256x256.png", + "sizes": "256x256", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +} diff --git a/resources/js/vendor/ckeditor/.gitignore b/resources/js/vendor/ckeditor/.gitignore new file mode 100644 index 0000000..3c3629e --- /dev/null +++ b/resources/js/vendor/ckeditor/.gitignore @@ -0,0 +1 @@ +node_modules diff --git a/resources/js/vendor/ckeditor/LICENSE.md b/resources/js/vendor/ckeditor/LICENSE.md new file mode 100644 index 0000000..95eabee --- /dev/null +++ b/resources/js/vendor/ckeditor/LICENSE.md @@ -0,0 +1,49 @@ +Software License Agreement +========================== + +Copyright (c) 2014-2021, CKSource - Frederico Knabben. All rights reserved. + +Online builder code samples are licensed under the terms of the MIT License (see Appendix A): + + http://en.wikipedia.org/wiki/MIT_License + +CKEditor 5 collaboration features are only available under a commercial license. [Contact us](https://ckeditor.com/contact/) for more details. + +Free 30-days trials of CKEditor 5 collaboration features are available: + * https://ckeditor.com/collaboration/ - Real-time collaboration (with all features). + * https://ckeditor.com/collaboration/comments/ - Inline comments feature (without real-time collaborative editing). + * https://ckeditor.com/collaboration/track-changes/ - Track changes feature (without real-time collaborative editing). + +Trademarks +---------- + +CKEditor is a trademark of CKSource - Frederico Knabben. All other brand +and product names are trademarks, registered trademarks or service +marks of their respective holders. + +--- + +Appendix A: The MIT License +--------------------------- + +The MIT License (MIT) + +Copyright (c) 2014-2021, CKSource - Frederico Knabben + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/resources/js/vendor/ckeditor/README.md b/resources/js/vendor/ckeditor/README.md new file mode 100644 index 0000000..9290930 --- /dev/null +++ b/resources/js/vendor/ckeditor/README.md @@ -0,0 +1,68 @@ +# CKEditor 5 editor generated with the online builder + +This repository presents a CKEditor 5 editor build generated by the [Online builder tool](https://ckeditor.com/ckeditor-5/online-builder) + +## Quick start + +1. Open the `sample/index.html` page in the browser. + +If you picked the real-time collaboration plugins: + +2. Fill the dialog with correct token, websocket and upload URL endpoints. If you do not have these yet or do not know their meaning, [contact us](https://ckeditor.com/contact/). + +3. Copy the URL and share it or paste in another tab to enjoy real-time collaborative editing. + +If you picked the non-real-time collaboration plugins: + +2. Fill the prompt with the license key. If you do not have the license key yet [contact us](https://ckeditor.com/contact/). + +## Configuring build + +Changes like changing toolbar items, changing order of icons or customizing plugin configurations should be relatively easy to make. Open the `sample/index.html` file and edit the script that initialized the CKEditor 5. Save the file and refresh the browser. That's all. + +*Note:* If you have any problems with browser caching use the `Ctrl + R` or `Cmd + R` shortcut depending on your system. + +However if you want to remove or add a plugin to the build you need to follow the next step of this guide. + +Note that it is also possible to go back to the [Online builder tool](https://ckeditor.com/ckeditor-5/online-builder) and pick other set of plugins. But we encourage you to try the harder way and to learn the principles of Node.js and CKEditor 5 ecosystems that will allow you to do more cool things in the future! + +### Installation + +In order to rebuild the application you need to install all dependencies first. To do it, open the terminal in the project directory and type: + +``` +npm install +``` + +Make sure that you have the `node` and `npm` installed first. If not, then follow the instructions on the [Node.js documentation page](https://nodejs.org/en/). + +### Adding or removing plugins + +Now you can install additional plugin in the build. Just follow the [Adding a plugin to an editor tutorial](https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/installing-plugins.html#adding-a-plugin-to-an-editor) + +### Rebuilding editor + +If you have already done the [Installation](#installation) and [Adding or removing plugins](#adding-or-removing-plugins) steps, you're ready to rebuild the editor by running the following command: + +``` +npm run build +``` + +This will build the CKEditor 5 to the `build` directory. You can open your browser and you should be able to see the changes you've made in the code. If not, then try to refresh also the browser cache by typing `Ctrl + R` or `Cmd + R` depending on your system. + +## What's next? + +Follow the guides available on https://ckeditor.com/docs/ckeditor5/latest/framework/index.html and enjoy the document editing. + +## FAQ +| Where is the place to report bugs and feature requests? + +You can create an issue on https://github.com/ckeditor/ckeditor5/issues including the build id - `unyb7c61pdjq-xt0bz4ltrghq`. Make sure that the question / problem is unique, please look for a possibly asked questions in the search box. Duplicates will be closed. + +| Where can I learn more about the CKEditor 5 framework? + +Here: https://ckeditor.com/docs/ckeditor5/latest/framework/ + +| Is it possible to use online builder with common frameworks like React, Vue or Angular? + +Not yet, but it these integrations will be available at some point in the future. diff --git a/resources/js/vendor/ckeditor/build/ckeditor.js b/resources/js/vendor/ckeditor/build/ckeditor.js new file mode 100644 index 0000000..c0a6792 --- /dev/null +++ b/resources/js/vendor/ckeditor/build/ckeditor.js @@ -0,0 +1,119819 @@ +(function(d){ const l = d['fr'] = d['fr'] || {}; l.dictionary=Object.assign( l.dictionary||{}, {"%0 of %1":"%0 sur %1",Accept:"","Align cell text to the bottom":"Aligner le texte en bas","Align cell text to the center":"Aligner la cellule au centre","Align cell text to the left":"Aligner la cellule à gauche","Align cell text to the middle":"Aligner le texte au milieu","Align cell text to the right":"Aligner la cellule à droite","Align cell text to the top":"Aligner le texte en haut","Align center":"Centrer","Align left":"Aligner à gauche","Align right":"Aligner à droite","Align table to the left":"Aligner le tableau à gauche","Align table to the right":"Aligner le tableau à droite",Alignment:"Alignement",All:"Tous","Almost equal to":"Presque égal à",Angle:"Angle","Approximately equal to":"Environ égal à",Aquamarine:"Bleu vert",Arrows:"Flèches","Asterisk operator":"Astérisque","Austral sign":"Austral","back with leftwards arrow above":"Précédent avec flèche vers la gauche",Background:"Fond",Big:"Grand","Bitcoin sign":"Bitcoin",Black:"Noir","Block quote":"Citation","Block styles":"Styles de bloc",Blue:"Bleu","Blue marker":"Marqueur bleu",Bold:"Gras",Border:"Bordure","Break text":"Saut de ligne","Bulleted List":"Liste à puces","Bulleted list styles toolbar":"Barre d'outils des styles de liste à puce",Cancel:"Annuler","Caption for image: %0":"Légende de l'image : %0","Caption for the image":"Légende de l'image","Cedi sign":"Cédi","Cell properties":"Propriétés de la cellule","Cent sign":"Centime","Center table":"Centrer le tableau ","Centered image":"Image centrée","Change image text alternative":"Changer le texte alternatif à l’image","Character categories":"Catégories de caractères","Characters: %0":"Caractères : %0","Choose heading":"Choisir l'en-tête",Circle:"Cercle",Code:"Code","Colon sign":"Deux points",Color:"Couleur","Color picker":"Pipette à couleurs",Column:"Colonne","Contains as member":"Contient","Copyright sign":"Copyright","Cruzeiro sign":"Cruzeiro",Currency:"Devise","Currency sign":"Symbole monétaire",Dashed:"Tirets",Decimal:"Chiffres","Decimal with leading zero":"Chiffres avec des zéros supplémentaire","Decrease indent":"Diminuer le retrait",Default:"Par défaut","Degree sign":"Degré","Delete column":"Supprimer la colonne","Delete row":"Supprimer la ligne","Dim grey":"Gris pâle",Dimensions:"Dimensions",Disc:"Disque","Division sign":"Division","Document colors":"Couleurs du document","Dollar sign":"Dollar","Dong sign":"Dong",Dotted:"Pointillés",Double:"Double","Double dagger":"Croix de Lorraine","Double exclamation mark":"Double point d'exclamation","Double low-9 quotation mark":"Guillemet-virgule double inférieur","Double question mark":"Double point d'interrogation",Downloadable:"Fichier téléchargeable","downwards arrow to bar":"Flèche vers le bas avec barre de fin","downwards dashed arrow":"Flèche en pointillés vers le bas","downwards double arrow":"Double flèche vers le bas","downwards simple arrow":"flèche simple vers le bas","Drachma sign":"Drachme","Dropdown toolbar":"Barre d'outils dans un menu déroulant","Edit block":"Modifier le bloc","Edit link":"Modifier le lien","Editor block content toolbar":"Barre d'outils du contenu du bloc éditeur","Editor contextual toolbar":"Barre d'outils contextuelle de l'éditeur","Editor editing area: %0":"Zone d'édition de l'éditeur : %0","Editor toolbar":"Barre d'outils de l'éditeur","Element of":"Appartient à","Em dash":"Tiret long","Empty set":"Élément vide","En dash":"Tiret","end with leftwards arrow above":"Fin avec flèche vers la gauche","Enter image caption":"Saisir la légende de l’image","Enter table caption":"Saisir la légende du tableau","Euro sign":"Euro","Euro-currency sign":"Symbole monétaire de l'euro","Exclamation question mark":"Point exclamation et question",Find:"Rechercher","Find and replace":"Rechercher et remplacer","Find in text…":"Rechercher dans le texte...","Font Background Color":"Couleur d'arrière-plan","Font Color":"Couleur de police","Font Family":"Police","Font Size":"Taille de police","For all":"Pour tout","Fraction slash":"Fraction","French franc sign":"Franc français","Full size image":"Image taille réelle","German penny sign":"Pfennig","Greater-than or equal to":"Signe supérieur ou égal","Greater-than sign":"Signe supérieur",Green:"Vert","Green marker":"Marqueur vert","Green pen":"Crayon vert",Grey:"Gris",Groove:"Rainuré","Guarani sign":"Guarani","Header column":"Colonne d'entête","Header row":"Ligne d'entête",Heading:"En-tête","Heading 1":"Titre 1","Heading 2":"Titre 2","Heading 3":"Titre 3","Heading 4":"Titre 4","Heading 5":"Titre 5","Heading 6":"Titre 6",Height:"Hauteur",HEX:"",Highlight:"Surlignage","Horizontal ellipsis":"Trois points","Horizontal line":"Ligne horizontale","Horizontal text alignment toolbar":"Barre d'outils pour modifier l'alignement horizontal du texte","Hryvnia sign":"Hryvnia","HTML object":"Objet HTML",Huge:"Enorme","Identical to":"Identique à","Image resize list":"Liste des tailles d'images","Image toolbar":"Barre d'outils des images","image widget":"Objet image","In line":"Aligné","Increase indent":"Augmenter le retrait","Indian rupee sign":"Roupie indienne",Infinity:"Infini",Insert:"Insérer","Insert code block":"Insérer un bloc de code","Insert column left":"Insérer une colonne à gauche","Insert column right":"Insérer une colonne à droite","Insert image":"Insérer une image","Insert image via URL":"Insérer une image à partir d'une URL","Insert media":"Insérer un média","Insert paragraph after block":"Insérer du texte après ce bloc","Insert paragraph before block":"Insérer du texte avant ce bloc","Insert row above":"Insérer une ligne au-dessus","Insert row below":"Insérer une ligne en-dessous","Insert table":"Insérer un tableau",Inset:"Relief intérieur",Integral:"Intégrale",Intersection:"Intersection","Inverted exclamation mark":"Point d'exclamation inversé","Inverted question mark":"Point d'interrogation inversé",Italic:"Italique",Justify:"Justifier","Justify cell text":"Justifier le contenu de la cellule","Kip sign":"Kip",Latin:"Latin","Latin capital letter a with breve":"A bref majuscule","Latin capital letter a with macron":"A barre majuscule","Latin capital letter a with ogonek":"A ogonek majuscule","Latin capital letter c with acute":"C accent aigu majuscule","Latin capital letter c with caron":"C caron majuscule","Latin capital letter c with circumflex":"C circonflexe majuscule","Latin capital letter c with dot above":"C point suscrit majuscule","Latin capital letter d with caron":"D caron majuscule","Latin capital letter d with stroke":"D barré majuscule","Latin capital letter e with breve":"E bref majuscule","Latin capital letter e with caron":"E caron majuscule","Latin capital letter e with dot above":"E point suscrit majuscule","Latin capital letter e with macron":"E macron majuscule","Latin capital letter e with ogonek":"E ogonek majuscule","Latin capital letter eng":"Eng majuscule","Latin capital letter g with breve":"G bref majuscule","Latin capital letter g with cedilla":"G cédille majuscule","Latin capital letter g with circumflex":"G accent circonflexe majuscule","Latin capital letter g with dot above":"G point suscrit majuscule","Latin capital letter h with circumflex":"H accent circonflexe majuscule","Latin capital letter h with stroke":"H barré majuscule","Latin capital letter i with breve":"I bref majuscule","Latin capital letter i with dot above":"I point suscrit majuscule","Latin capital letter i with macron":"I macron majuscule","Latin capital letter i with ogonek":"I ogonek majuscule","Latin capital letter i with tilde":"I tilde majuscule","Latin capital letter j with circumflex":"J accent circonflexe majuscule","Latin capital letter k with cedilla":"K cédille majuscule","Latin capital letter l with acute":"L accent aigu majuscule","Latin capital letter l with caron":"L caron majuscule","Latin capital letter l with cedilla":"L cédille majuscule","Latin capital letter l with middle dot":"L point médian majuscule","Latin capital letter l with stroke":"L barré majuscule","Latin capital letter n with acute":"N accent aigu majuscule","Latin capital letter n with caron":"N caron majuscule","Latin capital letter n with cedilla":"N cédille majuscule","Latin capital letter o with breve":"O bref majuscule","Latin capital letter o with double acute":"O double accent aigu majuscule","Latin capital letter o with macron":"O macron majuscule","Latin capital letter r with acute":"R accent aigu majuscule","Latin capital letter r with caron":"R caron majuscule","Latin capital letter r with cedilla":"R cédille majuscule","Latin capital letter s with acute":"S accent aigu majuscule","Latin capital letter s with caron":"S caron majuscule","Latin capital letter s with cedilla":"S cédille majuscule","Latin capital letter s with circumflex":"S circonflexe majuscule","Latin capital letter t with caron":"T caron majuscule","Latin capital letter t with cedilla":"T cédille majuscule","Latin capital letter t with stroke":"T barré majuscule","Latin capital letter u with breve":"U bref majuscule","Latin capital letter u with double acute":"U double accent aigu majuscule","Latin capital letter u with macron":"U macron majuscule","Latin capital letter u with ogonek":"U ogonek majuscule","Latin capital letter u with ring above":"U rond en chef majuscule","Latin capital letter u with tilde":"U tilde majuscule","Latin capital letter w with circumflex":"W circonflexe majuscule","Latin capital letter y with circumflex":"Y circonflexe majuscule","Latin capital letter y with diaeresis":"Y tréma majuscule","Latin capital letter z with acute":"Z accent circonflexe majuscule","Latin capital letter z with caron":"Z caron majuscule","Latin capital letter z with dot above":"Z point suscrit majuscule","Latin capital ligature ij":"Digramme soudé IJ majuscule","Latin capital ligature oe":"O-E entrelacé majuscule","Latin small letter a with breve":"A bref minuscule","Latin small letter a with macron":"A barre minuscule","Latin small letter a with ogonek":"A ogonek minuscule","Latin small letter c with acute":"C accent aigu minuscule","Latin small letter c with caron":"C caron minuscule","Latin small letter c with circumflex":"C circonflexe minuscule","Latin small letter c with dot above":"C point suscrit minuscule","Latin small letter d with caron":"C caron minuscule","Latin small letter d with stroke":"D barré minuscule","Latin small letter dotless i":"I sans point minuscule","Latin small letter e with breve":"E bref minuscule","Latin small letter e with caron":"E caron minuscule","Latin small letter e with dot above":"E point suscrit minuscule","Latin small letter e with macron":"E macron minuscule","Latin small letter e with ogonek":"E ogonek minuscule","Latin small letter eng":"Eng minuscule","Latin small letter f with hook":"Fonction","Latin small letter g with breve":"G bref minuscule","Latin small letter g with cedilla":"G cédille minuscule","Latin small letter g with circumflex":"G accent circonflexe minuscule","Latin small letter g with dot above":"G point suscrit minuscule","Latin small letter h with circumflex":"H accent circonflexe minuscule","Latin small letter h with stroke":"H barré minuscule","Latin small letter i with breve":"I bref minuscule","Latin small letter i with macron":"I macron minuscule","Latin small letter i with ogonek":"I ogonek minuscule","Latin small letter i with tilde":"I tilde minuscule","Latin small letter j with circumflex":"J accent circonflexe minuscule","Latin small letter k with cedilla":"K cédille minuscule","Latin small letter kra":"Kra minuscule","Latin small letter l with acute":"L accent aigu minuscule","Latin small letter l with caron":"L caron minuscule","Latin small letter l with cedilla":"L cédille minuscule","Latin small letter l with middle dot":"L point médian minuscule","Latin small letter l with stroke":"L barré minuscule","Latin small letter long s":"S long minuscule","Latin small letter n preceded by apostrophe":"Apostrophe N minuscule","Latin small letter n with acute":"N accent aigu minuscule","Latin small letter n with caron":"N caron minuscule","Latin small letter n with cedilla":"N cédille minuscule","Latin small letter o with breve":"O bref minuscule","Latin small letter o with double acute":"O double accent aigu minuscule","Latin small letter o with macron":"O macron minuscule","Latin small letter r with acute":"R accent aigu minuscule","Latin small letter r with caron":"R caron minuscule","Latin small letter r with cedilla":"R cédille minuscule","Latin small letter s with acute":"S accent aigu minuscule","Latin small letter s with caron":"S caron minuscule","Latin small letter s with cedilla":"S cédille minuscule","Latin small letter s with circumflex":"S circonflexe minuscule","Latin small letter t with caron":"T caron minuscule","Latin small letter t with cedilla":"T cédille minuscule","Latin small letter t with stroke":"T barré minuscule","Latin small letter u with breve":"U bref minuscule","Latin small letter u with double acute":"U double accent aigu minuscule","Latin small letter u with macron":"U macron minuscule","Latin small letter u with ogonek":"U ogonek minuscule","Latin small letter u with ring above":"U rond en chef minuscule","Latin small letter u with tilde":"U tilde minuscule","Latin small letter w with circumflex":"W circonflexe minuscule","Latin small letter y with circumflex":"Y circonflexe minuscule","Latin small letter z with acute":"Z accent circonflexe minuscule","Latin small letter z with caron":"Z caron minuscule","Latin small letter z with dot above":"Z point suscrit minuscule","Latin small ligature ij":"Digramme soudé IJ minuscule","Latin small ligature oe":"O-E entrelacé minuscule","Left aligned image":"Image alignée à gauche","Left double quotation mark":"Guillemet-apostrophe double culbuté","Left single quotation mark":"Guillemet-apostrophe culbuté","Left-pointing double angle quotation mark":"Guillemet double vers la gauche","leftwards arrow to bar":"Flèche vers la gauche avec barre de fin","leftwards dashed arrow":"Flèche en pointillés vers la gauche","leftwards double arrow":"Double flèche vers la gauche","leftwards simple arrow":"flèche simple vers la gauche","Less-than or equal to":"Signe inférieur ou égal","Less-than sign":"Signe inférieur","Light blue":"Bleu clair","Light green":"Vert clair","Light grey":"Gris clair",Link:"Lien","Link image":"Lien d'image","Link URL":"URL du lien","Lira sign":"Lire","List properties":"Liste des propriétés","Livre tournois sign":"Livre tournois","Logical and":"Et logique","Logical or":"Ou logique","Lower-latin":"Lettres minuscules","Lower–roman":"Chiffres romains en minuscules",Macron:"Macron","Manat sign":"Manat","Match case":"Sensible à la casse",Mathematical:"Mathématique","Media URL":"URL de média","media widget":"Widget média","Merge cell down":"Fusionner la cellule en-dessous","Merge cell left":"Fusionner la cellule à gauche","Merge cell right":"Fusionner la cellule à droite","Merge cell up":"Fusionner la cellule au-dessus","Merge cells":"Fusionner les cellules","Mill sign":"Moulin","Minus sign":"Moins","Multiple styles":"Styles multiples","Multiplication sign":"Multiplication","N-ary product":"Produit","N-ary summation":"Somme",Nabla:"Nabla","Naira sign":"Naira","New sheqel sign":"Shekel",Next:"Suivant","Next result":"Résultat suivant",None:"Aucun","Nordic mark sign":"Mark nordique","Not an element of":"N'appartient pas à","Not equal to":"Différent de","Not sign":"Négation logique","Numbered List":"Liste numérotée","Numbered list styles toolbar":"Barre d'outils des styles de liste numérotée","on with exclamation mark with left right arrow above":"Allumé avec flèches vers la gauche et la droite","Open in a new tab":"Ouvrir dans un nouvel onglet","Open link in new tab":"Ouvrir le lien dans un nouvel onglet","Open media in new tab":"Ouvrir le média dans un nouvel onglet",Orange:"Orange",Original:"Taille originale",Outset:"Relief extérieur",Overline:"Macron long",Padding:"Remplissage pour aérer le texte",Paragraph:"Paragraphe","Paragraph sign":"Fin de paragraphe","Partial differential":"Partiellement différent","Paste the media URL in the input.":"Coller l'URL du média","Per mille sign":"Pour mille","Per ten thousand sign":"Pour dix milles","Peseta sign":"Peseta","Peso sign":"Peso","Pink marker":"Marqueur rose","Plain text":"Texte brut","Plus-minus sign":"Plus ou moins","Pound sign":"Livre sterling","Press Enter to type after or press Shift + Enter to type before the widget":"Appuyez sur la touche Entrée pour taper après ou sur Maj + Entrée pour taper avant le widget.",Previous:"Précedent","Previous result":"Résultat précédent","Proportional to":"Proportionnel à",Purple:"Violet","Question exclamation mark":"Point d'interrogation et exclamation",Red:"Rouge","Red pen":"Crayon rouge",Redo:"Restaurer","Registered sign":"Registered","Remove color":"Enlever la couleur","Remove Format":"Enlever le format","Remove highlight":"Enlever le surlignage",Replace:"Remplacer","Replace all":"Remplacer tout","Replace with…":"Remplacer par ...","Resize image":"Redimensionner l'image","Resize image to %0":"Redimensionner à %0","Resize image to the original size":"Appliquer les dimensions d'origine","Restore default":"Restaurer par défaut","Reversed order":"Ordre inversé","Reversed paragraph sign":"Fin de paragraphe inversé","Rich Text Editor":"Éditeur de texte enrichi",Ridge:"Relief","Right aligned image":"Image alignée à droite","Right double quotation mark":"Guillemet-apostrophe double","Right single quotation mark":"Guillemet-apostrophe","Right-pointing double angle quotation mark":"Guillemet double vers la droite","rightwards arrow to bar":"Flèche vers la droite avec barre de fin","rightwards dashed arrow":"Flèche en pointillés vers la droite","rightwards double arrow":"Double flèche vers la droite","rightwards simple arrow":"flèche simple vers la droite",Row:"Ligne","Ruble sign":"Rouble","Rupee sign":"Roupie",Save:"Enregistrer","Section sign":"Paragraphe","Select all":"Sélectionner tout","Select column":"Sélectionner la colonne","Select row":"Sélectionner la ligne","Show more items":"Montrer plus d'éléments","Show options":"Afficher les options","Side image":"Image latérale","Single left-pointing angle quotation mark":"Guillemet simple vers la gauche","Single low-9 quotation mark":"Guillemet-virgule inférieur","Single right-pointing angle quotation mark":"Guillemet simple vers la droite",Small:"Petit",Solid:"Continu","soon with rightwards arrow above":"Bientôt avec flèche vers la droite",Source:"Source","Special characters":"Caractères spéciaux","Spesmilo sign":"Spesmilo","Split cell horizontally":"Scinder la cellule horizontalement","Split cell vertically":"Scinder la cellule verticalement",Square:"Carré","Square root":"Racine carrée","Start at":"Commencer à","Start index must be greater than 0.":"L'indice de départ doit être supérieur à 0.",Strikethrough:"Barré",Style:"Style",Styles:"Styles","Table alignment toolbar":"Barre d'outils pour modifier l'alignement du tableau","Table cell text alignment":"Alignement du texte de la cellule","Table properties":"Propriétés du tableau","Table toolbar":"Barre d'outils des tableaux","Tenge sign":"Tenge",Text:"Texte","Text alignment":"Alignement du texte","Text alignment toolbar":"Barre d'outils d'alignement du texte","Text alternative":"Texte alternatif","Text highlight toolbar":"Barre d'outils du surlignage","Text styles":"Styles de texte","Text to find must not be empty.":"L'expression à rechercher ne doit pas être vide","The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".":"La couleur est invalide. Essayez \"#FF0000\" ou \"rgb(255,0,0)\" ou \"red\".","The URL must not be empty.":"L'URL ne doit pas être vide.","The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".":"La valeur est invalide. Essayez \"10px\" ou \"2em\" ou simplement \"2\".","There exists":"Existe","This link has no URL":"Ce lien n'a pas d'URL","This media URL is not supported.":"Cette URL de média n'est pas supportée.","Tilde operator":"Tilde",Tiny:"Minuscule","Tip: Find some text first in order to replace it.":"Astuce : rechercher une expression afin de la remplacer","Tip: Paste the URL into the content to embed faster.":"Astuce : Copier l'URL du média dans le contenu pour l'insérer plus rapidement","Toggle caption off":"Désactiver la légende","Toggle caption on":"Activer la légende","Toggle the circle list style":"Activer / désactiver le style de liste \"cercle\"","Toggle the decimal list style":"Activer / désactiver le style de liste \"chiffres\"","Toggle the decimal with leading zero list style":"Activer / désactiver le style de liste \"chiffres de mêmes longueurs\"","Toggle the disc list style":"Activer / désactiver le style de liste \"disque\"","Toggle the lower–latin list style":"Activer / désactiver le style de liste \"lettres minuscules\"","Toggle the lower–roman list style":"Activer / désactiver le style de liste \"chiffres romains en minuscules\"","Toggle the square list style":"Activer / désactiver le style de liste \"carré\"","Toggle the upper–latin list style":"Activer / désactiver le style de liste \"lettres majuscules\"","Toggle the upper–roman list style":"Activer / désactiver le style de liste \"chiffres romains en majuscules\"","top with upwards arrow above":"Haut avec flèche vers le haut","Trade mark sign":"Marque déposée","Tugrik sign":"Tugrik","Turkish lira sign":"Lire turque",Turquoise:"Turquoise","Two dot leader":"Deux points",Underline:"Souligné",Undo:"Annuler",Union:"Union",Unlink:"Supprimer le lien","up down arrow with base":"Flèche haut et bas avec barre de fin",Update:"Modifier","Update image URL":"Modifier l'URL de l'image","Upload failed":"Échec de l'envoi","Upload in progress":"Téléchargement en cours","Upper-latin":"Lettres majuscules","Upper-roman":"Chiffres romains en majuscules","upwards arrow to bar":"Flèche vers le haut avec barre de fin","upwards dashed arrow":"Flèche en pointillés vers le haut","upwards double arrow":"Double flèche vers le haut","upwards simple arrow":"flèche simple vers le haut","Vertical text alignment toolbar":"Barre d'outils pour modifier l'alignement vertical du texte","Vulgar fraction one half":"Un demi","Vulgar fraction one quarter":"Un quart","Vulgar fraction three quarters":"Trois quarts",White:"Blanc","Whole words only":"Mots entiers uniquement","Widget toolbar":"Barre d'outils du widget",Width:"Largeur","Won sign":"Won","Words: %0":"Mots : %0","Wrap text":"Retour à la ligne",Yellow:"Jaune","Yellow marker":"Marqueur jaune","Yen sign":"Yen"} );l.getPluralForm=function(n){return (n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;;};})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); +/*! + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md. + */ +(function webpackUniversalModuleDefinition(root, factory) { + if(typeof exports === 'object' && typeof module === 'object') + module.exports = factory(); + else if(typeof define === 'function' && define.amd) + define([], factory); + else if(typeof exports === 'object') + exports["ClassicEditor"] = factory(); + else + root["ClassicEditor"] = factory(); +})(self, () => { +return /******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ 525: +/***/ (function(module) { + +/*! +* sweetalert2 v11.6.5 +* Released under the MIT License. +*/ +(function (global, factory) { + true ? module.exports = factory() : + 0; +})(this, (function () { 'use strict'; + + /** + * This module contains `WeakMap`s for each effectively-"private property" that a `Swal` has. + * For example, to set the private property "foo" of `this` to "bar", you can `privateProps.foo.set(this, 'bar')` + * This is the approach that Babel will probably take to implement private methods/fields + * https://github.com/tc39/proposal-private-methods + * https://github.com/babel/babel/pull/7555 + * Once we have the changes from that PR in Babel, and our core class fits reasonable in *one module* + * then we can use that language feature. + */ + + var privateProps = { + awaitingPromise: new WeakMap(), + promise: new WeakMap(), + innerParams: new WeakMap(), + domCache: new WeakMap() + }; + + const swalPrefix = 'swal2-'; + + /** + * @param {string[]} items + * @returns {object} + */ + const prefix = items => { + const result = {}; + for (const i in items) { + result[items[i]] = swalPrefix + items[i]; + } + return result; + }; + const swalClasses = prefix(['container', 'shown', 'height-auto', 'iosfix', 'popup', 'modal', 'no-backdrop', 'no-transition', 'toast', 'toast-shown', 'show', 'hide', 'close', 'title', 'html-container', 'actions', 'confirm', 'deny', 'cancel', 'default-outline', 'footer', 'icon', 'icon-content', 'image', 'input', 'file', 'range', 'select', 'radio', 'checkbox', 'label', 'textarea', 'inputerror', 'input-label', 'validation-message', 'progress-steps', 'active-progress-step', 'progress-step', 'progress-step-line', 'loader', 'loading', 'styled', 'top', 'top-start', 'top-end', 'top-left', 'top-right', 'center', 'center-start', 'center-end', 'center-left', 'center-right', 'bottom', 'bottom-start', 'bottom-end', 'bottom-left', 'bottom-right', 'grow-row', 'grow-column', 'grow-fullscreen', 'rtl', 'timer-progress-bar', 'timer-progress-bar-container', 'scrollbar-measure', 'icon-success', 'icon-warning', 'icon-info', 'icon-question', 'icon-error', 'no-war']); + const iconTypes = prefix(['success', 'warning', 'info', 'question', 'error']); + + const consolePrefix = 'SweetAlert2:'; + + /** + * Filter the unique values into a new array + * + * @param {Array} arr + * @returns {Array} + */ + const uniqueArray = arr => { + const result = []; + for (let i = 0; i < arr.length; i++) { + if (result.indexOf(arr[i]) === -1) { + result.push(arr[i]); + } + } + return result; + }; + + /** + * Capitalize the first letter of a string + * + * @param {string} str + * @returns {string} + */ + const capitalizeFirstLetter = str => str.charAt(0).toUpperCase() + str.slice(1); + + /** + * Standardize console warnings + * + * @param {string | Array} message + */ + const warn = message => { + console.warn(`${consolePrefix} ${typeof message === 'object' ? message.join(' ') : message}`); + }; + + /** + * Standardize console errors + * + * @param {string} message + */ + const error = message => { + console.error(`${consolePrefix} ${message}`); + }; + + /** + * Private global state for `warnOnce` + * + * @type {Array} + * @private + */ + const previousWarnOnceMessages = []; + + /** + * Show a console warning, but only if it hasn't already been shown + * + * @param {string} message + */ + const warnOnce = message => { + if (!previousWarnOnceMessages.includes(message)) { + previousWarnOnceMessages.push(message); + warn(message); + } + }; + + /** + * Show a one-time console warning about deprecated params/methods + * + * @param {string} deprecatedParam + * @param {string} useInstead + */ + const warnAboutDeprecation = (deprecatedParam, useInstead) => { + warnOnce(`"${deprecatedParam}" is deprecated and will be removed in the next major release. Please use "${useInstead}" instead.`); + }; + + /** + * If `arg` is a function, call it (with no arguments or context) and return the result. + * Otherwise, just pass the value through + * + * @param {Function | any} arg + * @returns {any} + */ + const callIfFunction = arg => typeof arg === 'function' ? arg() : arg; + + /** + * @param {any} arg + * @returns {boolean} + */ + const hasToPromiseFn = arg => arg && typeof arg.toPromise === 'function'; + + /** + * @param {any} arg + * @returns {Promise} + */ + const asPromise = arg => hasToPromiseFn(arg) ? arg.toPromise() : Promise.resolve(arg); + + /** + * @param {any} arg + * @returns {boolean} + */ + const isPromise = arg => arg && Promise.resolve(arg) === arg; + + /** + * Gets the popup container which contains the backdrop and the popup itself. + * + * @returns {HTMLElement | null} + */ + const getContainer = () => document.body.querySelector(`.${swalClasses.container}`); + + /** + * @param {string} selectorString + * @returns {HTMLElement | null} + */ + const elementBySelector = selectorString => { + const container = getContainer(); + return container ? container.querySelector(selectorString) : null; + }; + + /** + * @param {string} className + * @returns {HTMLElement | null} + */ + const elementByClass = className => { + return elementBySelector(`.${className}`); + }; + + /** + * @returns {HTMLElement | null} + */ + const getPopup = () => elementByClass(swalClasses.popup); + + /** + * @returns {HTMLElement | null} + */ + const getIcon = () => elementByClass(swalClasses.icon); + + /** + * @returns {HTMLElement | null} + */ + const getIconContent = () => elementByClass(swalClasses['icon-content']); + + /** + * @returns {HTMLElement | null} + */ + const getTitle = () => elementByClass(swalClasses.title); + + /** + * @returns {HTMLElement | null} + */ + const getHtmlContainer = () => elementByClass(swalClasses['html-container']); + + /** + * @returns {HTMLElement | null} + */ + const getImage = () => elementByClass(swalClasses.image); + + /** + * @returns {HTMLElement | null} + */ + const getProgressSteps$1 = () => elementByClass(swalClasses['progress-steps']); + + /** + * @returns {HTMLElement | null} + */ + const getValidationMessage = () => elementByClass(swalClasses['validation-message']); + + /** + * @returns {HTMLElement | null} + */ + const getConfirmButton = () => elementBySelector(`.${swalClasses.actions} .${swalClasses.confirm}`); + + /** + * @returns {HTMLElement | null} + */ + const getDenyButton = () => elementBySelector(`.${swalClasses.actions} .${swalClasses.deny}`); + + /** + * @returns {HTMLElement | null} + */ + const getInputLabel = () => elementByClass(swalClasses['input-label']); + + /** + * @returns {HTMLElement | null} + */ + const getLoader = () => elementBySelector(`.${swalClasses.loader}`); + + /** + * @returns {HTMLElement | null} + */ + const getCancelButton = () => elementBySelector(`.${swalClasses.actions} .${swalClasses.cancel}`); + + /** + * @returns {HTMLElement | null} + */ + const getActions = () => elementByClass(swalClasses.actions); + + /** + * @returns {HTMLElement | null} + */ + const getFooter = () => elementByClass(swalClasses.footer); + + /** + * @returns {HTMLElement | null} + */ + const getTimerProgressBar = () => elementByClass(swalClasses['timer-progress-bar']); + + /** + * @returns {HTMLElement | null} + */ + const getCloseButton = () => elementByClass(swalClasses.close); + + // https://github.com/jkup/focusable/blob/master/index.js + const focusable = ` + a[href], + area[href], + input:not([disabled]), + select:not([disabled]), + textarea:not([disabled]), + button:not([disabled]), + iframe, + object, + embed, + [tabindex="0"], + [contenteditable], + audio[controls], + video[controls], + summary +`; + /** + * @returns {HTMLElement[]} + */ + const getFocusableElements = () => { + const focusableElementsWithTabindex = Array.from(getPopup().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')) + // sort according to tabindex + .sort((a, b) => { + const tabindexA = parseInt(a.getAttribute('tabindex')); + const tabindexB = parseInt(b.getAttribute('tabindex')); + if (tabindexA > tabindexB) { + return 1; + } else if (tabindexA < tabindexB) { + return -1; + } + return 0; + }); + const otherFocusableElements = Array.from(getPopup().querySelectorAll(focusable)).filter(el => el.getAttribute('tabindex') !== '-1'); + return uniqueArray(focusableElementsWithTabindex.concat(otherFocusableElements)).filter(el => isVisible$1(el)); + }; + + /** + * @returns {boolean} + */ + const isModal = () => { + return hasClass(document.body, swalClasses.shown) && !hasClass(document.body, swalClasses['toast-shown']) && !hasClass(document.body, swalClasses['no-backdrop']); + }; + + /** + * @returns {boolean} + */ + const isToast = () => { + return getPopup() && hasClass(getPopup(), swalClasses.toast); + }; + + /** + * @returns {boolean} + */ + const isLoading = () => { + return getPopup().hasAttribute('data-loading'); + }; + + // Remember state in cases where opening and handling a modal will fiddle with it. + const states = { + previousBodyPadding: null + }; + + /** + * Securely set innerHTML of an element + * https://github.com/sweetalert2/sweetalert2/issues/1926 + * + * @param {HTMLElement} elem + * @param {string} html + */ + const setInnerHtml = (elem, html) => { + elem.textContent = ''; + if (html) { + const parser = new DOMParser(); + const parsed = parser.parseFromString(html, `text/html`); + Array.from(parsed.querySelector('head').childNodes).forEach(child => { + elem.appendChild(child); + }); + Array.from(parsed.querySelector('body').childNodes).forEach(child => { + if (child instanceof HTMLVideoElement || child instanceof HTMLAudioElement) { + elem.appendChild(child.cloneNode(true)); // https://github.com/sweetalert2/sweetalert2/issues/2507 + } else { + elem.appendChild(child); + } + }); + } + }; + + /** + * @param {HTMLElement} elem + * @param {string} className + * @returns {boolean} + */ + const hasClass = (elem, className) => { + if (!className) { + return false; + } + const classList = className.split(/\s+/); + for (let i = 0; i < classList.length; i++) { + if (!elem.classList.contains(classList[i])) { + return false; + } + } + return true; + }; + + /** + * @param {HTMLElement} elem + * @param {SweetAlertOptions} params + */ + const removeCustomClasses = (elem, params) => { + Array.from(elem.classList).forEach(className => { + if (!Object.values(swalClasses).includes(className) && !Object.values(iconTypes).includes(className) && !Object.values(params.showClass).includes(className)) { + elem.classList.remove(className); + } + }); + }; + + /** + * @param {HTMLElement} elem + * @param {SweetAlertOptions} params + * @param {string} className + */ + const applyCustomClass = (elem, params, className) => { + removeCustomClasses(elem, params); + if (params.customClass && params.customClass[className]) { + if (typeof params.customClass[className] !== 'string' && !params.customClass[className].forEach) { + warn(`Invalid type of customClass.${className}! Expected string or iterable object, got "${typeof params.customClass[className]}"`); + return; + } + addClass(elem, params.customClass[className]); + } + }; + + /** + * @param {HTMLElement} popup + * @param {import('./renderers/renderInput').InputClass} inputClass + * @returns {HTMLInputElement | null} + */ + const getInput$1 = (popup, inputClass) => { + if (!inputClass) { + return null; + } + switch (inputClass) { + case 'select': + case 'textarea': + case 'file': + return popup.querySelector(`.${swalClasses.popup} > .${swalClasses[inputClass]}`); + case 'checkbox': + return popup.querySelector(`.${swalClasses.popup} > .${swalClasses.checkbox} input`); + case 'radio': + return popup.querySelector(`.${swalClasses.popup} > .${swalClasses.radio} input:checked`) || popup.querySelector(`.${swalClasses.popup} > .${swalClasses.radio} input:first-child`); + case 'range': + return popup.querySelector(`.${swalClasses.popup} > .${swalClasses.range} input`); + default: + return popup.querySelector(`.${swalClasses.popup} > .${swalClasses.input}`); + } + }; + + /** + * @param {HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement} input + */ + const focusInput = input => { + input.focus(); + + // place cursor at end of text in text input + if (input.type !== 'file') { + // http://stackoverflow.com/a/2345915 + const val = input.value; + input.value = ''; + input.value = val; + } + }; + + /** + * @param {HTMLElement | HTMLElement[] | null} target + * @param {string | string[] | readonly string[]} classList + * @param {boolean} condition + */ + const toggleClass = (target, classList, condition) => { + if (!target || !classList) { + return; + } + if (typeof classList === 'string') { + classList = classList.split(/\s+/).filter(Boolean); + } + classList.forEach(className => { + if (Array.isArray(target)) { + target.forEach(elem => { + condition ? elem.classList.add(className) : elem.classList.remove(className); + }); + } else { + condition ? target.classList.add(className) : target.classList.remove(className); + } + }); + }; + + /** + * @param {HTMLElement | HTMLElement[] | null} target + * @param {string | string[] | readonly string[]} classList + */ + const addClass = (target, classList) => { + toggleClass(target, classList, true); + }; + + /** + * @param {HTMLElement | HTMLElement[] | null} target + * @param {string | string[] | readonly string[]} classList + */ + const removeClass = (target, classList) => { + toggleClass(target, classList, false); + }; + + /** + * Get direct child of an element by class name + * + * @param {HTMLElement} elem + * @param {string} className + * @returns {HTMLElement | null} + */ + const getDirectChildByClass = (elem, className) => { + const children = Array.from(elem.children); + for (let i = 0; i < children.length; i++) { + const child = children[i]; + if (child instanceof HTMLElement && hasClass(child, className)) { + return child; + } + } + }; + + /** + * @param {HTMLElement} elem + * @param {string} property + * @param {*} value + */ + const applyNumericalStyle = (elem, property, value) => { + if (value === `${parseInt(value)}`) { + value = parseInt(value); + } + if (value || parseInt(value) === 0) { + elem.style[property] = typeof value === 'number' ? `${value}px` : value; + } else { + elem.style.removeProperty(property); + } + }; + + /** + * @param {HTMLElement} elem + * @param {string} display + */ + const show = function (elem) { + let display = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'flex'; + elem.style.display = display; + }; + + /** + * @param {HTMLElement} elem + */ + const hide = elem => { + elem.style.display = 'none'; + }; + + /** + * @param {HTMLElement} parent + * @param {string} selector + * @param {string} property + * @param {string} value + */ + const setStyle = (parent, selector, property, value) => { + /** @type {HTMLElement} */ + const el = parent.querySelector(selector); + if (el) { + el.style[property] = value; + } + }; + + /** + * @param {HTMLElement} elem + * @param {any} condition + * @param {string} display + */ + const toggle = function (elem, condition) { + let display = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'flex'; + condition ? show(elem, display) : hide(elem); + }; + + /** + * borrowed from jquery $(elem).is(':visible') implementation + * + * @param {HTMLElement} elem + * @returns {boolean} + */ + const isVisible$1 = elem => !!(elem && (elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length)); + + /** + * @returns {boolean} + */ + const allButtonsAreHidden = () => !isVisible$1(getConfirmButton()) && !isVisible$1(getDenyButton()) && !isVisible$1(getCancelButton()); + + /** + * @param {HTMLElement} elem + * @returns {boolean} + */ + const isScrollable = elem => !!(elem.scrollHeight > elem.clientHeight); + + /** + * borrowed from https://stackoverflow.com/a/46352119 + * + * @param {HTMLElement} elem + * @returns {boolean} + */ + const hasCssAnimation = elem => { + const style = window.getComputedStyle(elem); + const animDuration = parseFloat(style.getPropertyValue('animation-duration') || '0'); + const transDuration = parseFloat(style.getPropertyValue('transition-duration') || '0'); + return animDuration > 0 || transDuration > 0; + }; + + /** + * @param {number} timer + * @param {boolean} reset + */ + const animateTimerProgressBar = function (timer) { + let reset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + const timerProgressBar = getTimerProgressBar(); + if (isVisible$1(timerProgressBar)) { + if (reset) { + timerProgressBar.style.transition = 'none'; + timerProgressBar.style.width = '100%'; + } + setTimeout(() => { + timerProgressBar.style.transition = `width ${timer / 1000}s linear`; + timerProgressBar.style.width = '0%'; + }, 10); + } + }; + const stopTimerProgressBar = () => { + const timerProgressBar = getTimerProgressBar(); + const timerProgressBarWidth = parseInt(window.getComputedStyle(timerProgressBar).width); + timerProgressBar.style.removeProperty('transition'); + timerProgressBar.style.width = '100%'; + const timerProgressBarFullWidth = parseInt(window.getComputedStyle(timerProgressBar).width); + const timerProgressBarPercent = timerProgressBarWidth / timerProgressBarFullWidth * 100; + timerProgressBar.style.removeProperty('transition'); + timerProgressBar.style.width = `${timerProgressBarPercent}%`; + }; + + const RESTORE_FOCUS_TIMEOUT = 100; + + /** @type {GlobalState} */ + const globalState = {}; + const focusPreviousActiveElement = () => { + if (globalState.previousActiveElement instanceof HTMLElement) { + globalState.previousActiveElement.focus(); + globalState.previousActiveElement = null; + } else if (document.body) { + document.body.focus(); + } + }; + + /** + * Restore previous active (focused) element + * + * @param {boolean} returnFocus + * @returns {Promise} + */ + const restoreActiveElement = returnFocus => { + return new Promise(resolve => { + if (!returnFocus) { + return resolve(); + } + const x = window.scrollX; + const y = window.scrollY; + globalState.restoreFocusTimeout = setTimeout(() => { + focusPreviousActiveElement(); + resolve(); + }, RESTORE_FOCUS_TIMEOUT); // issues/900 + + window.scrollTo(x, y); + }); + }; + + /** + * Detect Node env + * + * @returns {boolean} + */ + const isNodeEnv = () => typeof window === 'undefined' || typeof document === 'undefined'; + + const sweetHTML = ` +
                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                            +`.replace(/(^|\n)\s*/g, ''); + + /** + * @returns {boolean} + */ + const resetOldContainer = () => { + const oldContainer = getContainer(); + if (!oldContainer) { + return false; + } + oldContainer.remove(); + removeClass([document.documentElement, document.body], [swalClasses['no-backdrop'], swalClasses['toast-shown'], swalClasses['has-column']]); + return true; + }; + const resetValidationMessage$1 = () => { + globalState.currentInstance.resetValidationMessage(); + }; + const addInputChangeListeners = () => { + const popup = getPopup(); + const input = getDirectChildByClass(popup, swalClasses.input); + const file = getDirectChildByClass(popup, swalClasses.file); + /** @type {HTMLInputElement} */ + const range = popup.querySelector(`.${swalClasses.range} input`); + /** @type {HTMLOutputElement} */ + const rangeOutput = popup.querySelector(`.${swalClasses.range} output`); + const select = getDirectChildByClass(popup, swalClasses.select); + /** @type {HTMLInputElement} */ + const checkbox = popup.querySelector(`.${swalClasses.checkbox} input`); + const textarea = getDirectChildByClass(popup, swalClasses.textarea); + input.oninput = resetValidationMessage$1; + file.onchange = resetValidationMessage$1; + select.onchange = resetValidationMessage$1; + checkbox.onchange = resetValidationMessage$1; + textarea.oninput = resetValidationMessage$1; + range.oninput = () => { + resetValidationMessage$1(); + rangeOutput.value = range.value; + }; + range.onchange = () => { + resetValidationMessage$1(); + rangeOutput.value = range.value; + }; + }; + + /** + * @param {string | HTMLElement} target + * @returns {HTMLElement} + */ + const getTarget = target => typeof target === 'string' ? document.querySelector(target) : target; + + /** + * @param {SweetAlertOptions} params + */ + const setupAccessibility = params => { + const popup = getPopup(); + popup.setAttribute('role', params.toast ? 'alert' : 'dialog'); + popup.setAttribute('aria-live', params.toast ? 'polite' : 'assertive'); + if (!params.toast) { + popup.setAttribute('aria-modal', 'true'); + } + }; + + /** + * @param {HTMLElement} targetElement + */ + const setupRTL = targetElement => { + if (window.getComputedStyle(targetElement).direction === 'rtl') { + addClass(getContainer(), swalClasses.rtl); + } + }; + + /** + * Add modal + backdrop + no-war message for Russians to DOM + * + * @param {SweetAlertOptions} params + */ + const init = params => { + // Clean up the old popup container if it exists + const oldContainerExisted = resetOldContainer(); + + /* istanbul ignore if */ + if (isNodeEnv()) { + error('SweetAlert2 requires document to initialize'); + return; + } + const container = document.createElement('div'); + container.className = swalClasses.container; + if (oldContainerExisted) { + addClass(container, swalClasses['no-transition']); + } + setInnerHtml(container, sweetHTML); + const targetElement = getTarget(params.target); + targetElement.appendChild(container); + setupAccessibility(params); + setupRTL(targetElement); + addInputChangeListeners(); + }; + + /** + * @param {HTMLElement | object | string} param + * @param {HTMLElement} target + */ + const parseHtmlToContainer = (param, target) => { + // DOM element + if (param instanceof HTMLElement) { + target.appendChild(param); + } + + // Object + else if (typeof param === 'object') { + handleObject(param, target); + } + + // Plain string + else if (param) { + setInnerHtml(target, param); + } + }; + + /** + * @param {object} param + * @param {HTMLElement} target + */ + const handleObject = (param, target) => { + // JQuery element(s) + if (param.jquery) { + handleJqueryElem(target, param); + } + + // For other objects use their string representation + else { + setInnerHtml(target, param.toString()); + } + }; + + /** + * @param {HTMLElement} target + * @param {HTMLElement} elem + */ + const handleJqueryElem = (target, elem) => { + target.textContent = ''; + if (0 in elem) { + for (let i = 0; (i in elem); i++) { + target.appendChild(elem[i].cloneNode(true)); + } + } else { + target.appendChild(elem.cloneNode(true)); + } + }; + + /** + * @returns {'webkitAnimationEnd' | 'animationend' | false} + */ + const animationEndEvent = (() => { + // Prevent run in Node env + /* istanbul ignore if */ + if (isNodeEnv()) { + return false; + } + const testEl = document.createElement('div'); + const transEndEventNames = { + WebkitAnimation: 'webkitAnimationEnd', + // Chrome, Safari and Opera + animation: 'animationend' // Standard syntax + }; + + for (const i in transEndEventNames) { + if (Object.prototype.hasOwnProperty.call(transEndEventNames, i) && typeof testEl.style[i] !== 'undefined') { + return transEndEventNames[i]; + } + } + return false; + })(); + + /** + * Measure scrollbar width for padding body during modal show/hide + * https://github.com/twbs/bootstrap/blob/master/js/src/modal.js + * + * @returns {number} + */ + const measureScrollbar = () => { + const scrollDiv = document.createElement('div'); + scrollDiv.className = swalClasses['scrollbar-measure']; + document.body.appendChild(scrollDiv); + const scrollbarWidth = scrollDiv.getBoundingClientRect().width - scrollDiv.clientWidth; + document.body.removeChild(scrollDiv); + return scrollbarWidth; + }; + + /** + * @param {SweetAlert2} instance + * @param {SweetAlertOptions} params + */ + const renderActions = (instance, params) => { + const actions = getActions(); + const loader = getLoader(); + + // Actions (buttons) wrapper + if (!params.showConfirmButton && !params.showDenyButton && !params.showCancelButton) { + hide(actions); + } else { + show(actions); + } + + // Custom class + applyCustomClass(actions, params, 'actions'); + + // Render all the buttons + renderButtons(actions, loader, params); + + // Loader + setInnerHtml(loader, params.loaderHtml); + applyCustomClass(loader, params, 'loader'); + }; + + /** + * @param {HTMLElement} actions + * @param {HTMLElement} loader + * @param {SweetAlertOptions} params + */ + function renderButtons(actions, loader, params) { + const confirmButton = getConfirmButton(); + const denyButton = getDenyButton(); + const cancelButton = getCancelButton(); + + // Render buttons + renderButton(confirmButton, 'confirm', params); + renderButton(denyButton, 'deny', params); + renderButton(cancelButton, 'cancel', params); + handleButtonsStyling(confirmButton, denyButton, cancelButton, params); + if (params.reverseButtons) { + if (params.toast) { + actions.insertBefore(cancelButton, confirmButton); + actions.insertBefore(denyButton, confirmButton); + } else { + actions.insertBefore(cancelButton, loader); + actions.insertBefore(denyButton, loader); + actions.insertBefore(confirmButton, loader); + } + } + } + + /** + * @param {HTMLElement} confirmButton + * @param {HTMLElement} denyButton + * @param {HTMLElement} cancelButton + * @param {SweetAlertOptions} params + */ + function handleButtonsStyling(confirmButton, denyButton, cancelButton, params) { + if (!params.buttonsStyling) { + removeClass([confirmButton, denyButton, cancelButton], swalClasses.styled); + return; + } + addClass([confirmButton, denyButton, cancelButton], swalClasses.styled); + + // Buttons background colors + if (params.confirmButtonColor) { + confirmButton.style.backgroundColor = params.confirmButtonColor; + addClass(confirmButton, swalClasses['default-outline']); + } + if (params.denyButtonColor) { + denyButton.style.backgroundColor = params.denyButtonColor; + addClass(denyButton, swalClasses['default-outline']); + } + if (params.cancelButtonColor) { + cancelButton.style.backgroundColor = params.cancelButtonColor; + addClass(cancelButton, swalClasses['default-outline']); + } + } + + /** + * @param {HTMLElement} button + * @param {'confirm' | 'deny' | 'cancel'} buttonType + * @param {SweetAlertOptions} params + */ + function renderButton(button, buttonType, params) { + toggle(button, params[`show${capitalizeFirstLetter(buttonType)}Button`], 'inline-block'); + setInnerHtml(button, params[`${buttonType}ButtonText`]); // Set caption text + button.setAttribute('aria-label', params[`${buttonType}ButtonAriaLabel`]); // ARIA label + + // Add buttons custom classes + button.className = swalClasses[buttonType]; + applyCustomClass(button, params, `${buttonType}Button`); + addClass(button, params[`${buttonType}ButtonClass`]); + } + + /** + * @param {SweetAlert2} instance + * @param {SweetAlertOptions} params + */ + const renderCloseButton = (instance, params) => { + const closeButton = getCloseButton(); + setInnerHtml(closeButton, params.closeButtonHtml); + + // Custom class + applyCustomClass(closeButton, params, 'closeButton'); + toggle(closeButton, params.showCloseButton); + closeButton.setAttribute('aria-label', params.closeButtonAriaLabel); + }; + + /** + * @param {SweetAlert2} instance + * @param {SweetAlertOptions} params + */ + const renderContainer = (instance, params) => { + const container = getContainer(); + if (!container) { + return; + } + handleBackdropParam(container, params.backdrop); + handlePositionParam(container, params.position); + handleGrowParam(container, params.grow); + + // Custom class + applyCustomClass(container, params, 'container'); + }; + + /** + * @param {HTMLElement} container + * @param {SweetAlertOptions['backdrop']} backdrop + */ + function handleBackdropParam(container, backdrop) { + if (typeof backdrop === 'string') { + container.style.background = backdrop; + } else if (!backdrop) { + addClass([document.documentElement, document.body], swalClasses['no-backdrop']); + } + } + + /** + * @param {HTMLElement} container + * @param {SweetAlertOptions['position']} position + */ + function handlePositionParam(container, position) { + if (position in swalClasses) { + addClass(container, swalClasses[position]); + } else { + warn('The "position" parameter is not valid, defaulting to "center"'); + addClass(container, swalClasses.center); + } + } + + /** + * @param {HTMLElement} container + * @param {SweetAlertOptions['grow']} grow + */ + function handleGrowParam(container, grow) { + if (grow && typeof grow === 'string') { + const growClass = `grow-${grow}`; + if (growClass in swalClasses) { + addClass(container, swalClasses[growClass]); + } + } + } + + /// + + /** @type {InputClass[]} */ + const inputClasses = ['input', 'file', 'range', 'select', 'radio', 'checkbox', 'textarea']; + + /** + * @param {SweetAlert2} instance + * @param {SweetAlertOptions} params + */ + const renderInput = (instance, params) => { + const popup = getPopup(); + const innerParams = privateProps.innerParams.get(instance); + const rerender = !innerParams || params.input !== innerParams.input; + inputClasses.forEach(inputClass => { + const inputContainer = getDirectChildByClass(popup, swalClasses[inputClass]); + + // set attributes + setAttributes(inputClass, params.inputAttributes); + + // set class + inputContainer.className = swalClasses[inputClass]; + if (rerender) { + hide(inputContainer); + } + }); + if (params.input) { + if (rerender) { + showInput(params); + } + // set custom class + setCustomClass(params); + } + }; + + /** + * @param {SweetAlertOptions} params + */ + const showInput = params => { + if (!renderInputType[params.input]) { + error(`Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "${params.input}"`); + return; + } + const inputContainer = getInputContainer(params.input); + const input = renderInputType[params.input](inputContainer, params); + show(inputContainer); + + // input autofocus + setTimeout(() => { + focusInput(input); + }); + }; + + /** + * @param {HTMLInputElement} input + */ + const removeAttributes = input => { + for (let i = 0; i < input.attributes.length; i++) { + const attrName = input.attributes[i].name; + if (!['type', 'value', 'style'].includes(attrName)) { + input.removeAttribute(attrName); + } + } + }; + + /** + * @param {InputClass} inputClass + * @param {SweetAlertOptions['inputAttributes']} inputAttributes + */ + const setAttributes = (inputClass, inputAttributes) => { + const input = getInput$1(getPopup(), inputClass); + if (!input) { + return; + } + removeAttributes(input); + for (const attr in inputAttributes) { + input.setAttribute(attr, inputAttributes[attr]); + } + }; + + /** + * @param {SweetAlertOptions} params + */ + const setCustomClass = params => { + const inputContainer = getInputContainer(params.input); + if (typeof params.customClass === 'object') { + addClass(inputContainer, params.customClass.input); + } + }; + + /** + * @param {HTMLInputElement | HTMLTextAreaElement} input + * @param {SweetAlertOptions} params + */ + const setInputPlaceholder = (input, params) => { + if (!input.placeholder || params.inputPlaceholder) { + input.placeholder = params.inputPlaceholder; + } + }; + + /** + * @param {Input} input + * @param {Input} prependTo + * @param {SweetAlertOptions} params + */ + const setInputLabel = (input, prependTo, params) => { + if (params.inputLabel) { + input.id = swalClasses.input; + const label = document.createElement('label'); + const labelClass = swalClasses['input-label']; + label.setAttribute('for', input.id); + label.className = labelClass; + if (typeof params.customClass === 'object') { + addClass(label, params.customClass.inputLabel); + } + label.innerText = params.inputLabel; + prependTo.insertAdjacentElement('beforebegin', label); + } + }; + + /** + * @param {SweetAlertOptions['input']} inputType + * @returns {HTMLElement} + */ + const getInputContainer = inputType => { + return getDirectChildByClass(getPopup(), swalClasses[inputType] || swalClasses.input); + }; + + /** + * @param {HTMLInputElement | HTMLOutputElement | HTMLTextAreaElement} input + * @param {SweetAlertOptions['inputValue']} inputValue + */ + const checkAndSetInputValue = (input, inputValue) => { + if (['string', 'number'].includes(typeof inputValue)) { + input.value = `${inputValue}`; + } else if (!isPromise(inputValue)) { + warn(`Unexpected type of inputValue! Expected "string", "number" or "Promise", got "${typeof inputValue}"`); + } + }; + + /** @type {Record Input>} */ + const renderInputType = {}; + + /** + * @param {HTMLInputElement} input + * @param {SweetAlertOptions} params + * @returns {HTMLInputElement} + */ + renderInputType.text = renderInputType.email = renderInputType.password = renderInputType.number = renderInputType.tel = renderInputType.url = (input, params) => { + checkAndSetInputValue(input, params.inputValue); + setInputLabel(input, input, params); + setInputPlaceholder(input, params); + input.type = params.input; + return input; + }; + + /** + * @param {HTMLInputElement} input + * @param {SweetAlertOptions} params + * @returns {HTMLInputElement} + */ + renderInputType.file = (input, params) => { + setInputLabel(input, input, params); + setInputPlaceholder(input, params); + return input; + }; + + /** + * @param {HTMLInputElement} range + * @param {SweetAlertOptions} params + * @returns {HTMLInputElement} + */ + renderInputType.range = (range, params) => { + const rangeInput = range.querySelector('input'); + const rangeOutput = range.querySelector('output'); + checkAndSetInputValue(rangeInput, params.inputValue); + rangeInput.type = params.input; + checkAndSetInputValue(rangeOutput, params.inputValue); + setInputLabel(rangeInput, range, params); + return range; + }; + + /** + * @param {HTMLSelectElement} select + * @param {SweetAlertOptions} params + * @returns {HTMLSelectElement} + */ + renderInputType.select = (select, params) => { + select.textContent = ''; + if (params.inputPlaceholder) { + const placeholder = document.createElement('option'); + setInnerHtml(placeholder, params.inputPlaceholder); + placeholder.value = ''; + placeholder.disabled = true; + placeholder.selected = true; + select.appendChild(placeholder); + } + setInputLabel(select, select, params); + return select; + }; + + /** + * @param {HTMLInputElement} radio + * @returns {HTMLInputElement} + */ + renderInputType.radio = radio => { + radio.textContent = ''; + return radio; + }; + + /** + * @param {HTMLLabelElement} checkboxContainer + * @param {SweetAlertOptions} params + * @returns {HTMLInputElement} + */ + renderInputType.checkbox = (checkboxContainer, params) => { + const checkbox = getInput$1(getPopup(), 'checkbox'); + checkbox.value = '1'; + checkbox.id = swalClasses.checkbox; + checkbox.checked = Boolean(params.inputValue); + const label = checkboxContainer.querySelector('span'); + setInnerHtml(label, params.inputPlaceholder); + return checkbox; + }; + + /** + * @param {HTMLTextAreaElement} textarea + * @param {SweetAlertOptions} params + * @returns {HTMLTextAreaElement} + */ + renderInputType.textarea = (textarea, params) => { + checkAndSetInputValue(textarea, params.inputValue); + setInputPlaceholder(textarea, params); + setInputLabel(textarea, textarea, params); + + /** + * @param {HTMLElement} el + * @returns {number} + */ + const getMargin = el => parseInt(window.getComputedStyle(el).marginLeft) + parseInt(window.getComputedStyle(el).marginRight); + + // https://github.com/sweetalert2/sweetalert2/issues/2291 + setTimeout(() => { + // https://github.com/sweetalert2/sweetalert2/issues/1699 + if ('MutationObserver' in window) { + const initialPopupWidth = parseInt(window.getComputedStyle(getPopup()).width); + const textareaResizeHandler = () => { + const textareaWidth = textarea.offsetWidth + getMargin(textarea); + if (textareaWidth > initialPopupWidth) { + getPopup().style.width = `${textareaWidth}px`; + } else { + getPopup().style.width = null; + } + }; + new MutationObserver(textareaResizeHandler).observe(textarea, { + attributes: true, + attributeFilter: ['style'] + }); + } + }); + return textarea; + }; + + /** + * @param {SweetAlert2} instance + * @param {SweetAlertOptions} params + */ + const renderContent = (instance, params) => { + const htmlContainer = getHtmlContainer(); + applyCustomClass(htmlContainer, params, 'htmlContainer'); + + // Content as HTML + if (params.html) { + parseHtmlToContainer(params.html, htmlContainer); + show(htmlContainer, 'block'); + } + + // Content as plain text + else if (params.text) { + htmlContainer.textContent = params.text; + show(htmlContainer, 'block'); + } + + // No content + else { + hide(htmlContainer); + } + renderInput(instance, params); + }; + + /** + * @param {SweetAlert2} instance + * @param {SweetAlertOptions} params + */ + const renderFooter = (instance, params) => { + const footer = getFooter(); + toggle(footer, params.footer); + if (params.footer) { + parseHtmlToContainer(params.footer, footer); + } + + // Custom class + applyCustomClass(footer, params, 'footer'); + }; + + /** + * @param {SweetAlert2} instance + * @param {SweetAlertOptions} params + */ + const renderIcon = (instance, params) => { + const innerParams = privateProps.innerParams.get(instance); + const icon = getIcon(); + + // if the given icon already rendered, apply the styling without re-rendering the icon + if (innerParams && params.icon === innerParams.icon) { + // Custom or default content + setContent(icon, params); + applyStyles(icon, params); + return; + } + if (!params.icon && !params.iconHtml) { + hide(icon); + return; + } + if (params.icon && Object.keys(iconTypes).indexOf(params.icon) === -1) { + error(`Unknown icon! Expected "success", "error", "warning", "info" or "question", got "${params.icon}"`); + hide(icon); + return; + } + show(icon); + + // Custom or default content + setContent(icon, params); + applyStyles(icon, params); + + // Animate icon + addClass(icon, params.showClass.icon); + }; + + /** + * @param {HTMLElement} icon + * @param {SweetAlertOptions} params + */ + const applyStyles = (icon, params) => { + for (const iconType in iconTypes) { + if (params.icon !== iconType) { + removeClass(icon, iconTypes[iconType]); + } + } + addClass(icon, iconTypes[params.icon]); + + // Icon color + setColor(icon, params); + + // Success icon background color + adjustSuccessIconBackgroundColor(); + + // Custom class + applyCustomClass(icon, params, 'icon'); + }; + + // Adjust success icon background color to match the popup background color + const adjustSuccessIconBackgroundColor = () => { + const popup = getPopup(); + const popupBackgroundColor = window.getComputedStyle(popup).getPropertyValue('background-color'); + /** @type {NodeListOf} */ + const successIconParts = popup.querySelectorAll('[class^=swal2-success-circular-line], .swal2-success-fix'); + for (let i = 0; i < successIconParts.length; i++) { + successIconParts[i].style.backgroundColor = popupBackgroundColor; + } + }; + const successIconHtml = ` +
                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                            +`; + const errorIconHtml = ` + + + + +`; + + /** + * @param {HTMLElement} icon + * @param {SweetAlertOptions} params + */ + const setContent = (icon, params) => { + let oldContent = icon.innerHTML; + let newContent; + if (params.iconHtml) { + newContent = iconContent(params.iconHtml); + } else if (params.icon === 'success') { + newContent = successIconHtml; + oldContent = oldContent.replace(/ style=".*?"/g, ''); // undo adjustSuccessIconBackgroundColor() + } else if (params.icon === 'error') { + newContent = errorIconHtml; + } else { + const defaultIconHtml = { + question: '?', + warning: '!', + info: 'i' + }; + newContent = iconContent(defaultIconHtml[params.icon]); + } + if (oldContent.trim() !== newContent.trim()) { + setInnerHtml(icon, newContent); + } + }; + + /** + * @param {HTMLElement} icon + * @param {SweetAlertOptions} params + */ + const setColor = (icon, params) => { + if (!params.iconColor) { + return; + } + icon.style.color = params.iconColor; + icon.style.borderColor = params.iconColor; + for (const sel of ['.swal2-success-line-tip', '.swal2-success-line-long', '.swal2-x-mark-line-left', '.swal2-x-mark-line-right']) { + setStyle(icon, sel, 'backgroundColor', params.iconColor); + } + setStyle(icon, '.swal2-success-ring', 'borderColor', params.iconColor); + }; + + /** + * @param {string} content + * @returns {string} + */ + const iconContent = content => `
                                                                                                                                                                                                                                                                                                                                            ${content}
                                                                                                                                                                                                                                                                                                                                            `; + + /** + * @param {SweetAlert2} instance + * @param {SweetAlertOptions} params + */ + const renderImage = (instance, params) => { + const image = getImage(); + if (!params.imageUrl) { + hide(image); + return; + } + show(image, ''); + + // Src, alt + image.setAttribute('src', params.imageUrl); + image.setAttribute('alt', params.imageAlt); + + // Width, height + applyNumericalStyle(image, 'width', params.imageWidth); + applyNumericalStyle(image, 'height', params.imageHeight); + + // Class + image.className = swalClasses.image; + applyCustomClass(image, params, 'image'); + }; + + /** + * @param {SweetAlert2} instance + * @param {SweetAlertOptions} params + */ + const renderPopup = (instance, params) => { + const container = getContainer(); + const popup = getPopup(); + + // Width + // https://github.com/sweetalert2/sweetalert2/issues/2170 + if (params.toast) { + applyNumericalStyle(container, 'width', params.width); + popup.style.width = '100%'; + popup.insertBefore(getLoader(), getIcon()); + } else { + applyNumericalStyle(popup, 'width', params.width); + } + + // Padding + applyNumericalStyle(popup, 'padding', params.padding); + + // Color + if (params.color) { + popup.style.color = params.color; + } + + // Background + if (params.background) { + popup.style.background = params.background; + } + hide(getValidationMessage()); + + // Classes + addClasses$1(popup, params); + }; + + /** + * @param {HTMLElement} popup + * @param {SweetAlertOptions} params + */ + const addClasses$1 = (popup, params) => { + // Default Class + showClass when updating Swal.update({}) + popup.className = `${swalClasses.popup} ${isVisible$1(popup) ? params.showClass.popup : ''}`; + if (params.toast) { + addClass([document.documentElement, document.body], swalClasses['toast-shown']); + addClass(popup, swalClasses.toast); + } else { + addClass(popup, swalClasses.modal); + } + + // Custom class + applyCustomClass(popup, params, 'popup'); + if (typeof params.customClass === 'string') { + addClass(popup, params.customClass); + } + + // Icon class (#1842) + if (params.icon) { + addClass(popup, swalClasses[`icon-${params.icon}`]); + } + }; + + /** + * @param {SweetAlert2} instance + * @param {SweetAlertOptions} params + */ + const renderProgressSteps = (instance, params) => { + const progressStepsContainer = getProgressSteps$1(); + if (!params.progressSteps || params.progressSteps.length === 0) { + hide(progressStepsContainer); + return; + } + show(progressStepsContainer); + progressStepsContainer.textContent = ''; + if (params.currentProgressStep >= params.progressSteps.length) { + warn('Invalid currentProgressStep parameter, it should be less than progressSteps.length ' + '(currentProgressStep like JS arrays starts from 0)'); + } + params.progressSteps.forEach((step, index) => { + const stepEl = createStepElement(step); + progressStepsContainer.appendChild(stepEl); + if (index === params.currentProgressStep) { + addClass(stepEl, swalClasses['active-progress-step']); + } + if (index !== params.progressSteps.length - 1) { + const lineEl = createLineElement(params); + progressStepsContainer.appendChild(lineEl); + } + }); + }; + + /** + * @param {string} step + * @returns {HTMLLIElement} + */ + const createStepElement = step => { + const stepEl = document.createElement('li'); + addClass(stepEl, swalClasses['progress-step']); + setInnerHtml(stepEl, step); + return stepEl; + }; + + /** + * @param {SweetAlertOptions} params + * @returns {HTMLLIElement} + */ + const createLineElement = params => { + const lineEl = document.createElement('li'); + addClass(lineEl, swalClasses['progress-step-line']); + if (params.progressStepsDistance) { + applyNumericalStyle(lineEl, 'width', params.progressStepsDistance); + } + return lineEl; + }; + + /** + * @param {SweetAlert2} instance + * @param {SweetAlertOptions} params + */ + const renderTitle = (instance, params) => { + const title = getTitle(); + toggle(title, params.title || params.titleText, 'block'); + if (params.title) { + parseHtmlToContainer(params.title, title); + } + if (params.titleText) { + title.innerText = params.titleText; + } + + // Custom class + applyCustomClass(title, params, 'title'); + }; + + /** + * @param {SweetAlert2} instance + * @param {SweetAlertOptions} params + */ + const render = (instance, params) => { + renderPopup(instance, params); + renderContainer(instance, params); + renderProgressSteps(instance, params); + renderIcon(instance, params); + renderImage(instance, params); + renderTitle(instance, params); + renderCloseButton(instance, params); + renderContent(instance, params); + renderActions(instance, params); + renderFooter(instance, params); + if (typeof params.didRender === 'function') { + params.didRender(getPopup()); + } + }; + + /** + * Hides loader and shows back the button which was hidden by .showLoading() + */ + function hideLoading() { + // do nothing if popup is closed + const innerParams = privateProps.innerParams.get(this); + if (!innerParams) { + return; + } + const domCache = privateProps.domCache.get(this); + hide(domCache.loader); + if (isToast()) { + if (innerParams.icon) { + show(getIcon()); + } + } else { + showRelatedButton(domCache); + } + removeClass([domCache.popup, domCache.actions], swalClasses.loading); + domCache.popup.removeAttribute('aria-busy'); + domCache.popup.removeAttribute('data-loading'); + domCache.confirmButton.disabled = false; + domCache.denyButton.disabled = false; + domCache.cancelButton.disabled = false; + } + const showRelatedButton = domCache => { + const buttonToReplace = domCache.popup.getElementsByClassName(domCache.loader.getAttribute('data-button-to-replace')); + if (buttonToReplace.length) { + show(buttonToReplace[0], 'inline-block'); + } else if (allButtonsAreHidden()) { + hide(domCache.actions); + } + }; + + /** + * Gets the input DOM node, this method works with input parameter. + * + * @param {SweetAlert2} instance + * @returns {HTMLElement | null} + */ + function getInput(instance) { + const innerParams = privateProps.innerParams.get(instance || this); + const domCache = privateProps.domCache.get(instance || this); + if (!domCache) { + return null; + } + return getInput$1(domCache.popup, innerParams.input); + } + + /* + * Global function to determine if SweetAlert2 popup is shown + */ + const isVisible = () => { + return isVisible$1(getPopup()); + }; + + /* + * Global function to click 'Confirm' button + */ + const clickConfirm = () => getConfirmButton() && getConfirmButton().click(); + + /* + * Global function to click 'Deny' button + */ + const clickDeny = () => getDenyButton() && getDenyButton().click(); + + /* + * Global function to click 'Cancel' button + */ + const clickCancel = () => getCancelButton() && getCancelButton().click(); + + const DismissReason = Object.freeze({ + cancel: 'cancel', + backdrop: 'backdrop', + close: 'close', + esc: 'esc', + timer: 'timer' + }); + + /** + * @param {GlobalState} globalState + */ + const removeKeydownHandler = globalState => { + if (globalState.keydownTarget && globalState.keydownHandlerAdded) { + globalState.keydownTarget.removeEventListener('keydown', globalState.keydownHandler, { + capture: globalState.keydownListenerCapture + }); + globalState.keydownHandlerAdded = false; + } + }; + + /** + * @param {SweetAlert2} instance + * @param {GlobalState} globalState + * @param {SweetAlertOptions} innerParams + * @param {*} dismissWith + */ + const addKeydownHandler = (instance, globalState, innerParams, dismissWith) => { + removeKeydownHandler(globalState); + if (!innerParams.toast) { + globalState.keydownHandler = e => keydownHandler(instance, e, dismissWith); + globalState.keydownTarget = innerParams.keydownListenerCapture ? window : getPopup(); + globalState.keydownListenerCapture = innerParams.keydownListenerCapture; + globalState.keydownTarget.addEventListener('keydown', globalState.keydownHandler, { + capture: globalState.keydownListenerCapture + }); + globalState.keydownHandlerAdded = true; + } + }; + + /** + * @param {SweetAlertOptions} innerParams + * @param {number} index + * @param {number} increment + */ + const setFocus = (innerParams, index, increment) => { + const focusableElements = getFocusableElements(); + // search for visible elements and select the next possible match + if (focusableElements.length) { + index = index + increment; + + // rollover to first item + if (index === focusableElements.length) { + index = 0; + + // go to last item + } else if (index === -1) { + index = focusableElements.length - 1; + } + return focusableElements[index].focus(); + } + // no visible focusable elements, focus the popup + getPopup().focus(); + }; + const arrowKeysNextButton = ['ArrowRight', 'ArrowDown']; + const arrowKeysPreviousButton = ['ArrowLeft', 'ArrowUp']; + + /** + * @param {SweetAlert2} instance + * @param {KeyboardEvent} e + * @param {function} dismissWith + */ + const keydownHandler = (instance, e, dismissWith) => { + const innerParams = privateProps.innerParams.get(instance); + if (!innerParams) { + return; // This instance has already been destroyed + } + + // Ignore keydown during IME composition + // https://developer.mozilla.org/en-US/docs/Web/API/Document/keydown_event#ignoring_keydown_during_ime_composition + // https://github.com/sweetalert2/sweetalert2/issues/720 + // https://github.com/sweetalert2/sweetalert2/issues/2406 + if (e.isComposing || e.keyCode === 229) { + return; + } + if (innerParams.stopKeydownPropagation) { + e.stopPropagation(); + } + + // ENTER + if (e.key === 'Enter') { + handleEnter(instance, e, innerParams); + } + + // TAB + else if (e.key === 'Tab') { + handleTab(e, innerParams); + } + + // ARROWS - switch focus between buttons + else if ([...arrowKeysNextButton, ...arrowKeysPreviousButton].includes(e.key)) { + handleArrows(e.key); + } + + // ESC + else if (e.key === 'Escape') { + handleEsc(e, innerParams, dismissWith); + } + }; + + /** + * @param {SweetAlert2} instance + * @param {KeyboardEvent} e + * @param {SweetAlertOptions} innerParams + */ + const handleEnter = (instance, e, innerParams) => { + // https://github.com/sweetalert2/sweetalert2/issues/2386 + if (!callIfFunction(innerParams.allowEnterKey)) { + return; + } + if (e.target && instance.getInput() && e.target instanceof HTMLElement && e.target.outerHTML === instance.getInput().outerHTML) { + if (['textarea', 'file'].includes(innerParams.input)) { + return; // do not submit + } + + clickConfirm(); + e.preventDefault(); + } + }; + + /** + * @param {KeyboardEvent} e + * @param {SweetAlertOptions} innerParams + */ + const handleTab = (e, innerParams) => { + const targetElement = e.target; + const focusableElements = getFocusableElements(); + let btnIndex = -1; + for (let i = 0; i < focusableElements.length; i++) { + if (targetElement === focusableElements[i]) { + btnIndex = i; + break; + } + } + + // Cycle to the next button + if (!e.shiftKey) { + setFocus(innerParams, btnIndex, 1); + } + + // Cycle to the prev button + else { + setFocus(innerParams, btnIndex, -1); + } + e.stopPropagation(); + e.preventDefault(); + }; + + /** + * @param {string} key + */ + const handleArrows = key => { + const confirmButton = getConfirmButton(); + const denyButton = getDenyButton(); + const cancelButton = getCancelButton(); + if (document.activeElement instanceof HTMLElement && ![confirmButton, denyButton, cancelButton].includes(document.activeElement)) { + return; + } + const sibling = arrowKeysNextButton.includes(key) ? 'nextElementSibling' : 'previousElementSibling'; + let buttonToFocus = document.activeElement; + for (let i = 0; i < getActions().children.length; i++) { + buttonToFocus = buttonToFocus[sibling]; + if (!buttonToFocus) { + return; + } + if (buttonToFocus instanceof HTMLButtonElement && isVisible$1(buttonToFocus)) { + break; + } + } + if (buttonToFocus instanceof HTMLButtonElement) { + buttonToFocus.focus(); + } + }; + + /** + * @param {KeyboardEvent} e + * @param {SweetAlertOptions} innerParams + * @param {function} dismissWith + */ + const handleEsc = (e, innerParams, dismissWith) => { + if (callIfFunction(innerParams.allowEscapeKey)) { + e.preventDefault(); + dismissWith(DismissReason.esc); + } + }; + + /** + * This module contains `WeakMap`s for each effectively-"private property" that a `Swal` has. + * For example, to set the private property "foo" of `this` to "bar", you can `privateProps.foo.set(this, 'bar')` + * This is the approach that Babel will probably take to implement private methods/fields + * https://github.com/tc39/proposal-private-methods + * https://github.com/babel/babel/pull/7555 + * Once we have the changes from that PR in Babel, and our core class fits reasonable in *one module* + * then we can use that language feature. + */ + + var privateMethods = { + swalPromiseResolve: new WeakMap(), + swalPromiseReject: new WeakMap() + }; + + // From https://developer.paciellogroup.com/blog/2018/06/the-current-state-of-modal-dialog-accessibility/ + // Adding aria-hidden="true" to elements outside of the active modal dialog ensures that + // elements not within the active modal dialog will not be surfaced if a user opens a screen + // reader’s list of elements (headings, form controls, landmarks, etc.) in the document. + + const setAriaHidden = () => { + const bodyChildren = Array.from(document.body.children); + bodyChildren.forEach(el => { + if (el === getContainer() || el.contains(getContainer())) { + return; + } + if (el.hasAttribute('aria-hidden')) { + el.setAttribute('data-previous-aria-hidden', el.getAttribute('aria-hidden')); + } + el.setAttribute('aria-hidden', 'true'); + }); + }; + const unsetAriaHidden = () => { + const bodyChildren = Array.from(document.body.children); + bodyChildren.forEach(el => { + if (el.hasAttribute('data-previous-aria-hidden')) { + el.setAttribute('aria-hidden', el.getAttribute('data-previous-aria-hidden')); + el.removeAttribute('data-previous-aria-hidden'); + } else { + el.removeAttribute('aria-hidden'); + } + }); + }; + + /* istanbul ignore file */ + + // Fix iOS scrolling http://stackoverflow.com/q/39626302 + + const iOSfix = () => { + const iOS = + // @ts-ignore + /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream || navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1; + if (iOS && !hasClass(document.body, swalClasses.iosfix)) { + const offset = document.body.scrollTop; + document.body.style.top = `${offset * -1}px`; + addClass(document.body, swalClasses.iosfix); + lockBodyScroll(); + addBottomPaddingForTallPopups(); + } + }; + + /** + * https://github.com/sweetalert2/sweetalert2/issues/1948 + */ + const addBottomPaddingForTallPopups = () => { + const ua = navigator.userAgent; + const iOS = !!ua.match(/iPad/i) || !!ua.match(/iPhone/i); + const webkit = !!ua.match(/WebKit/i); + const iOSSafari = iOS && webkit && !ua.match(/CriOS/i); + if (iOSSafari) { + const bottomPanelHeight = 44; + if (getPopup().scrollHeight > window.innerHeight - bottomPanelHeight) { + getContainer().style.paddingBottom = `${bottomPanelHeight}px`; + } + } + }; + + /** + * https://github.com/sweetalert2/sweetalert2/issues/1246 + */ + const lockBodyScroll = () => { + const container = getContainer(); + let preventTouchMove; + /** + * @param {TouchEvent} e + */ + container.ontouchstart = e => { + preventTouchMove = shouldPreventTouchMove(e); + }; + /** + * @param {TouchEvent} e + */ + container.ontouchmove = e => { + if (preventTouchMove) { + e.preventDefault(); + e.stopPropagation(); + } + }; + }; + + /** + * @param {TouchEvent} event + * @returns {boolean} + */ + const shouldPreventTouchMove = event => { + const target = event.target; + const container = getContainer(); + if (isStylus(event) || isZoom(event)) { + return false; + } + if (target === container) { + return true; + } + if (!isScrollable(container) && target instanceof HTMLElement && target.tagName !== 'INPUT' && + // #1603 + target.tagName !== 'TEXTAREA' && + // #2266 + !(isScrollable(getHtmlContainer()) && + // #1944 + getHtmlContainer().contains(target))) { + return true; + } + return false; + }; + + /** + * https://github.com/sweetalert2/sweetalert2/issues/1786 + * + * @param {*} event + * @returns {boolean} + */ + const isStylus = event => { + return event.touches && event.touches.length && event.touches[0].touchType === 'stylus'; + }; + + /** + * https://github.com/sweetalert2/sweetalert2/issues/1891 + * + * @param {TouchEvent} event + * @returns {boolean} + */ + const isZoom = event => { + return event.touches && event.touches.length > 1; + }; + const undoIOSfix = () => { + if (hasClass(document.body, swalClasses.iosfix)) { + const offset = parseInt(document.body.style.top, 10); + removeClass(document.body, swalClasses.iosfix); + document.body.style.top = ''; + document.body.scrollTop = offset * -1; + } + }; + + const fixScrollbar = () => { + // for queues, do not do this more than once + if (states.previousBodyPadding !== null) { + return; + } + // if the body has overflow + if (document.body.scrollHeight > window.innerHeight) { + // add padding so the content doesn't shift after removal of scrollbar + states.previousBodyPadding = parseInt(window.getComputedStyle(document.body).getPropertyValue('padding-right')); + document.body.style.paddingRight = `${states.previousBodyPadding + measureScrollbar()}px`; + } + }; + const undoScrollbar = () => { + if (states.previousBodyPadding !== null) { + document.body.style.paddingRight = `${states.previousBodyPadding}px`; + states.previousBodyPadding = null; + } + }; + + /* + * Instance method to close sweetAlert + */ + + function removePopupAndResetState(instance, container, returnFocus, didClose) { + if (isToast()) { + triggerDidCloseAndDispose(instance, didClose); + } else { + restoreActiveElement(returnFocus).then(() => triggerDidCloseAndDispose(instance, didClose)); + removeKeydownHandler(globalState); + } + const isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent); + // workaround for #2088 + // for some reason removing the container in Safari will scroll the document to bottom + if (isSafari) { + container.setAttribute('style', 'display:none !important'); + container.removeAttribute('class'); + container.innerHTML = ''; + } else { + container.remove(); + } + if (isModal()) { + undoScrollbar(); + undoIOSfix(); + unsetAriaHidden(); + } + removeBodyClasses(); + } + function removeBodyClasses() { + removeClass([document.documentElement, document.body], [swalClasses.shown, swalClasses['height-auto'], swalClasses['no-backdrop'], swalClasses['toast-shown']]); + } + function close(resolveValue) { + resolveValue = prepareResolveValue(resolveValue); + const swalPromiseResolve = privateMethods.swalPromiseResolve.get(this); + const didClose = triggerClosePopup(this); + if (this.isAwaitingPromise()) { + // A swal awaiting for a promise (after a click on Confirm or Deny) cannot be dismissed anymore #2335 + if (!resolveValue.isDismissed) { + handleAwaitingPromise(this); + swalPromiseResolve(resolveValue); + } + } else if (didClose) { + // Resolve Swal promise + swalPromiseResolve(resolveValue); + } + } + function isAwaitingPromise() { + return !!privateProps.awaitingPromise.get(this); + } + const triggerClosePopup = instance => { + const popup = getPopup(); + if (!popup) { + return false; + } + const innerParams = privateProps.innerParams.get(instance); + if (!innerParams || hasClass(popup, innerParams.hideClass.popup)) { + return false; + } + removeClass(popup, innerParams.showClass.popup); + addClass(popup, innerParams.hideClass.popup); + const backdrop = getContainer(); + removeClass(backdrop, innerParams.showClass.backdrop); + addClass(backdrop, innerParams.hideClass.backdrop); + handlePopupAnimation(instance, popup, innerParams); + return true; + }; + function rejectPromise(error) { + const rejectPromise = privateMethods.swalPromiseReject.get(this); + handleAwaitingPromise(this); + if (rejectPromise) { + // Reject Swal promise + rejectPromise(error); + } + } + const handleAwaitingPromise = instance => { + if (instance.isAwaitingPromise()) { + privateProps.awaitingPromise.delete(instance); + // The instance might have been previously partly destroyed, we must resume the destroy process in this case #2335 + if (!privateProps.innerParams.get(instance)) { + instance._destroy(); + } + } + }; + const prepareResolveValue = resolveValue => { + // When user calls Swal.close() + if (typeof resolveValue === 'undefined') { + return { + isConfirmed: false, + isDenied: false, + isDismissed: true + }; + } + return Object.assign({ + isConfirmed: false, + isDenied: false, + isDismissed: false + }, resolveValue); + }; + const handlePopupAnimation = (instance, popup, innerParams) => { + const container = getContainer(); + // If animation is supported, animate + const animationIsSupported = animationEndEvent && hasCssAnimation(popup); + if (typeof innerParams.willClose === 'function') { + innerParams.willClose(popup); + } + if (animationIsSupported) { + animatePopup(instance, popup, container, innerParams.returnFocus, innerParams.didClose); + } else { + // Otherwise, remove immediately + removePopupAndResetState(instance, container, innerParams.returnFocus, innerParams.didClose); + } + }; + const animatePopup = (instance, popup, container, returnFocus, didClose) => { + globalState.swalCloseEventFinishedCallback = removePopupAndResetState.bind(null, instance, container, returnFocus, didClose); + popup.addEventListener(animationEndEvent, function (e) { + if (e.target === popup) { + globalState.swalCloseEventFinishedCallback(); + delete globalState.swalCloseEventFinishedCallback; + } + }); + }; + const triggerDidCloseAndDispose = (instance, didClose) => { + setTimeout(() => { + if (typeof didClose === 'function') { + didClose.bind(instance.params)(); + } + instance._destroy(); + }); + }; + + /** + * @param {SweetAlert2} instance + * @param {string[]} buttons + * @param {boolean} disabled + */ + function setButtonsDisabled(instance, buttons, disabled) { + const domCache = privateProps.domCache.get(instance); + buttons.forEach(button => { + domCache[button].disabled = disabled; + }); + } + + /** + * @param {HTMLInputElement} input + * @param {boolean} disabled + */ + function setInputDisabled(input, disabled) { + if (!input) { + return; + } + if (input.type === 'radio') { + const radiosContainer = input.parentNode.parentNode; + const radios = radiosContainer.querySelectorAll('input'); + for (let i = 0; i < radios.length; i++) { + radios[i].disabled = disabled; + } + } else { + input.disabled = disabled; + } + } + function enableButtons() { + setButtonsDisabled(this, ['confirmButton', 'denyButton', 'cancelButton'], false); + } + function disableButtons() { + setButtonsDisabled(this, ['confirmButton', 'denyButton', 'cancelButton'], true); + } + function enableInput() { + setInputDisabled(this.getInput(), false); + } + function disableInput() { + setInputDisabled(this.getInput(), true); + } + + // Show block with validation message + function showValidationMessage(error) { + const domCache = privateProps.domCache.get(this); + const params = privateProps.innerParams.get(this); + setInnerHtml(domCache.validationMessage, error); + domCache.validationMessage.className = swalClasses['validation-message']; + if (params.customClass && params.customClass.validationMessage) { + addClass(domCache.validationMessage, params.customClass.validationMessage); + } + show(domCache.validationMessage); + const input = this.getInput(); + if (input) { + input.setAttribute('aria-invalid', true); + input.setAttribute('aria-describedby', swalClasses['validation-message']); + focusInput(input); + addClass(input, swalClasses.inputerror); + } + } + + // Hide block with validation message + function resetValidationMessage() { + const domCache = privateProps.domCache.get(this); + if (domCache.validationMessage) { + hide(domCache.validationMessage); + } + const input = this.getInput(); + if (input) { + input.removeAttribute('aria-invalid'); + input.removeAttribute('aria-describedby'); + removeClass(input, swalClasses.inputerror); + } + } + + function getProgressSteps() { + const domCache = privateProps.domCache.get(this); + return domCache.progressSteps; + } + + const defaultParams = { + title: '', + titleText: '', + text: '', + html: '', + footer: '', + icon: undefined, + iconColor: undefined, + iconHtml: undefined, + template: undefined, + toast: false, + showClass: { + popup: 'swal2-show', + backdrop: 'swal2-backdrop-show', + icon: 'swal2-icon-show' + }, + hideClass: { + popup: 'swal2-hide', + backdrop: 'swal2-backdrop-hide', + icon: 'swal2-icon-hide' + }, + customClass: {}, + target: 'body', + color: undefined, + backdrop: true, + heightAuto: true, + allowOutsideClick: true, + allowEscapeKey: true, + allowEnterKey: true, + stopKeydownPropagation: true, + keydownListenerCapture: false, + showConfirmButton: true, + showDenyButton: false, + showCancelButton: false, + preConfirm: undefined, + preDeny: undefined, + confirmButtonText: 'OK', + confirmButtonAriaLabel: '', + confirmButtonColor: undefined, + denyButtonText: 'No', + denyButtonAriaLabel: '', + denyButtonColor: undefined, + cancelButtonText: 'Cancel', + cancelButtonAriaLabel: '', + cancelButtonColor: undefined, + buttonsStyling: true, + reverseButtons: false, + focusConfirm: true, + focusDeny: false, + focusCancel: false, + returnFocus: true, + showCloseButton: false, + closeButtonHtml: '×', + closeButtonAriaLabel: 'Close this dialog', + loaderHtml: '', + showLoaderOnConfirm: false, + showLoaderOnDeny: false, + imageUrl: undefined, + imageWidth: undefined, + imageHeight: undefined, + imageAlt: '', + timer: undefined, + timerProgressBar: false, + width: undefined, + padding: undefined, + background: undefined, + input: undefined, + inputPlaceholder: '', + inputLabel: '', + inputValue: '', + inputOptions: {}, + inputAutoTrim: true, + inputAttributes: {}, + inputValidator: undefined, + returnInputValueOnDeny: false, + validationMessage: undefined, + grow: false, + position: 'center', + progressSteps: [], + currentProgressStep: undefined, + progressStepsDistance: undefined, + willOpen: undefined, + didOpen: undefined, + didRender: undefined, + willClose: undefined, + didClose: undefined, + didDestroy: undefined, + scrollbarPadding: true + }; + const updatableParams = ['allowEscapeKey', 'allowOutsideClick', 'background', 'buttonsStyling', 'cancelButtonAriaLabel', 'cancelButtonColor', 'cancelButtonText', 'closeButtonAriaLabel', 'closeButtonHtml', 'color', 'confirmButtonAriaLabel', 'confirmButtonColor', 'confirmButtonText', 'currentProgressStep', 'customClass', 'denyButtonAriaLabel', 'denyButtonColor', 'denyButtonText', 'didClose', 'didDestroy', 'footer', 'hideClass', 'html', 'icon', 'iconColor', 'iconHtml', 'imageAlt', 'imageHeight', 'imageUrl', 'imageWidth', 'preConfirm', 'preDeny', 'progressSteps', 'returnFocus', 'reverseButtons', 'showCancelButton', 'showCloseButton', 'showConfirmButton', 'showDenyButton', 'text', 'title', 'titleText', 'willClose']; + const deprecatedParams = {}; + const toastIncompatibleParams = ['allowOutsideClick', 'allowEnterKey', 'backdrop', 'focusConfirm', 'focusDeny', 'focusCancel', 'returnFocus', 'heightAuto', 'keydownListenerCapture']; + + /** + * Is valid parameter + * + * @param {string} paramName + * @returns {boolean} + */ + const isValidParameter = paramName => { + return Object.prototype.hasOwnProperty.call(defaultParams, paramName); + }; + + /** + * Is valid parameter for Swal.update() method + * + * @param {string} paramName + * @returns {boolean} + */ + const isUpdatableParameter = paramName => { + return updatableParams.indexOf(paramName) !== -1; + }; + + /** + * Is deprecated parameter + * + * @param {string} paramName + * @returns {string | undefined} + */ + const isDeprecatedParameter = paramName => { + return deprecatedParams[paramName]; + }; + + /** + * @param {string} param + */ + const checkIfParamIsValid = param => { + if (!isValidParameter(param)) { + warn(`Unknown parameter "${param}"`); + } + }; + + /** + * @param {string} param + */ + const checkIfToastParamIsValid = param => { + if (toastIncompatibleParams.includes(param)) { + warn(`The parameter "${param}" is incompatible with toasts`); + } + }; + + /** + * @param {string} param + */ + const checkIfParamIsDeprecated = param => { + if (isDeprecatedParameter(param)) { + warnAboutDeprecation(param, isDeprecatedParameter(param)); + } + }; + + /** + * Show relevant warnings for given params + * + * @param {SweetAlertOptions} params + */ + const showWarningsForParams = params => { + if (params.backdrop === false && params.allowOutsideClick) { + warn('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'); + } + for (const param in params) { + checkIfParamIsValid(param); + if (params.toast) { + checkIfToastParamIsValid(param); + } + checkIfParamIsDeprecated(param); + } + }; + + /** + * Updates popup parameters. + */ + function update(params) { + const popup = getPopup(); + const innerParams = privateProps.innerParams.get(this); + if (!popup || hasClass(popup, innerParams.hideClass.popup)) { + return warn(`You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.`); + } + const validUpdatableParams = filterValidParams(params); + const updatedParams = Object.assign({}, innerParams, validUpdatableParams); + render(this, updatedParams); + privateProps.innerParams.set(this, updatedParams); + Object.defineProperties(this, { + params: { + value: Object.assign({}, this.params, params), + writable: false, + enumerable: true + } + }); + } + const filterValidParams = params => { + const validUpdatableParams = {}; + Object.keys(params).forEach(param => { + if (isUpdatableParameter(param)) { + validUpdatableParams[param] = params[param]; + } else { + warn(`Invalid parameter to update: ${param}`); + } + }); + return validUpdatableParams; + }; + + function _destroy() { + const domCache = privateProps.domCache.get(this); + const innerParams = privateProps.innerParams.get(this); + if (!innerParams) { + disposeWeakMaps(this); // The WeakMaps might have been partly destroyed, we must recall it to dispose any remaining WeakMaps #2335 + return; // This instance has already been destroyed + } + + // Check if there is another Swal closing + if (domCache.popup && globalState.swalCloseEventFinishedCallback) { + globalState.swalCloseEventFinishedCallback(); + delete globalState.swalCloseEventFinishedCallback; + } + if (typeof innerParams.didDestroy === 'function') { + innerParams.didDestroy(); + } + disposeSwal(this); + } + + /** + * @param {SweetAlert2} instance + */ + const disposeSwal = instance => { + disposeWeakMaps(instance); + // Unset this.params so GC will dispose it (#1569) + // @ts-ignore + delete instance.params; + // Unset globalState props so GC will dispose globalState (#1569) + delete globalState.keydownHandler; + delete globalState.keydownTarget; + // Unset currentInstance + delete globalState.currentInstance; + }; + + /** + * @param {SweetAlert2} instance + */ + const disposeWeakMaps = instance => { + // If the current instance is awaiting a promise result, we keep the privateMethods to call them once the promise result is retrieved #2335 + // @ts-ignore + if (instance.isAwaitingPromise()) { + unsetWeakMaps(privateProps, instance); + privateProps.awaitingPromise.set(instance, true); + } else { + unsetWeakMaps(privateMethods, instance); + unsetWeakMaps(privateProps, instance); + } + }; + + /** + * @param {object} obj + * @param {SweetAlert2} instance + */ + const unsetWeakMaps = (obj, instance) => { + for (const i in obj) { + obj[i].delete(instance); + } + }; + + var instanceMethods = /*#__PURE__*/Object.freeze({ + __proto__: null, + hideLoading: hideLoading, + disableLoading: hideLoading, + getInput: getInput, + close: close, + isAwaitingPromise: isAwaitingPromise, + rejectPromise: rejectPromise, + handleAwaitingPromise: handleAwaitingPromise, + closePopup: close, + closeModal: close, + closeToast: close, + enableButtons: enableButtons, + disableButtons: disableButtons, + enableInput: enableInput, + disableInput: disableInput, + showValidationMessage: showValidationMessage, + resetValidationMessage: resetValidationMessage, + getProgressSteps: getProgressSteps, + update: update, + _destroy: _destroy + }); + + /** + * Shows loader (spinner), this is useful with AJAX requests. + * By default the loader be shown instead of the "Confirm" button. + */ + const showLoading = buttonToReplace => { + let popup = getPopup(); + if (!popup) { + new Swal(); // eslint-disable-line no-new + } + + popup = getPopup(); + const loader = getLoader(); + if (isToast()) { + hide(getIcon()); + } else { + replaceButton(popup, buttonToReplace); + } + show(loader); + popup.setAttribute('data-loading', 'true'); + popup.setAttribute('aria-busy', 'true'); + popup.focus(); + }; + const replaceButton = (popup, buttonToReplace) => { + const actions = getActions(); + const loader = getLoader(); + if (!buttonToReplace && isVisible$1(getConfirmButton())) { + buttonToReplace = getConfirmButton(); + } + show(actions); + if (buttonToReplace) { + hide(buttonToReplace); + loader.setAttribute('data-button-to-replace', buttonToReplace.className); + } + loader.parentNode.insertBefore(loader, buttonToReplace); + addClass([popup, actions], swalClasses.loading); + }; + + /** + * @typedef { string | number | boolean } InputValue + */ + + /** + * @param {SweetAlert2} instance + * @param {SweetAlertOptions} params + */ + const handleInputOptionsAndValue = (instance, params) => { + if (params.input === 'select' || params.input === 'radio') { + handleInputOptions(instance, params); + } else if (['text', 'email', 'number', 'tel', 'textarea'].includes(params.input) && (hasToPromiseFn(params.inputValue) || isPromise(params.inputValue))) { + showLoading(getConfirmButton()); + handleInputValue(instance, params); + } + }; + + /** + * @param {SweetAlert2} instance + * @param {SweetAlertOptions} innerParams + * @returns {string | number | File | FileList | null} + */ + const getInputValue = (instance, innerParams) => { + const input = instance.getInput(); + if (!input) { + return null; + } + switch (innerParams.input) { + case 'checkbox': + return getCheckboxValue(input); + case 'radio': + return getRadioValue(input); + case 'file': + return getFileValue(input); + default: + return innerParams.inputAutoTrim ? input.value.trim() : input.value; + } + }; + + /** + * @param {HTMLInputElement} input + * @returns {number} + */ + const getCheckboxValue = input => input.checked ? 1 : 0; + + /** + * @param {HTMLInputElement} input + * @returns {string | null} + */ + const getRadioValue = input => input.checked ? input.value : null; + + /** + * @param {HTMLInputElement} input + * @returns {FileList | File | null} + */ + const getFileValue = input => input.files.length ? input.getAttribute('multiple') !== null ? input.files : input.files[0] : null; + + /** + * @param {SweetAlert2} instance + * @param {SweetAlertOptions} params + */ + const handleInputOptions = (instance, params) => { + const popup = getPopup(); + /** + * @param {Record} inputOptions + */ + const processInputOptions = inputOptions => { + populateInputOptions[params.input](popup, formatInputOptions(inputOptions), params); + }; + if (hasToPromiseFn(params.inputOptions) || isPromise(params.inputOptions)) { + showLoading(getConfirmButton()); + asPromise(params.inputOptions).then(inputOptions => { + instance.hideLoading(); + processInputOptions(inputOptions); + }); + } else if (typeof params.inputOptions === 'object') { + processInputOptions(params.inputOptions); + } else { + error(`Unexpected type of inputOptions! Expected object, Map or Promise, got ${typeof params.inputOptions}`); + } + }; + + /** + * @param {SweetAlert2} instance + * @param {SweetAlertOptions} params + */ + const handleInputValue = (instance, params) => { + const input = instance.getInput(); + hide(input); + asPromise(params.inputValue).then(inputValue => { + input.value = params.input === 'number' ? `${parseFloat(inputValue) || 0}` : `${inputValue}`; + show(input); + input.focus(); + instance.hideLoading(); + }).catch(err => { + error(`Error in inputValue promise: ${err}`); + input.value = ''; + show(input); + input.focus(); + instance.hideLoading(); + }); + }; + const populateInputOptions = { + /** + * @param {HTMLElement} popup + * @param {Record} inputOptions + * @param {SweetAlertOptions} params + */ + select: (popup, inputOptions, params) => { + const select = getDirectChildByClass(popup, swalClasses.select); + /** + * @param {HTMLElement} parent + * @param {string} optionLabel + * @param {string} optionValue + */ + const renderOption = (parent, optionLabel, optionValue) => { + const option = document.createElement('option'); + option.value = optionValue; + setInnerHtml(option, optionLabel); + option.selected = isSelected(optionValue, params.inputValue); + parent.appendChild(option); + }; + inputOptions.forEach(inputOption => { + const optionValue = inputOption[0]; + const optionLabel = inputOption[1]; + // spec: + // https://www.w3.org/TR/html401/interact/forms.html#h-17.6 + // "...all OPTGROUP elements must be specified directly within a SELECT element (i.e., groups may not be nested)..." + // check whether this is a + if (Array.isArray(optionLabel)) { + // if it is an array, then it is an + const optgroup = document.createElement('optgroup'); + optgroup.label = optionValue; + optgroup.disabled = false; // not configurable for now + select.appendChild(optgroup); + optionLabel.forEach(o => renderOption(optgroup, o[1], o[0])); + } else { + // case of